Yaskawa MotionWorks IEC Toolboxes User Manual

Browse online or download User Manual for Equipment Yaskawa MotionWorks IEC Toolboxes. Yaskawa MotionWorks IEC Toolboxes User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 592
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
MotionWorks IEC61131-3 Toolboxes
MotionWorks IEC Toolboxes Rev:
2013-09-013
Page view 0
1 2 3 4 5 6 ... 591 592

Summary of Contents

Page 1 - 2013-09-013

MotionWorks IEC61131-3 Toolboxes MotionWorks IEC Toolboxes Rev: 2013-09-013

Page 2

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 x Data Types for PLCopen Toolbox ...

Page 3

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 87 Application Example This example illustrates how the CamControl b

Page 4

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 88

Page 5

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 89

Page 6

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 90 CamGenerator This function can calculate the information requi

Page 7

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 91 VAR_OUTPUT B Done BOOL ERROR: Variable (Parameter bDescription_

Page 8

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 92 10039 Cam Segment 'Resolution' cannot be zero unless th

Page 9

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 93 Example 2

Page 10 - Table Of Contents

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 94 CamMaster_Lookup This function block provides the master posit

Page 11

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 95 not be set. This output is reset when execute goes low. B Busy

Page 12

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 96 CamShift_Control The CamShift_Control block manages cam shift

Page 13

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 xi Feed_To_Length ...

Page 14 - Toolbox Introduction

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 97 V UpdateUsePointer BOOL RegistrationData.UsePointer will be upd

Page 15 - Cam Toolbox

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 98 7282 Cam Shift Aborted. Verify that the CamShift_Control function

Page 16

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 99 Application Example This example illustrates how the CamControl

Page 17 - Function Blocks:

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 100

Page 18

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 101

Page 19 - Getting Started: Cam

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 102

Page 20 - Cam Revision History

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 103 CamSlave_FeedToLength CamSlave_FeedToLength was designed for

Page 21

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 104 B Slave AXIS_REF A logical reference to the slave axis V SlaveP

Page 22

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 105 ProductSize if left unconnected.) V MissedLatchLimit UINT The

Page 23

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 106 1) It will report an ErrorID 10021 if the user enters a non zero

Page 24

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 xii Data Type: MovingAverageArray ...

Page 25

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 107 match the required data size. Right click on the function block

Page 26 - Cam Curve Characteristics

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 108

Page 27

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 109 Application Example Consider a form fill and seal application a

Page 28 - 15

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 110 The film drive belt is the slave to a constantly running master

Page 29 - Cam Curve Types

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 111 A sample screen shot of data that needs to be entered for the s

Page 30 - • ParabolicVelocityBlend

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 112 slave cycle, the distance between two successive registrations i

Page 31 - Parabolic

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 113

Page 32 - ParabolicVelocityBlend

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 114 CamSlave_FeedToLength2 CamSlave_FeedToLength2 is an enhanceme

Page 33 - Simple Harmonic

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 115 Parameters * Parameter Data Type Description VAR_IN_OUT B Maste

Page 34 - Cycloidal

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 116 V SensorMinimum LREAL The earliest slave position where a sens

Page 35 - Modified Trapezoid

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 xiii Sweep ...

Page 36 - Modified Sine

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 117 ErrorID Meaning 0 No error 4370 The move could not be started be

Page 37 - Modified Constant Velocity

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 118

Page 38 - 25

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 119

Page 39 - Asymmetrical Cycloidal

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 120 CamSlave_Lookup This function block returns the slave positi

Page 40 - 27

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 121 the function block. This output is cleared when 'Execute&ap

Page 41 - Trapecloid

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 122

Page 42 - One Dwell Cycloidal_1

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 123 CamSlave_PullToLength CamSlave_PullToLength was designed for

Page 43 - One Dwell Cycloidal_2_3

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 124 * Parameter Data Type Description VAR_IN_OUT B Master AXIS_REF A

Page 44 - One Dwell Trapezoid_1

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 125 V SensorMaximum LREAL The latest slave position where a sensor

Page 45 - One Dwell Trapezoid

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 126 ErrorID Meaning 0 No error 10020 ProductSize cannot be less than

Page 46 - One Dwell Trapezoid_2_3

Cam Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 1 Yaskawa's IEC61131-3 Toolboxes: 2013-09-13 Toolbox Introduction Yaskawa has c

Page 47 - One Dwell Modified Sine

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 127 CamSlave_Recover The CamSlave_Recover block moves a Slave bac

Page 48 - One Dwell Trapecloid

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 128 corresponding to this MasterPosition value. B Velocity LREAL V

Page 49 - No Dwell Simple Harmonic

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 129 Notes After CamSlave_Recover is done, in most cases, the slave

Page 50 - No Dwell Modified Trapezoid

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 130 57620 The DataType connected to a function block parameter speci

Page 51 - 38

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 131

Page 52 - NC2 Curve

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 132

Page 53 - Tangent Matching

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 133 CamSlave_WindowCheck This function block is used by the CamS

Page 54 - 41

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 134 B Error BOOL Set high if error has occurred during the executi

Page 55 - Reverse Trapecloid

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 135 CamTableManager This function block serves as a FIFO buffer f

Page 56 - Double Harmonic

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 136 block. This output is cleared when 'Execute' or '

Page 57 - Reverse Double Harmonic

Cam Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 2 • Yaskawa toolbox contains functions that add basic functionality, such as PID Con

Page 58 - Tangent Blending

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 137 Application Example

Page 59 - Cubic Spline

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 138 CamTableUpdate This function block aids with cam file managem

Page 60

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 139 input, and reset if Done, CommandAborted, or Error is true. B E

Page 61

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 140 Example 2: Using Two Cam Tables • One will be actively running

Page 62

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 141 4377 File reading already in progress 4378 The function block is

Page 63

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 142 SlaveIndex_Lookup This function block returns the array inde

Page 64 - Data Types for Cam Toolbox

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 143 'Enable' input, and reset if Done, CommandAborted, or

Page 65

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 144

Page 66 - Cam Toolbox: DataTypes

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 145 SlaveRegistrationCheck This function block was designed for u

Page 67

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 146 VAR_INPUT Default B Enable BOOL The function will continue to

Page 68

Cam Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 3 Cam Toolbox Cam Toolbox Cam Toolbox contains functions which provide enhanced suppo

Page 69 - Data Type: BlendStruct

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 147 SensorMaximum. B Error BOOL Set high if error has occurred dur

Page 70 - Data Type: CamPairs

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 148 10086 MaxPosCorrection must be zero or positive, MaxNegCorrectio

Page 71 - Data Type: CamParameters

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 149 Communications Toolbox Communications Toolbox The Communicat

Page 72 - Data Type: CamSegmentArray

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 150 FTP Datatype Customization: If the file used with FTP needs t

Page 73 - Data Type: CamSegmentStruct

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 151 Getting Started: Communications Requirements for v201 To use

Page 74

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 152 Communications Revision History Current Version: ****** 2

