Using a msg instruction to send an email, Using a msg instruction to send an email -24 – Rockwell Automation 5730 DriveLogix5730 Controller for PowerFlex 700S Drives with Phase II Control User Manual
Page 128
6-24
Communicating with Devices on an EtherNet/IP Link
Using a MSG Instruction to
Send an Email
The controller is an email client that uses a mail relay server to send email.
The DriveLogix5730 controller can execute a generic CIP message that
sends an email message to an SMTP mail relay server using the standard
SMTP protocol.
Some mail relay servers require a domain name be provided during the
initial handshake of the SMTP session. For these mail relay servers, make
sure you specify a domain name when you configure the network settings.
See 6-3 for information on configuring the network settings of the controller
and specifying a domain name.
Important: Be careful to write the ladder logic to ensure the MSG
instructions are not continuously triggered to send email
messages.
Creating String Type for Email String Data Type
The tags for the email text and transmission status can contain as many as
474 characters. For these tags, you must create a user-defined STRING data
type that is larger than the default. For example, create a STRING data type
named EMAILSTRING.
ahw0890.tif
ahw0
891.tif
1.
While offline, in the Controller Organizer, right click on the folder for Strings and select New String Type.
2.
Enter the Name (e.g. EMAILSTRING) and the maximum number of
characters (e.g. 520).
Click Apply, then OK.