Rockwell Automation 193-EC4 EC4 Current Monitoring Relay User Manual User Manual

Page 100

Advertising
background image

Rockwell Automation Publication 193-UM011A-EN-P - September 2010

101

Logic Controller Application Example with Explicit Messaging Chapter 9

Currently OUT A of the EC4 Current Monitoring Relay is energized as shown
in Bit 2 in Integer_Files[0].

Reading Device Status using the Control Supervisor Object Class
(0x29)

In this example, a Periodic Task has been configured within the L32E to execute
every 1000 msec in which a message instruction will be used to read the Device
Status of the EC4 Current Monitoring Relay using the Control Supervisor
Object Class. The supporting ladder logic was added to execute a MSG
instruction every time this Periodic Task executes.

The Device Status is located in Parameter 21 within the EC4 Current
Monitoring Relay. Set up the MSG instruction in the Configuration tab to read
Parameter 21 using the Parameter Object Class by configuring the following
fields:

Message Type:

CIP Generic

Service Type:

Get Attribute Single

Service Code:

0x0E (hex)

Class:

0x29 (hex)

Instance:

0x01 (hex)

Attribute:

0x79 (hex)

Advertising