Retrieve the tracked state value using a Message instruction

Use a Message (MSG) instruction to retrieve the tracked state value. When the controller receives the MSG instruction, it calculates the tracked state value and stores it in a destination tag.
TIP:
If you plan to use the tracked state value to verify that code in a tracked routine is being executed, make sure to track all the routines that call the tracked routine, up to and including the main routine. If you do not track all components that call the tracked routine, a user could modify the project so that the tracked routine is no longer called.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal