Vai al contenuto

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:
CommandIcon in debug toolbarDescription
Add/Remove text triggerimage_0In 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 triggerimage_0This 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 triggersimage_0Pressing 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 listimage_0This key opens a dialog listing all the existing trigger windows. Shortcut key: pressing Ctrl+I is equivalent to clicking on this button.
Set and Remove Triggers-image_0Each record refers to a trigger window, either graphic or textual. The following table explains the meaning of each field.
FieldDescription
TypeT: trigger window.G: graphic trigger window.
ModuleName 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.
LineFor the textual languages (IL, ST) indicates the line in which the trigger is placed. For the other languages the value is always -1.