Error description – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 179

Communications Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
166
B
ClearBuffer
BOOL
Clears all contents of the circular
buffer and resets StorePointer and
UsePointer
FALSE
VAR_OUTPUT
B
Valid
BOOL
Indicates that the outputs of the function are valid.
B
Socket
DINT
File handle to be used when writing to device
connected to the socket. Only valid when non-zero
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.
Error Description
ErrorID
Meaning
No error
The maximum number of concurrently open user IO devices (sockets/files) has been
reached.
The socket handle was invalid.
The IP address string was not in a valid format.
The socket could not be created.
The specified address or port is already in use on the local network.
The specified address or port is not available for use.
Unable to accept new socket connection.
Unable to bind to the specified address.
The socket type argument was invalid.
The local address or port was not valid.
The socket could not be connected.
There is no network routing path to the specified address.
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.