Set and Remove Triggers
From the Debug menu you can select the appropriate voice for work with triggers.Triggers can be palced only if a valid connection is established and the PLC is currently executing.From the Debug menu you can choose the following voices:
Each record refers to a trigger window, either graphic or textual. The following table explains the meaning of each field.
Command | Icon in debug toolbar | Description |
Add/Remove text trigger | In order to actually start a trigger window, select the point of the PLC code where to insert the relative trigger and then press this button or use the shortcut pressing F9.Do the same to remove the trigger. | |
Add/Remove graphic trigger | This button operates exactly as the above Set/ Remove trigger, except for that it opens a graphic trigger window. It can be used likewise also to remove a graphic trigger window. Shortcut key: pressing Shift + F9. | |
Remove all triggers | Pressing this key causes all the existing trigger windows and the graphic trigger window to be removed simultaneously. Shortcut key: pressing Ctrl+Shift+F9 is equivalent to clicking on this button. | |
Trigger list | This key opens a dialog listing all the existing trigger windows. Shortcut key: pressing Ctrl+I is equivalent to clicking on this button. |
Field | Description |
Type | T: trigger window.G: graphic trigger window. |
Module | Name of the program, function, or function block where the trigger is placed. If the module is a function block, this field contains its name, not the name of its instance where you actually put the trigger. |
Line | For the textual languages (IL, ST) indicates the line in which the trigger is placed. For the other languages the value is always -1. |