Viewing the Logic of an Add-On Instruction
Use this procedure to view Add-On Instruction logic.
To view the logic that an Add-On Instruction is using:
- Right-click the routine located below the instruction in the Controller Organizer pane or from an existing call to the instruction.
- Choose Open Instruction Logic.
If an Add-On Instruction is protected, you cannot view its logic.
To determine if an Add-On Instruction is protected:
- In the Controller Organizer pane, select the instruction in the Add-On Instructions folder.
- Look in the Quick View pane on the bottom of the Controller Organizer pane for the Source Protection field.If the field indicates Source Protection: Source not available, then the routine is locked.TIP:The contents are not shown in the Controller Organizer tree if it is locked.The Add-On Instruction remains as a leaf in the tree, like a routine, which indicates that it is locked.
TIP:
You can use the Data Context selector in the routine editor to select a specific instance of the Instruction. If the selector is set to <definition>, the logic can be edited. If the selector is set to any other context, the editor is in read-only mode.
What You Can and Cannot Do
You Can | You Cannot |
|
|
IMPORTANT:
You cannot edit logic online, when logic is in the context of an instruction call, or if the instruction is source-protected or sealed with an instruction signature.
A source-protected Add-On Instruction is either locked or read-only and cannot be edited. However, with a read-only instruction, you may view all associated logic, local tags and configuration.
Provide Feedback