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

Page 78

Advertising
background image

70

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

Appendix B RSLogix 5000 sample code

6.

Add a normally open contact and a one-shot instruction to initialize the
message instruction.

Toggling the Get_Run_Time contact initiates the message instruction and
returns the current run time in seconds into Run_Time Seconds DINT.

Advertising