Page 75 - Data Type: CamStruct

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 153 Data Types Data Type: SMTP_Data Data Type Declaration TYPE SM

Page 76 - Data Type: CamSyncStruct

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 154 smtpdata.SMTPDomain := 'smtp.example.com';

Page 77 - Data Type: Matrix

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 155 Data Type: FTP_Data Data Type Declaration TYPE FTP_Data : S

Page 78 - Data Type: SubMatrix

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 156 Data Type: CircularBufferStruct Data Structure used to manage

Page 79 - Data Type: TableIDStruct

Cam Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 4 CamStruct For use with Y_CamIn and Y_CamOut function blocks CamSyncStruct For use w

Page 80 - Data Type: UINTArray

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 157 Data Type: CommStruct For use with CommunicationChannel funct

Page 81 - Data Type: Y_MS_CAM_STRUCT

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 158 Data Type: DelimiterArray Supporting array for CircularBuffer

Page 82

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 159 Data Type: EthernetConfig Supporting data structure for CommS

Page 83

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 160 Data Type: RecipientArray If more than 10 recipients are need

Page 84

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 161 Data Type: RecipientStruct TYPE RecipientStruct : STRUCT Emai

Page 85 - Enumerated Type: TB_Mode

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 162 Data Type: SerialConfig Supporting data structure for CommStr

Page 86 - CalcSpline

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 163 Enumerated Types Enumerated Type: COM_Type Enum Type for Comm

Page 87 - Cam_Analyzer

Communications Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 164 Enumerated Type: Method Enum Type for GetParameter Method Dat

Page 88

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 165 Function Blocks CommunicationChannel The Communicatio

Page 89 - 76

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 166 B ClearBuffer BOOL Clears all contents of the circula

Page 90 - 77

Cam Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 5 camming was interrupted unexpectedly CamSlave_WindowCheck Used inside CamSlave_Feed

Page 91 - CamBlend

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 167 8726 The serial port ID was not a valid serial port. 87

Page 92

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 168 DNS_LookUp This function block performs a DNS looku

Page 93

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 169 B Busy BOOL Set high upon the rising edge of 'Ex

Page 94

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 170 You can also perform DNS lookups from the command line

Page 95

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 171 The basic command structure is "nslookup [hostnam

Page 96 - 83

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 172 Error Description ErrorID Meaning 0 No error 8705 The

Page 97 - CamControl

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 173 8724 The device option ID was invalid. 8725 The device

Page 98

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 174 If you compare the output of the block ("74.125.2

Page 99 - 86

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 175 FTP_SendFile This function block uses the FTP (File

Page 100 - Application Example

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 176 Notes • This block utilizes FTP, not SFTP as SSL is no

Page 101 - 88

Cam Toolbox: Getting Started MotionWorks IEC61131-3 Toolboxes: 2013-09-13 6 Getting Started: Cam Requirements for v204 To use the Cam Toolbox,

Page 102 - 89

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 177 8724 The device option ID was invalid. 8725 The device

Page 103 - CamGenerator

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 178 12553 Requested action not taken, file name not allowed

Page 104 - Error Description

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 179

Page 105 - Examples

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 180 The destination folder is empty to begin with and the F

Page 106 - 93

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 181

Page 107 - CamMaster_Lookup

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 182 The results of this block can be seen in the destinatio

Page 108

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 183 This examples demonstrates how to write a program to se

Page 109 - CamShift_Control

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 184

Page 110

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 185 This entire program is enabled by the "MetricsEnab

Page 111 - Code Example

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 186 GetCommand The GetCommand function block is a support

Page 113 - 100

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 7 Cam Revision History Current Version: New for Cam v204 – All firm

Page 114 - 101

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 187 execute goes low. B CommandCreated BOOL Indicates tha

Page 115 - 102

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 188 GetParameter The GetParameter function block provid

Page 116 - CamSlave_FeedToLength

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 189 either the number of the parameter value to be found or

Page 117

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 190 ErrorID Meaning 0 No error 10160 CommandString length i

Page 118

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 191 InputBufferManager The InputBufferManager function b

Page 119

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 192 B Valid BOOL Indicates that the outputs of the function

Page 120 - Applications

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 193 ReName_CommandProcessor The ReName_CommandProcessor f

Page 121 - 108

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 194 execute while enable is held high. VAR_OUTPUT B Done

Page 122

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 195 2. Data type MyMachineStruct (VAR_IN_OUT ‘MachineData’

Page 123 - 110

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 196 block will cause an error. Normally, this value is 819

Page 124

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 8 (************* 2013-01-16 v203 released. Created using 2.4

Page 125

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 197 d. Use the GetParameter function block to separate com

Page 126 - 113

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 198 ReName_CommunicationsMgr ReName_CommunicationsMgr is

Page 127 - CamSlave_FeedToLength2

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 199 SendEmail This function block sends an e-mail via S

Page 128 - Parameters

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 200 server and low when 'Done' or 'Error&apo

Page 129

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 201 8720 An error occurred trying to get or set the device

Page 130

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 202 As this is a complicated function, additional examples

Page 131 - 118

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 203 And to demonstrate the end result, here is the e-mail

Page 132 - 119

Communications Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 204 UpdatePointer The UpdatePointer function block is a s

Page 133 - CamSlave_Lookup

File_RW Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 205 File Read Write Toolbox File_RW Toolbox The File Read / Write Template is dif

Page 134 - Example

File_RW Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 206 Getting Started: File_RW Requirements for v202 To use the File_RW Template, y

Page 135 - 122

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 9 3) CamFileMgmt - CamTableMgmt renamed CamTableManager 4) CamSlave

Page 136 - CamSlave_PullToLength

File_RW Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 207 File_RW Revision History Current Version: (****************** 2013-0

Page 137

File_RW Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 208 Data Types Data Type: ByteBufferStruct Data Type Declaration TYPE

Page 138

File_RW Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 209 Data Type: MyDataStruct This datatype MyDataStruct and its two sup

Page 139

File_RW Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 210 Data Type: SeparatorList Optional SeparatorList can be populated b

Page 140 - CamSlave_Recover

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 211 Function Blocks Read_CSV_File This function block will read

Page 141

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 212 STRING#'flash/user/data/mydata.csv' V Separators S

Page 142

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 213 Notes • Don't forget to include the ProConOS firmware li

Page 143

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 214 10126 NoDataError - The End Of File was reached, but the recor

Page 144 - 131

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 215 The 15 columns of data defined above relate to the data shown

Page 145 - 132

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 216 Customizing the code in the function block 5) To customize th

Page 146 - CamSlave_WindowCheck

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 10 (********************************* 2011-02-02 v007 re

Page 147

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 217 Customizing for file versioning The function has the capabilit

Page 148 - CamTableManager

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 218 3) Customize the Read-CSV_File function block to determine if

Page 149 - Example 1

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 219 NOTE: The capability of the function block to read multiple

Page 150

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 220 Write_CSV_File This function block will format and write a

Page 151 - CamTableUpdate

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 221 B Execute BOOL Upon the rising edge, this function block wil

Page 152

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 222 • It is strongly recommended to write files only to the Ramdi

Page 153

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 223 10123 Column Start Error. The data is corrupted. 10124 Unsuppo

Page 154

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 224 3) Initialize the data required for "MyDataStruct"

Page 155 - SlaveIndex_Lookup

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 225 5) To customize the function block, go to the variables grid a

