Notes, Error description – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 213

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
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.