Create string tags – Rockwell Automation 1734-AENTR EtherNet/IP Network Configuration User Manual User Manual

Page 89

Advertising
background image

Rockwell Automation Publication ENET-UM001L-EN-P - March 2014

89

Send Email Chapter 7

Send Email via a Controller-
initiated Message
Instruction

A Logix controller can send a generic CIP message instruction to the EtherNet/
IP communication 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 provided during the initial
handshake of the SMTP session. For these mail relay servers, specify a domain
name when configuring the EtherNet/IP communication module’s network
settings.

For additional information, see

Configure an EtherNet/IP Communication

Module to Operate on the Network on page 17

.

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 characters. In most cases, this
is sufficient to contain the address of the mail server. For example, to create tag
EmailConfigstring of type STRING, follow these steps.

1. Click

in the Value column of the Controller Tags dialog box.

IMPORTANT

Be careful to write the ladder logic to be sure the MSG instructions are not
continuously triggered to send email messages.

...

Advertising