Page 156

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 226 Original code: Modified code: Application Example

Page 157 - 144

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 11 3) Moved window logic into the main Enable section of SlaveRegis

Page 158 - SlaveRegistrationCheck

File_RW Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 227

Page 159

Gantry Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 228 Gantry Toolbox Gantry Toolbox The Gantry Toolbox consists of the following: Da

Page 160

Gantry Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 229 Function Block Description Calculate_Angles Calculates start and traversed ang

Page 161 - 148

Gantry Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 230 Getting Started: Gantry Requirements for v203 To use the Gantry Toolbox, your

Page 162 - Communications Toolbox

Gantry Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 231 Gantry Revision History Current Version: New for Gantry v203 – All firmware li

Page 163 - FTP Datatype Customization:

Gantry Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 232 12) Gantry_Power - Added support for a Tangent axis. 13) Gantry_Power - Added

Page 164 - Requirements for v201

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 233 Data Types Data Types for Gantry Toolbox The following is a complet

Page 165 - Previous Versions:

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 234 Data Type: AXIS_REF The AXIS_REF data type identifies an axis and t

Page 166 - Data Type: SMTP_Data

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 235 MCMoveAbsoluteY(Axis:=AxisY, Execute:=FALSE); AxisX:=MCMoveAbsolutY

Page 167

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 236 Data Type: GantryPositions This datatype can be used to store absol

Page 168 - Data Type: FTP_Data

Cam Toolbox: Revision History MotionWorks IEC61131-3 Toolboxes: 2013-09-13 12 Changed to F_TRIG to let initialize section run on the first

Page 169 - Data Type Declaration

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 237 Data Type: GantryStruct This datatype contains all information pert

Page 170 - Data Type: CommStruct

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 238 Alternate usage: ZPosition *) Down:LREAL

Page 171 - Data Type: DelimiterArray

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 239 Data Type: PathDetails For use with the PathGenerator Function Bloc

Page 172 - Data Type: EthernetConfig

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 240 Data Type: PathIDStruct This datatype contains all information pert

Page 173 - Data Type: RecipientArray

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 241 Data Type: PathPairs For use with the PathGenerator Function Block

Page 174 - Data Type: RecipientStruct

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 242 Data Type: PathPointArray For use with the PathGenerator Function B

Page 175 - Data Type: SerialConfig

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 243 Data Type: PathStruct For use with the PathGenerator Function Block

Page 176 - Enumerated Type: COM_Type

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 244 PathStruct Example 3

Page 177 - Enumerated Type: Method

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 245 Data Type: SegmentArray For use with the PathGenerator and MovePath

Page 178 - CommunicationChannel

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 246 Data Type: SegmentDetails For use with the PathGenerator and MovePa

Page 179

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 13 Creating Cam Tables Cam Curve Characteristics Cam Curve does

Page 180

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 247 Data Type: SegmentStruct For use with the PathGenerator and MovePat

Page 181 - DNS_LookUp

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 248 Data Type: WPos Supporting structure for GantryPositions. Data Type

Page 182

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 249 Data Type: XPos Supporting structure for GantryPositions. Data Type

Page 183 - 170

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 250 Data Type: YPos Supporting structure for GantryPositions. Data Type

Page 184

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 251 Data Type: ZPos Supporting structure for GantryPositions. Data Type

Page 185

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 252 Enumerated Types Enumerated Type: TB_PatternType ENUM Type for Path

Page 186 - Example - External Address

Gantry Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 253 Enumerated Type: TB_PatternType ENUM Type for PathDetails' Seg

Page 187

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 254 Function Blocks Calculate_Angles This function block uses ei

Page 188 - FTP_SendFile

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 255 B Radius LREAL Radius of arc 0.0 B Direction MC_Direction 0: cl

Page 189

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 256 The two modes of data entry are shown in detail below. Mode 0:

Page 190

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 14

Page 191

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 257 Step1: Using Calculate_Angles to calculate start and traverse a

Page 192 - 179

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 258 Step 4: Result on XY system

Page 193

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 259 Gantry_Home This function block will move all gantry axes in

Page 194 - 181

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 260 B Error BOOL Set high if error has occurred during the execut

Page 195 - Specified Rate

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 261 10037 Offset cannot be in the same direction as the original mo

Page 196

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 262 Gantry_Power This function block will enable or disable all

Page 197 - 184

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 263 V ZAxisErrorID UINT ErrorID on the Z axis B Status BOOL TRUE

Page 198

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 264 Gantry_Return_Home This function block will move all gantry

Page 199 - GetCommand

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 265 or MC_Stop. This output is cleared with the same behavior as th

Page 200

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 266 Gantry_Stop This function block will execute the MC_Stop blo

Page 201 - GetParameter

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 15

Page 202

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 267 output is reset when 'Execute' or 'Enable'

Page 203

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 268 GotoXY This function block will perform an absolute move the

Page 204 - InputBufferManager

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 269 B Error BOOL Set high if error has occurred during the execut

Page 205

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 270 GoToXYZ This function block will perform an absolute move t

Page 206 - ReName_CommandProcessor

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 271 as the Done output. B Error BOOL Set high if error has occurr

Page 207 - Customization Steps

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 272 GripperControl This function block can operate a simple gri

Page 208

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 273 Error Description ErrorID Meaning 0 No error 10035 Gripper Clo

Page 209

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 274 Interpolator This function block calculates the required acc

Page 210 - Optional Customization Steps

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 275 V Vy LREAL Y axis component of gantry velocity V ACCx LREAL X a

Page 211 - ReName_CommunicationsMgr

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 276 Interpolator3D This function block calculates the required

Page 212 - SendEmail

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 16 Cam Curve Types Cam Curve Types • Parabolic • Simple Harmon

Page 213

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 277 completed, the Done output will not be set. This output is rese

Page 214

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 278 Move_Path Based on the axes specified in the GantryStruct, t

Page 215

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 279 initiated. To modify an input, change the value and re-trigger

Page 216

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 280 • See Yaskawa's Youtube channel for more info, details, a

Page 217 - UpdatePointer

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 281 4893 The specified external axis may not be used. A physical ax

Page 218 - File_RW Toolbox

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 282 The MovePath function block uses SegmentData and PathID from t

Page 219 - Getting Started: File_RW

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 283 The logic analyzer plot of independent axis parameters from the

Page 220 - File_RW Revision History

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 284 Code Example 2 Consider the following circular profile The log

Page 221 - Data Type: ByteBufferStruct

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 285 The actual profile plotted by the XY system is: Application Ex

Page 222 - Data Type: MyDataStruct

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 286 Step 3: Validation using logic analyzer. Step 4: Result on XY

Page 223 - Data Type: SeparatorList

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 iii Table Of Contents Yaskawa's IEC61131-3 Toolboxes: 2013-09-13 ...

Page 224 - Read_CSV_File

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 17 • ParabolicVelocityBlend

Page 225

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 287

Page 226

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 288 PathGenerator This function block pre processes path data to

Page 227 - Example Customization

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 289 VAR_OUTPUT B Done BOOL Set high when the commanded action has

Page 228

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 290 • See Yaskawa's Youtube channel for more info, details,

Page 229

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 291 PathStruct Example 1

Page 230

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 292 PathStruct Example 2 PathStruct Example 3

Page 231

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 293 Application example Step1: Using Calculate_Angles to calculate

Page 232

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 294 Step 3: Validation using logic analyzer Step 4: Result on XY

Page 233 - Write_CSV_File

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 295

Page 234

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 296 PathIDManager This function block serves as a FIFO buffer f

Page 235

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 18 Parabolic Designed for use as the only segment in the motion

Page 236 - Customization Example 1

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 297 B Busy BOOL Set high upon the rising edge of the 'Execut

Page 237

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 298 Application Example

Page 238

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 299 Pick_Part Assuming that a gripper actuator is empty and avai

Page 239

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 300 function block. This output is cleared when 'Execute'

Page 240 - 227

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 301 Place_Part Given that a gripper actuator already has a part

Page 241 - Gantry Toolbox

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 302 'Enable' goes low. B ErrorID UINT If Error is true,

Page 242

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 303 SegmentLookup This function block outputs the number of the

Page 243 - Getting Started: Gantry

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 304 B ActiveSegment INT Current active segment B OutputFlags DWOR

Page 244 - Gantry Revision History

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 305

Page 245

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 306 XY_MoveAbsolute This function block will perform an absolute

Page 246 - Data Types

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 19 ParabolicVelocityBlend

Page 247 - Data Type: AXIS_REF

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 307 input, and reset if Done, CommandAborted, or Error is true. B

Page 248 - AxisX:=MCMoveAbsolutY.Axis;

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 308 The velocities, accelerations and decelerations of the two axes

Page 249 - Data Type: GantryPositions

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 309 XY_MoveRelative This function block will perform a relative

Page 250 - Data Type: GantryStruct

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 310 B Acceleration LREAL Acceleration of the tool tip 0.0 B Deceler

Page 251 - END_TYPE

Gantry Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 311 57620 The DataType connected to a function block parameter spec

Page 252 - Data Type: PathDetails

Math Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 312 Math Toolbox Math Toolbox The Math toolbox contains many functions that already

Page 253 - Data Type: PathIDStruct

Math Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 313 Function Blocks ATAN2 The ATAN2 function is useful in many applications invol

Page 254 - Data Type: PathPairs

Math Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 314 This is a function, not a function block and only provides one output. If ENO i

Page 255 - Data Type: PathPointArray

Math Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 315 REM This function block returns the modulo division result of two LREAL input

Page 256 - Data Type: PathStruct

Math Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 316 Correction:=REM((-RegistrationData.BufferNonCyclic[TempUsePointer] - Regist

Page 257 - PathStruct Example 3

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 20 Simple Harmonic This curve is also one of the discontinuous c

Page 258 - Data Type: SegmentArray

Pack ML Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 317 Pack ML Toolbox Getting Started: PackML Requirements for v202 To use the Pack

Page 259 - Data Type: SegmentDetails

Pack ML Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 318 PackML Revision History Current Version: (***********************************

Page 260 - Data Type: SegmentStruct

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 319 Enumerated Types Enumerated Type: PackMLState ENUM Type for indica

Page 261 - Data Type: WPos

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 320 • (* 16 : Completing *) • (* 17 : Complete *)

Page 262 - Data Type: XPos

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 321 Enumerated Type: PackMLState ENUM Type for indicating the PackML s

Page 263 - Data Type: YPos

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 322 • (* 17 : Complete *)

Page 264 - Data Type: ZPos

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 323 DataTypes Data Type: PackML_Commands_STRUCT Supporting structure f

Page 265 - Enumerated Types

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 324 Data Type: EquipmentModule_STRUCT Supporting data type used by Equ

Page 266

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 325 Sts_Aborting_SC : BOOL; (* When set, the machine is in the

Page 267 - Calculate_Angles

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 326 Data Type: PackML_States_STRUCT Supporting structure for PackTags_

Page 268

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 21 Cycloidal

Page 269 - Application example

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 327 Data Type: EquipmentModule_Array Supporting Array used to pass com

Page 270

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 328 Data Type: UNitMachine_STRUCT Contains all the information about t

Page 271 - Step 4: Result on XY system

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 329 Data Type: PackTags_Admin_STRUCT Data Type Declaration PackTags_Ad

Page 272 - Gantry_Home

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 330 Data Type: PackTags_Status_STRUCT Data Type Declaration PackTags_S

Page 273

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 331 ModeChangeNotAllowed : BOOL; (* This bit is set if an invalid mode

Page 274

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 332 Data Type: PackTags_Commands_STRUCT Data Type Declaration PackTags

Page 275 - Gantry_Power

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 333 (* Node : Node_ARRAY; (*Node (machine) interface & ID structur

Page 276

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 334 Data Type: ControlModule_Array Supporting array used to pass comma

Page 277 - Gantry_Return_Home

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 335 Data Type: PackML_Module_Commands_STRUCT Supporting data type used

Page 278

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 336 ModuleActive : BOOL; (* Indicates if the module is active to recei

Page 279 - Gantry_Stop

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 22 Modified Trapezoid

Page 280

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 337 Data Type: Parameter_STRUCT Supporting Structure for Parameter_ARR

Page 281

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 338 Data Type: Parameter_ARRAY An array containing the names, units an

Page 282

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 339 Data Type: ProcessVariable_STRUCT Supporting structure for Process

Page 283 - GoToXYZ

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 340 Data Type: ProcessVariable_ARRAY An array containing the names, un

Page 284

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 341 Data Type: Node_STRUCT Supporting structure for Node_ARRAY. Data T

Page 285 - GripperControl

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 342 Data Type: Node_ARRAY Array that contains information used to coor

Page 286

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 343 Data Type: Ingredient_STRUCT A structure of parameters containing

Page 287 - Interpolator

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 344 Data Type: Ingredient_ARRAY An array that contains all the paramet

Page 288

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 345 Data Type: Product_STRUCT A structure containing product informati

Page 289 - Interpolator3D

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 346 Data Type: Product_ARRAY An array containing product information D

Page 290

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 23 Modified Sine

Page 291 - Move_Path

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 347 Data Type: Limit_STRUCT Supporting structure for Limit_ARRAY. Data

Page 292

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 348 Data Type: Limit_ARRAY An array containing user defined machine li

Page 293

Pack ML Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 349 Supporting Arrays Arrays used by function blocks and other data ty

Page 294

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 350 Function Blocks CM_Control_Inputs The CM_Control_Inputs fun

Page 295

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 351 deactivated, commands will not be sent down to the CM, for tes

Page 296

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 352 CM_Control_Outputs The CM_Control_Outputs function block s

Page 297 - Code Example 2

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 353 Parameters * Parameter Data Type Description VAR_IN_OUT V PML

Page 298

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 354 ‘UnHolding’ and is ready to move to the next state B Suspendi

Page 299

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 355 EM_ModuleSummation The EM_Module_Summation function block r

Page 300 - 287

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 356 B Valid BOOL Indicates that the outputs of the function are va

Page 301 - PathGenerator

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 24 Modified Constant Velocity

Page 302

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 357 PackMLCommands_Init The PackMLCommands_Init function block

Page 303 - Usage Example

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 358 PackMLModeStateTimes The PackMLModeStateTimes function blo

Page 304 - PathStruct Example 1

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 359 being counted for the Sts_ModeCurrent will be cleared. B Cmd_

Page 305 - PathStruct Example 2

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 360 Error Description ErrorID Meaning 0 No Error 12563 Time rollo

Page 306

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 361 PackML_State_Diagram

Page 307

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 362 The PackML_State_Diagram function block handles the operation

Page 308 - 295

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 363 B EnableIn BOOL The function will continue to execute while

Page 309 - PathIDManager

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 364 active EMs if it is a legal transition from the current machin

Page 310

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 365 enabled and active EMs if it is a legal transition from the cu

Page 311

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 366 B Stopping BOOL When this bit is set, the machine is in the

Page 312 - Pick_Part

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 25 Arc The CamSegmentStruct elements ArcRadius and ArcDirection

Page 313

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 367 Notes • Should always be enabled when program is running to e

Page 314 - Place_Part

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 368 UN_ModuleSummation The UN_ModuleSummation function block ro

Page 315

Pack ML Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 369 deactivate EM_3, set EM_Mask.X3 =TRUE) VAR_OUTPUT B Valid BOOL

Page 316 - SegmentLookup

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 370 PLCopen Toolbox PLCopen Toolbox This toolbox already includes the PLCTaskInfo

Page 317

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 371 function block Enumerated Types: Enumerated Type Description MC_Direction For

Page 318 - 305

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 372 MC_MoveRelative, and MC_SetPosition. Home_LS_Pulse Combines the PLCopen funct

Page 319 - XY_MoveAbsolute

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 373 Getting Started: PLCopen Requirements for v205 To use the PLCopen Toolbox, yo

Page 320

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 374 PLCopen Revision History Current Version: New for PLCopen v205 – All firmware

Page 321

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 375 3) Jog_To_Position - Improved deceleration ramp. 4) Feed_To_Length - Add

Page 322 - XY_MoveRelative

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 376 (**************** 2011-02-24 v022beta created - developed using firmwa

Page 323

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 26 Asymmetrical Cycloidal

Page 324

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 377 (*********************************** 2010-02-03 v019 released *****

Page 325 - Math Toolbox

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 378 8) ReadAxisParameters changed to increase efficiency. 9) Added some outputs s

Page 326 - Function Blocks

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 379 (****************************** 2009-05-07 v015 released ******

Page 327

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 380 7) Jog converted to PLCopen convention (outputs) and code converted to ST. 8)

Page 328 - Example 1 - Structured Text

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 381 1) Completed and tested the MoveRelative_ByTime function. 2) Previous version

Page 329 - Example 2 - Function Block

PLCopen Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 382 4) MoveRelative_ByTime (********************************* 2008-08

Page 330 - Getting Started: PackML

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 383 Data Types Data Types for PLCopen Toolbox The following is a compl

Page 331 - PackML Revision History

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 384 Data Type: AXIS_REF The AXIS_REF data type identifies an axis and

Page 332 - Enumerated Type: PackMLState

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 385 Data Type: AxisParamData Supporting structure for AxisPrmArray. U

Page 333 - • (* 17 : Complete *)

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 386 Data Type: AxisParameterStruct For use with the ReadAxisParameters

Page 334

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 iv One Dwell Trapecloid ...

Page 335

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 27 Asymmetrical Modified Trapezoid

Page 336 - DataTypes

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 387 CommandedPosition:LREAL; (* 1010 *) CommandedPositi

Page 337

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 388 Data Type: AxisPrmArray Used by the ReadAxisParameters function bl

Page 338

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 389 Data Type: AxisStruct For use as a container for all axis related

Page 339

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 390 END_TYPE

Page 340

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 391 Data Type: CAMSWITCH_ARRAY Supporting structure for CAMSWITCH_REF.

Page 341

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 392 Data Type: CAMSWITCH_REF Used by the Y_DigitalCamSwitch function b

Page 342

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 393 Data Type: CAMSWITCH_STRUCT Supporting structure for CAMSWITCH_ARR

Page 343

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 394 A setting of 0.0 will result in a block error.*) END_STRUCT; END_T

Page 344

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 395 Data Type: HomeStruct For use with all HOME_*** function blocks. D

Page 345

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 396 Data Type: IndividualParamDetails Used by the ReadAxisParameters f

Page 346

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 28 Trapecloid

Page 347

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 397 Data Type: LatchBufferArray Supporting structure for ProductBuffer

Page 348

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 398 Data Type: MoveStruct For use with MC_MoveAbsolute, MC_MoveRelativ

Page 349 - END_STRUCT;

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 399 Data Type: ProductBufferStruct For use with the ProductBuffer func

Page 350 - Data Type: Parameter_STRUCT

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 400 END_STRUCT; END_TYPE NOTES: INPUT - Indicates a value that the U

Page 351 - Data Type: Parameter_ARRAY

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 401 Data Type: SWERROR_STRUCT Used by the Y_DigitalCamSwitch function

Page 352

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 402 END_TYPE

Page 353

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 403 Data Type: TRACK_ARRAY Supporting structure for TRACK_REF. Used b

Page 354 - Data Type: Node_STRUCT

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 404 Data Type: TRACK_REF Used by the Y_DigitalCamSwitch function block

Page 355 - Data Type: Node_ARRAY

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 405 Data Type: TRACK_STRUCT Supporting structure for TRACK_ARRAY. Use

Page 356 - Data Type: Ingredient_STRUCT

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 406 Enumerated Types Enumerated Type: MC_Direction ENUM type for indic

Page 357 - Data Type: Ingredient_ARRAY

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 29 One Dwell Cycloidal_1

Page 358 - Data Type: Product_STRUCT

PLCopen Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 407 Enumerated Type: TB_AxisType ENUM type for indicating the axis typ

Page 359 - Data Type: Product_ARRAY

PLCopen Toolbox: Programs MotionWorks IEC61131-3 Toolboxes: 2013-09-13 408 PTB_Initialize This is not a function block but a Program POU in th

Page 360 - Data Type: Limit_STRUCT

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 409 Function Blocks AbsolutePositionManager This function monit

Page 361 - Data Type: Limit_ARRAY

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 410 Configuration tab in the Hardware Configuration (logical axis

Page 362 - Supporting Arrays

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 411 4382 When the axis is in rotary mode, and the MC_SetPosition t

Page 363 - CM_Control_Inputs

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 412 AccDecLimits This function block manages the parameters as

Page 364

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 413 V LimitAccelNegative LREAL Parameter 1220 LREAL#0.0 V LimitDec

Page 365 - CM_Control_Outputs

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 414 Accel / Decel Limits • The software acceleration & decele

Page 366

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 415 • The parameters are called LimitDecelPositive and LimitDecelN

Page 367

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 416 Axes_Interlock This function block checks MC_ReadAxisError

Page 368 - EM_ModuleSummation

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 30 One Dwell Cycloidal_2_3

Page 369 - Notes

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 417 V Offset LREAL Offset between the two axes. This value will

Page 370 - PackMLCommands_Init

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 418 AxisControl This function block combines MC_Power, MC_Read

Page 371 - PackMLModeStateTimes

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 419 V AlarmClear BOOL Clears axis related alarms using MC_Reset FA

Page 372

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 420 4378 The function block is not applicable for the external axi

Page 373

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 421 AxisStatus This function block uses MC_ReadAxisError to pr

Page 374 - PackML_State_Diagram

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 422 VAR_OUTPUT B Valid BOOL Indicates that the outputs of the func

Page 375

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 423 ControllerAlarm This function block provides a BOOL output

Page 376

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 424 Error Description ErrorID Meaning 0 No error 4625 Axis ID does

Page 377

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 425 Feed_To_Length FeedToLength was designed for use with applic

Page 378

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 426 VAR_INPUT Default B Enable BOOL The function will continue t

Page 379

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 31 One Dwell Trapezoid_1

Page 380 - 367

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 427 true. B CommandAborted BOOL Set high if motion is aborted by

Page 381 - UN_ModuleSummation

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 428 4641 Buffer mode does not correspond to a valid enumeration va

Page 382

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 429 MaxCorrection limits the correction if an erroneous registrat

Page 383 - PLCopen Toolbox

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 430 The FeedToLength function block will position the axis exactl

Page 384 - Programs:

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 431 The FeedToLength function block will position the axis exactl

Page 385

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 432 HighSpeedOutput This function block combines several of th

Page 386 - Getting Started: PLCopen

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 433 B Valid BOOL Indicates that the outputs of the function are va

Page 387 - PLCopen Revision History

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 434

Page 388

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 435 Home_Init This function block provides a method to initiali

Page 389

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 436 an input, change the value and re-trigger the execute input. B

Page 390

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 32 One Dwell Trapezoid

Page 391

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 437 Home_LS This function block combines the PLCopen function b

Page 392

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 438 action is completed, the Done output will not be set. This out

Page 393

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 439 4667 Jerk is less than or equal to zero. 4893 The specified ex

Page 394

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 440 Home_LS_Pulse This function block combines the PLCopen fun

Page 395

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 441 input, and reset if Done, CommandAborted, or Error is true. B

Page 396

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 442 4642 Direction does not correspond to a valid enumeration valu

Page 397

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 443 Home_Pulse This function block combines the PLCopen functi

Page 398 - Data Type: AxisParamData

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 444 successfully. If another block takes control before the action

Page 399

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 445 4660 Deceleration is less than or equal to zero. 4667 Jerk is

Page 400

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 446 Jog This function block combines the PLCopen functions MC_M

Page 401 - Data Type: AxisPrmArray

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 33 One Dwell Trapezoid_2_3

Page 402 - Data Type: AxisStruct

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 447 torque and velocity) B Jerk LREAL Not supported; reserved fo

Page 403

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 448 4642 Direction does not correspond to a valid enumeration valu

Page 404 - Data Type: CAMSWITCH_ARRAY

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 449 Jog_To_Position This function block combines the PLCopen f

Page 405 - Data Type: CAMSWITCH_REF

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 450 with same sign of torque and velocity) B Deceleration LREAL

Page 406 - Data Type: CAMSWITCH_STRUCT

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 451 MC_Power.Status output. MC_Stop.Execute might be held high, pr

Page 407 - 394

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 452 Example 2 In this example, the axis requires about 13 revolut

Page 408 - Data Type: HomeStruct

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 453 Example 3 The third example shows a deceleration to stop at 5

Page 409

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 454

Page 410 - Data Type: LatchBufferArray

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 455 MoveRelative_ByTime This function block converts the MoveTi

Page 411 - Data Type: MoveStruct

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 456 is completed, the Done output will not be set. This output is

Page 412

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 34 One Dwell Modified Sine

Page 413

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 457 4665 Velocity parameter is negative. 4667 Jerk is less than or

Page 414 - Data Type: SWERROR_STRUCT

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 458 PositionLimits This function block enables or disables the

Page 415 - 402

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 459 VAR_OUTPUT B Valid BOOL Indicates that the outputs of the func

Page 416 - Data Type: TRACK_ARRAY

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 460 • The software position limits are managed by the MP2000iec

Page 417 - Data Type: TRACK_REF

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 461 0 No error 4378 The function block is not applicable for the e

Page 418 - Data Type: TRACK_STRUCT

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 462 ProductBuffer This function block uses MC_TouchProbe and p

Page 419

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 463 cycle" the machine by simulating products using the TestT

Page 420 - Enumerated Type: TB_AxisType

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 464 10022 Product or circular buffer overrun / full 10023 Buffer s

Page 421 - PTB_Initialize

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 465

Page 422 - AbsolutePositionManager

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 466

Page 423

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 35 One Dwell Trapecloid

Page 424

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 467 o

Page 425 - AccDecLimits

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 468 ReadAxisParameters This function block reads all the commo

Page 426

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 469 parameter sets, such as camming. VAR_OUTPUT B Valid BOOL Indic

Page 427

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 470 Parameters categorized as BasicMotion are always read. ParamT

Page 428

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 471 BasicMotion LatchPositionNonCyclic 1031 BasicMotion Positio

Page 429 - Axes_Interlock

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 472 4648 The parameter number does not exist for the specified axi

Page 430

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 473 r

Page 431 - AxisControl

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 474 Reverse_MC_Direction This function block was designed for

Page 432

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 475

Page 433

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 476 VelocityLimits This function block enables or disables the

Page 434 - AxisStatus

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 36 No Dwell Simple Harmonic

Page 435

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 477 B Valid BOOL Indicates that the outputs of the function are va

Page 436 - ControllerAlarm

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 478 • The software velocity limits are managed by the MP2000iec co

Page 437

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 479 Y_DigitalCamSwitch This function block commands a group of

Page 438 - Feed_To_Length

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 480 enable is held high. E EnableMask DWORD Individually enables

Page 439

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 481 If the cam-like lobes of multiple switches intersect with each

Page 440

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 482 Output Bits: Boolean Outputs are exclusive Data Validation The

Page 441

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 483 Off Position : 10 degrees Switch 1: On

