Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 179

Advertising
background image

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

0

No error

8705

The maximum number of concurrently open user IO devices (sockets/files) has been
reached.

8706

The socket handle was invalid.

8707

The IP address string was not in a valid format.

8708

The socket could not be created.

8709

The specified address or port is already in use on the local network.

8710

The specified address or port is not available for use.

8711

Unable to accept new socket connection.

8712

Unable to bind to the specified address.

8713

The socket type argument was invalid.

8714

The local address or port was not valid.

8715

The socket could not be connected.

8716

There is no network routing path to the specified address.

8717

The socket is already connected to another endpoint.

8718

The socket connection attempt was actively refused by the remote peer.

8719

The socket was not connected to a remote endpoint. Call Y_ConnectSocket prior to
Y_ReadDevice or Y_WriteDevice.

8720

An error occurred trying to get or set the device option.

8721

The communication device could not be read.

8722

The communication device could not be written.

8723

The Buffer argument to WriteDevice and ReadDevice is required.

8724

The device option ID was invalid.

8725

The device option value was not the right size or the data was out of range.

Advertising