Example 1, Example 2 – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 546

Yaskawa Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
533
The socket is already connected to another endpoint.
The socket connection attempt was actively refused by the remote peer.
The socket was not connected to a remote endpoint. Call Y_ConnectSocket prior to
Y_ReadDevice or Y_WriteDevice.
An error occurred trying to get or set the device option.
The communication device could not be read.
The communication device could not be written.
The Buffer argument to WriteDevice and ReadDevice is required.
The device option ID was invalid.
The device option value was not the right size or the data was out of range.
The serial port ID was not a valid serial port.
The serial port could not be opened.
Example 1
Set Single Attribute
Example 2
Get Attribute single