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

Page 99

Advertising
background image

100

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

Chapter 9 Logic Controller Application Example with Explicit Messaging

The Device Status is located in Parameter 21 within the EC4 Current
Monitoring Relay. Setup 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:

Parameter Read

Service Code:

0x0E (hex)

Class:

0x0F (hex)

Instance:

21 (dec)

Attribute:

0x01 (hex)

Destination:

Integer_Files[0]

Next, set up the communications path in the Communication tab to read data
from the EC4 Current Monitoring Relay located at Node 6 by configuring the
communication Path as “DNET, 2, 6”

DNET

- the name of the 1769-SDN DeviceNet Scanner

2

– The port number of the 1769-SDN DeviceNet Scanner

6

– The node address of the EC4 Current Monitoring Relay

When finished, the MSG instruction will read the Device Status from the EC4
Current Monitoring Relay and place the results in Integer_Files[0] as shown:

Advertising