Rockwell Automation Publication 842E-UM001C-EN-P - September 2016
91
RSLogix 5000® Sample Code
Appendix B
Using an Explicit Message
Configuration to Obtain the
Encoder Runtime in Seconds
This example is similar to the previous one, “
Using an Explicit Message
Configuration to Read Preset Encoder Value”
on page
86
.
1. Create a message data type named
Run_Time_Message
and a DINT
named Run_Time Second
.
Figure 21