Monitoring logic with data context views, Verifying individual scan modes – Rockwell Automation Logix5000 Controllers Add-on Instructions Programming Manual User Manual
Page 59
Defining Add-On Instructions
Chapter 2
Monitoring logic with data context views
You can simplify the online monitoring and troubleshooting of your Add-On
Instruction by using Data Context views. The Data Context selector lets you
select a specific call to the Add-On Instruction that defines the calling instance
and arguments whose values are used to visualize the logic for the Add-On
Instruction.
Tip:
When troubleshooting an Add-On Instruction, use a non-arrayed instance tag for the call to the instruction.
This lets you monitor and troubleshoot the instruction's logic routine with a data context. Variable indexed
arrays cannot be used to monitor the logic inside an Add-On Instruction.
Follow these steps to monitor the logic.
1. Go into Run mode.
2. Right-click the instruction call and select Open Instruction Logic.
The logic routine opens with animated logic for the specific calling instance.
Verifying individual scan modes
The most straightforward method to verify Scan mode operation is to execute the
instruction first with the Scan mode routine disabled, then again with it enabled.
Then you can determine whether the Scan mode routine performed as expected.
Rock well Automati on Publication 1756- PM010F-EN-P - Oct ober 2014
59