Notes – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 544

Yaskawa Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
531
Destination Element is the data (as an array of bytes)
where the Scanner (MPiec Controller) will copy the data
from the Target.
VAR_INPUT
Default
B
Execute
BOOL
Upon the rising edge, all other function block
inputs are read and the function is initiated. To
modify an input, change the value and re-
trigger the execute input.
0
B
AdapterIPAddress
STRING
IP Address of the Target device.
' '
B
ServiceCode
BYTE
Code for the particular service type as defined
for a CIP message. The value can be obtained
from the Target's (Adapter's) documentation.
0
B
Class
BYTE
Class parameter of a CIP Generic message.
The value can be obtained from the Target's
(Adapter's) documentation.
0
B
Instance
BYTE
Instance parameter of a CIP Generic message.
The value can be obtained from the Target's
(Adapter's) documentation.
0
B
Attribute
BYTE
Attribute parameter of a CIP Generic message.
The value can be obtained from the Target's
(Adapter's) documentation.
0
B
SourceLength
INT
The number of bytes to be written to the
Target. This is the actual data size required,
not the full size of the SourceData DataType.
0
VAR_OUTPUT
B
Done
BOOL
The done bit is set high when the last packet of the
message is successfully transferred.
B
Busy
BOOL
Set high upon the rising edge of the 'Execute' or 'Enable'
input, and reset if Done, CommandAborted, or Error is true.
B
Error
BOOL
Set high if error has occurred during the execution of the
function block. This output is cleared when 'Execute' or
'Enable' goes low.
B
ErrorID
UINT
If Error is true, this output provides the Error ID. This
output is reset when 'Execute' or 'Enable' goes low.
B
Status
DWORD
Indicates if the Target was able to execute the requested
command. A value of zero indicates successful execution of
the command by the remote device.
B
Response
WORD
Response from the Target.
B
ResponseStatus
WORD
Status of the response from the Target.
Notes