Page 442

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 484 Once the Y_DgitalCamSwitch is enabled and is in operation, th

Page 443 - 430

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 485 Example 2: If speed compensation needs to be applied to indiv

Page 444

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 486

Page 445 - HighSpeedOutput

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 v Enumerated Type: TB_CurveType ...

Page 446 - Timing Diagram

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 37 No Dwell Modified Trapezoid

Page 447 - 434

PLCopen Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 487

Page 448 - Home_Init

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 488 Yaskawa Toolbox Yaskawa Toolbox The Yaskawa Toolbox consists of the following

Page 449

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 489 Scaler UnpackByte UnpackWord WindowCheck XYLookup

Page 450 - Home_LS

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 490 Getting Started: Yaskawa Requirements for v204 To use the Yaskawa Toolbox, yo

Page 451

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 491 Yaskawa Revision History Current Version: (********************* 2013-0

Page 452

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 492 4) Blink function - resolution improved. (******************************

Page 453 - Home_LS_Pulse

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 493 (************************************* 2011-03-25: v009 released ***

Page 454

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 494 Improved templates with new, reduced logic that does not use SET or RESET coi

Page 455

Yaskawa Toolbox MotionWorks IEC61131-3 Toolboxes: 2013-09-13 495 Shell code with all logic to replicate the behavior of PLCopen FB with Execut

Page 456 - Home_Pulse

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 496 Explicit Data Types ExplicitSendDataStruct For use with the Explic

Page 457

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 38 No Dwell Modified Constant Velocity

Page 458

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 497 ED_InterfaceHandle4 : BYTE; ED_TimeOut1 : BYTE; ED_TimeOut2 : BYTE

Page 459

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 498 ExplicitReceiveDataStruct For use with the Explicit_Message functi

Page 460

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 499 ED_TimeOut1 : BYTE; ED_TimeOut2 : BYTE; ED_ItemCount1 : BYTE; ED_I

Page 461

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 500 RegSessionRequestStruct For use with the Explicit_Message function

Page 462 - Jog_To_Position

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 501 END_STRUCT;

Page 463

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 502 UnRegSessionRequestStruct For use with the Explicit_Message functi

Page 464

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 503 SenderContext For use with the Explicit_Message function block. Da

Page 465

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 504 Service For use with the Explicit_Message function block. Data Typ

Page 466 - Example 3

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 505 ExplicitData For use with the Explicit_Message function block. Dat

Page 467 - 454

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 506 Data Types Data Types for Yaskawa Toolbox The following is a compl

Page 468 - MoveRelative_ByTime

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 39 NC2 Curve Notes: Deceleration is twice as long as accelerati

Page 469

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 507 Data Type: MovingAverageArray For use with the MovingAverage funct

Page 470

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 508 Data Type: PIDStruct Used with the PIDControl function block. Data

Page 471 - PositionLimits

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 509 Data Type: RTCStruct Used with the RealTimeClock, DateCompare, and

Page 472

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 510 Data Type: XYArray Supporting structure for XYDataStruct. For use

Page 473

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 511 Data Type: XYData Supporting structure for XYArray. For use with

Page 474

Yaskawa Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 512 Data Type: XYDataStruct For use with the XYLookup function block D

Page 475 - ProductBuffer

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 513 Function Blocks Action This function block is only for demo

Page 476

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 514 function block. This output is cleared when 'Execute&apos

Page 477

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 515 Blink This function block will toggle the Output at the fre

Page 478 - 465

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 516 Logic Analyzer output:

Page 479 -

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 40 Tangent Matching Provides a speed matched profile to minimiz

Page 480 - 467

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 517 ByteSwap This function block swaps the upper and lower byte

Page 481 - ReadAxisParameters

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 518 CommWatchDog This function block allows the application pro

Page 482

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 519 DataRecord This function block will record Data into the a

Page 483

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 520 V Index INT Indicates the last array index recorded V DataFil

Page 484

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 521 DataSort This function block will sort data from the lowest

Page 485

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 522 B ErrorID UINT If Error is true, this output provides the Er

Page 486 - 473

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 523 DateCompare This function block will calculate the differen

Page 487 - Reverse_MC_Direction

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 524 Enable_FB_Template This function block is a template which

Page 488 - 475

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 525 Enable_ST_Template This function block is a template which

Page 489 - VelocityLimits

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 526 Execute_FB_Template This function block is a template which

Page 490

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 41

Page 491

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 527 Notes Depending on the exact usage, there may be outputs in th

Page 492 - Y_DigitalCamSwitch

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 528 Execute_ST_Template This function block is a template which

Page 493

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 529 Notes This template contains supporting code for: • Initializ

Page 494

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 530 Explicit_Message This function block will write/read a bloc

Page 495 - Example 1:

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 531 Destination Element is the data (as an array of bytes) where t

Page 496

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 532 • The Explicit_Message function block uses the Y_DeviceComm f

Page 497 - 484

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 533 8717 The socket is already connected to another endpoint. 8718

Page 498 - Example 2:

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 534

Page 499 - 486

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 535 MovingAverage This function block will provide the MovingA

Page 500 - 487

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 536 Notes • See Yaskawa's Youtube webinar - MPiec Web Tensio

Page 501 - Yaskawa Toolbox

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 42 Reverse Trapecloid This cam curve type is not currently suppo

Page 502

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 537

Page 503 - Getting Started: Yaskawa

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 538 PackByte This function block converts 8 Boolean inputs to a

Page 504 - Yaskawa Revision History

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 539 No errors will be generated Example

Page 505

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 540 PackWord This function block converts 16 Boolean inputs to

Page 506

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 541 V Bit4 BOOL Bit 4 of the WORD to be output V Bit5 BOOL Bit 5

Page 507

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 542

Page 508

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 543 PIDControl This function block can be used as a generic co

Page 509 - ExplicitSendDataStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 544 Notes • All time parameters in the PIDStruct (Ts, Td1, and Td

Page 510

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 545 LowerLimit Lower PID Limit UpperLimit Upper PID limit Deadband

Page 511 - ExplicitReceiveDataStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 546 The following series of graphs show changes made to the PID g

Page 512

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 43 Double Harmonic This cam curve type is not currently supporte

Page 513 - RegSessionRequestStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 547 c. PID Control – Increasing the derivative gain: d. Furthe

Page 514 - 501

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 548

Page 515 - UnRegSessionRequestStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 549 e. PD Control – Integral gain is set to zero, which is best

Page 516 - SenderContext

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 550

Page 517 - Service

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 551

Page 518 - ExplicitData

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 552 RangeCheck This function block will set the output 'In

Page 519

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 553 ExeRange does not need to be toggled if Value is changed, as d

Page 520

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 554 RateCalculator This function block determines the frequency

Page 521 - Data Type: PIDStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 555 chosen time period Notes • Upon enabling or a change of the t

Page 522 - Data Type: RTCStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 556 RealTimeClock This function block provides the controllers

Page 523 - Data Type: XYArray

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 44 Reverse Double Harmonic This cam curve type is not currently

Page 524 - Data Type: XYData

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 557 No errors will be generated. Example The output of this block

Page 525 - Data Type: XYDataStruct

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 558 Scaler This function block performs the calculation y:= mx

Page 526

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 559 be scaled. V CalY2 LREAL Datapoint specifying a line along w

Page 527

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 560 Sweep This function block generates an output that rises an

Page 528

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 561 Example:

Page 529 - Logic Analyzer output:

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 562 UnpackByte This function block converts a byte into discret

Page 530 - ByteSwap

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 563 No errors will be generated. Example

Page 531 - CommWatchDog

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 564 UnpackWord This function block separates a word into indivi

Page 532 - DataRecord

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 565 VAR_OUTPUT V Bit0 BOOL Bit 0 of the InputWord V Bit1 BOOL Bit

Page 533

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 566

Page 534 - DataSort

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 45 Tangent Blending Provides the same profile as Tangent Matchin

Page 535

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 567 WindowCheck This function block sets the InWindiow output

Page 536 - DateCompare

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 568 ErrorID Meaning 0 No error 10076 WindowSize must be greater th

Page 537 - Enable_FB_Template

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 569 XYLookup This function block will do a binary search on the

Page 538 - Enable_ST_Template

Yaskawa Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 570 ErrorID Meaning 0 No error 10038 CamData.LastSegment must be g

Page 539 - Execute_FB_Template

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 571 Function Block ErrorID List ErrorID Description 0 No erro

Page 540

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 572 4405 Y_CamOut was aborted. 4406 Continuous Latch Mode not

Page 541 - Execute_ST_Template

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 573 4667 Jerk is less than or equal to zero. 4669 Engage posi

Page 542

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 574 8715 The socket could not be connected. 8716 There is no

Page 543 - Explicit_Message

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 575 10043 Tangent Match formula error, cannot have only one s

Page 544

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 576 10077 Cubic Spline maximum number of consecutive segments

Page 545

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 46 Cubic Spline In this example, the left or beginning portion

Page 546

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 577 10151 Theta1 Above Maximum 10152 Theta2 Below Minimum 101

Page 547 - 534

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 578 12322 No data could be read from file 12421 Service not a

Page 548 - MovingAverage

Toolboxes Function Block ErrorID List MotionWorks IEC61131-3 Toolboxes: 2013-09-13 579  Sigma II with NS115: SIEPC71080001, see section 9.3 

Page 549

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 vi Data Type: DelimiterArray ...

Page 550 - 537

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 47 seg:=Seg + INT#1; Profile4.CamParameters[Seg].CurveType:=TB

Page 551 - PackByte

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 48 Profile4.CamParameters[Seg].CurveType:=TB_CurveType#CubicSpli

Page 552

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 49 Profile4.CamParameters[Seg].SlaveEnd:=LREAL#0.005; Profile4.C

Page 553 - PackWord

Cam Toolbox: Cam Tables and Curves MotionWorks IEC61131-3 Toolboxes: 2013-09-13 50 seg:=Seg + INT#1; Profile4.CamParameters[Seg].CurveType:=TB

Page 554

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 51 Data Types Data Types for Cam Toolbox The following is a complete list

Page 555 - 542

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 52 Data Type: AXIS_REF The AXIS_REF data type identifies an axis and thus

Page 556 - PIDControl

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 53 MCMoveAbsoluteY(Axis:=AxisY, Execute:=FALSE); AxisX:=MCMoveAbsolutY.Axi

Page 557

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 54 Data Type: AxisParameterStruct For use with the CamSlave_FeedToLength a

Page 558

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 55 CommandedPosition:LREAL; (* 1010 *) CommandedPositionCyc

Page 559

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 56 Data Type: BlendStruct Used by the CamBlend function block Data Type De

Page 560

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 vii Getting Started: Gantry ...

Page 561 - 548

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 57 Data Type: CamPairs Used by the CamGenerator function block Data Type D

Page 562 - 549

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 58 Data Type: CamParameters Supporting structure for CamSegmentStruct. Fo

Page 563 - 550

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 59 Data Type: CamSegmentArray Supporting structure for CamSegmentStruct.

Page 564 - 551

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 60 Data Type: CamSegmentStruct For use with the CamGenerator function bloc

Page 565 - RangeCheck

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 61 RampInCam.CamParameters[2].SlaveEnd:=LREAL#1.0; RampInCam.CamParamete

Page 566 - 553

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 62 Data Type: CamStruct For use with Y_CamIn and Y_CamOut function blocks

Page 567 - RateCalculator

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 63 Data Type: CamSyncStruct For use with the CamControl and CamShift_Contr

Page 568

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 64 Data Type: Matrix For use by the CamGenerator for Cubic Spline calculat

Page 569 - RealTimeClock

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 65 Data Type: SubMatrix For use by the CamGenerator for Cubic Spline calcu

Page 570

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 66 Data Type: TableIDStruct For use with the CamTableUpdate function block

Page 571

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 viii GoToXYZ ...

Page 572

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 67 Data Type: UINTArray For use with the CamTableManager Function Block

Page 573

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 68 Data Type: Y_MS_CAM_STRUCT This data type is for use with the CamGenera

Page 574 - Example:

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 69 Y_MS_CAM_STRUCT:STRUCT Header:Y_CAM_HEADER;

Page 575 - UnpackByte

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 70 Enumerated Types Enumerated Type: TB_CurveType ENUM type for describing

Page 576

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 71 OneDwellTrapecloid, (* INT#17 - One Dwell Trapecloid *) NoD

Page 577 - UnpackWord

Cam Toolbox: DataTypes MotionWorks IEC61131-3 Toolboxes: 2013-09-13 72 Enumerated Type: TB_Mode ENUM Type for CamShift_Control to select rotar

Page 578

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 73 Function Blocks CalcSpline This function block is for interna

Page 579 - 566

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 74 Cam_Analyzer The CamAnalyzer function block provides the slave

Page 580 - WindowCheck

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 75 been completed successfully. If another block takes control befor

Page 581

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 76

Page 582 - XYLookup

Table Of Contents MotionWorks IEC61131-3 Toolboxes: 2013-09-13 ix Data Type: PackTags_Commands_STRUCT ...

Page 583

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 77

Page 584 - Function Block ErrorID List

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 78 CamBlend This function block was designed for applications tha

Page 585

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 79 prepare to switch to the RampOut cam profile at the SwitchOver po

Page 586

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 80 Error Description ErrorID Meaning 0 No error 4370 The move could

Page 587

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 81 Timing Diagram Application Example

Page 588

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 82 Timing Diagram The speed matching, or normal running cam is desi

Page 589

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 83

Page 590

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 84 CamControl The CamControl block makes decisions regarding eng

Page 591

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 85 while enable is held high. VAR_OUTPUT B Valid BOOL Indicates that

Page 592

Cam Toolbox: Function Blocks MotionWorks IEC61131-3 Toolboxes: 2013-09-13 86

Comments to this Manuals

No comments