beautypg.com

Rockwell Automation 1403-NDNET DeviceNet Communications Card Installation Instructions User Manual

Page 129

background image

Publication XXXX-X.X.X - Month Year

DeviceNet™ Communication Card Sample Ladder Listing C-3

Word M0:1.227

The class number is the first word of the transaction body; class 4 is
used to retrieve the real-time data assemblies.

Word M0:1.228

The instance number is the second word of the transaction body;
instance 11 is used to retrieve the real-time voltage, current, and
frequency metering information.

Word M0:1.229

The attribute number is the third word of the transaction body;
attribute 3 is used to get the metering information.

Sample Real Time Data Ladder Listing

This example ladder program shows a way to retrieve information
from the Powermonitor II using DeviceNet.

Service

MAC ID

Service x 256 +

MAC ID

14 x 256 +

5

3589

Class

4

Instance

11

Attribute

3