Rockwell Automation 1783-EMS08T Stratix 6000 Ethernet Managed Switch User Manual User Manual

Page 37

Advertising
background image

Rockwell Automation Publication 1783-UM001D-EN-P - January 2013

37

Network Services Setup

Chapter 2

Both tags are of the type EmailString. These tags can be created later when
the MSG instruction is inserted. The text of the email does not have to be
static. You can program a Logix controller project to collect specific data to
be sent in an email. For more information on using ladder logic to
manipulate string data, see the Logix5000 Controllers Common
Procedures Programming Manual, publication

1756-PM001

.

6. Create a tag of the type MESSAGE.

The example uses a tag named SendEmail_EDM.

7. Set the message type to generic CIP, service code object class 32f, instance

1, attribute 0.

Note that the source length is the length of the string in the EMS_EMAIL
tag + 4.

If an error occurs, you see the Error Code (Extended Error Code). The
result code from the SMTP server is stored in the EmailDstStr tag. See

page 41

for a table of status codes.

IMPORTANT

Be sure to enter the correct communication path. Click the
Communication tab and then Browse. Select the name associated with
your 1783-EMS switch from the I/O tree and click Apply.

In this example, the name is Stratix6K. For more information on
configuring the path of a MSG instruction, see the Logix Controllers
General Instructions Reference Manual, publication

1756-RM003

.

Advertising
This manual is related to the following products: