Publication 1766-RM001A-EN-P - October 2008
476
Communications Instructions
•
Local / Remote
: “Local / Remote” has no impact on the operation.
•
MultiHop
: Cannot edit.
•
Routing Information File
: Routing Information File must be
Routing Information File.
•
Break Connection (BK)
: If this bit is cleared for SMTP messaging,
the connection with the SMTP Server is not closed after the SMTP
message is sent out to the SMTP Server. If this bit is set, the
connection is closed.
•
IP Address of MultiHop
: IP Address of MultiHop must be local IP
Address (127.0.0.1 or its own IP Address).
SMTP Error Codes/Internal Fail Codes
When SMTP sub-system cannot send an email due to some reason, error
code is shown via MSG instruction. Error Code 0xDD is stored in Word 18
of MG file. Internal Fail Code is stored in Word 22 of MG file. When
messaging through SMTP communication and the low byte is 0xDD, the
high byte of this sub-element contains detailed Fail Code returned by the
SMTP sub-system.
The element values of Fail Codes are shown below.
Inline Indirection in String File for Subject and Body
For e-mail subject and body, user can use Inline Indirection functionality.
In the previous General MSG setup screen, e-mail subject is ST70:0 and
body is ST70:1. If user write "SMTP BODY 0 [N7:0]" in String File, "[N7:0]"
is replaced to String of the value of N7:0.
Fail Code in MG file
(Word offset 22)
Comment
0x0000
Delivery successful to the mail relay server.
0x01DD
SMTP mail server IP Address not configured.
0x02DD
To (destination) Address not configured or invalid.
0x03DD
From (reply) Address not configured or invalid.
0x04DD
Unable to connect to SMTP mail server.
0x05DD
Communication error with SMTP server.
0x06DD
Authentication required.
0x07DD
Authentication failed.
0x10DD
SMTP Configuration File does not exist.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive