beautypg.com

Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 213

background image

Communications Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

200

server and low when 'Done' or 'Error' go high.

B

Error

BOOL

Set high when an error occurs during e-mail configuration
and sending. Set low upon Execute being reset.

B

ErrorID

UINT

If Error is true, this output provides the ErrorID. Cleared
upon 'Execute' being reset.

V

ErrorString

YC_STRING256

If 'Error' is true and it is an SMTP response code related
error then this output contains the response string from the
SMTP server.

Notes

This block does not support SSL SMTP servers and therefore will most likely only work with local
network SMTP servers. Talk with your IT professional about connecting to a local SMTP server from an
MPiec Series Controller (see "Setup" below for more details about the required configuration).

While "BodyLength" input is optional, it is highly suggested that you pass this variable to the block as it
reduces packet size and the potential for large amounts of padding ("0") bytes on the recipients side.
All examples include this Input and demonstrate how to get the correct length even in more
complicated configurations.

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.