Delta AH500 Programming Manual page 686

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
Example:
Suppose the value in D0 is 00010100. When X0.0 is ON, the email is sent to remote email address
3, and remote email address 5. After the communication with the SMTP sever is complete, M20 is
ON. If no error occurs during the communication, M21 is OFF, and Y0.0 is ON.
Additional remark:
1.
If D+1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error
code in SR0 is 16#2003.
2.
If the remote mail address is less than 1, or if the remote mail address is larger than 256, the
instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003.
3.
If the length of the string in S
string in S
or S
will be counted equal to the maximum value.
2
3
4.
When the instruction is executed, if the number of systems which can be connected to the
SMTP server reaches the upper limit, the error occurs, and the error code is 16#6100.
5.
If the account identification is required, and the account identification information is judged
invalid by the SMTP server, the error occurs, and the error is is 16#6108. If the password is
incorrect, the error code is 16#6109.
6.
If the remote email address is judged invalid by the SMTP server, the error occurs, and the
error code is 16#6111.
7.
During the sending of the email, if there is an SMTP server response timeout, the error occurs,
the error code is 16#6107, and the sending of the email is cancelled.
8.
If users declare the operand D in ISPSoft, the data type will be ARRAY [2] of WORD/INT.
6 - 5 1 8
or S
is larger than the maximum value (16#00), the length of the
2
3

Advertisement

Table of Contents
loading

Table of Contents