User manual

Publication ENET-UM001I-EN-P - January 2010 121
Send Email Chapter 8
Send Email Via a
Controller-initiated
Message Instruction
A Logix controller can send a generic CIP message instruction to the
EtherNet/IP module that instructs the module to send an email message to a
SMTP mail relay server using the standard SMTP protocol. This automatically
communicates controller data and application conditions to appropriate
personnel.
Some mail relay servers require a domain name be pro
vided during the initial
handshake of the SMTP session. For these mail relay servers, specify a domain
name when configuring the EtherNet/IP module’s network settings.
For additional information, see Configure an EtherNet/IP Module to Operate
on the Network on
page 41
.
Create String Tags
You need three controller-scoped string tags. Each tag performs one of these
functions:
Identifies the mail server
Contains the email text
Contains the status of the email transmission
The default STRING data type supports up
to 82 c
haracters. In most cases,
this is sufficient to contain the address of the mail server. For example, to
create tag EmailConfigstring of type STRING, perform this procedure.
1. Click in
the Value column of the Controller Tags dialog box to
display the String Browser dialog box.
Be careful to write the ladder logic to ensure the MSG
instructions are not continuously triggered to send email
messages.
...