Rockwell Automation 842E EtherNet/IP Absolute Encoder User Manual User Manual

Page 75

Advertising
background image

Rockwell Automation Publication 842E-UM001A-EN-P May 2012

67

RSLogix 5000 sample code

Appendix B

Using an explicit message
configuration to obtain the
encoder’s run-time in
seconds

This example is similar to the previous one, “Using an explicit message
configuration to read preset encoder value” on p
age 63.

1.

Create a new message data type named

Run_Time_Message and a DINT

named

Run_Time Seconds.

Advertising