Viewing Logic and Monitor with Data Context
Follow this procedure when you want to view the logic of an Add-On Instruction and monitor data values with the logic.
1. Right-click the instruction call in any routine.
2. Choose Open Instruction Logic.
The Language Editor opens with the Add-On Instruction's logic routine and with data values from the instruction call.
As you view the logic you can:
· Identify the instruction call whose tags are being used for data.
· See the logic as it executes (when online).
· See Parameter and Local Tag values.
· Change local tag and parameter values for the data instance selected.
To edit the logic of the Add-On Instruction, you must select the instruction <definition> in Data Context.
You cannot edit the instruction logic:
· Online.
· When the logic is in the context of an instruction call.
· If the instruction is source-protected.
· If the instruction is sealed with an instruction signature.
1. Right-click the instruction call in any routine.
2. Choose Open Instruction Logic.
The Language Editor opens with the Add-On Instruction's logic routine and with data values from the instruction call.
As you view the logic you can:
· Identify the instruction call whose tags are being used for data.
· See the logic as it executes (when online).
· See Parameter and Local Tag values.
· Change local tag and parameter values for the data instance selected.
To edit the logic of the Add-On Instruction, you must select the instruction <definition> in Data Context.
You cannot edit the instruction logic:
· Online.
· When the logic is in the context of an instruction call.
· If the instruction is source-protected.
· If the instruction is sealed with an instruction signature.
0 comments :