beautypg.com

Explicit messaging data type examples, Dint data type examples – Rockwell Automation 2097-Vxxx Kinetix 300 EtherNet/IP Indexing Servo Drive User Manual User Manual

Page 212

background image

212

Rockwell Automation Publication 2097-UM001D-EN-P - November 2012

Appendix D

MicroLogix Explicit Messaging

Explicit Messaging Data Type
Examples

This section provides examples for DINT, REAL, and String data types.

DINT Data Type Examples

In this example, the instance decimal is ID tag 73 (bus voltage).

Figure 101 - Reading DINT from Volatile Memory

In this example, the instance decimal is ID tag 232 (homing method).

Figure 102 - Writing DINT into Nonvolatile Memory

IMPORTANT

For each CIP Generic message (MSG) instruction, you must use both a unique
message file element, for example MG9:0 and a unique extended routing
information file element, for example RIX10:0. The routing information file
element stores not only the path to the destination Kinetix 300 drive IP
address, but also the specific Class/Instance/Attribute settings.