Trigger Window Interface
Setting a trigger causes a pop-up window to appear, which is called Interface window: this is the interface to access the debugging functions that the trigger window makes available. It consists of three elements, as shown below.
Caption barThe Caption bar of the pop-up window shows information on the location of the trigger which causes the refresh of the Variables window, when reached by the processor.The text in the Caption bar has the following format:Trigger n° X at ModuleName#Locationwhere
Controls sectionThis dialog box allows the user to better control the refresh of the trigger window to get more information on the code under scope. A detailed description of the function of each control is given in the Trigger window controls section (see 9.5.2.11).All controls are not accessible until at least one variable is dragged into the debug window.The Variables sectionThis lower section of the Debug window is a table consisting of a row for each variable that you dragged in. Each row has four fields: the name of the variable, its value, its type, and its location (@task:ModuleName) read from memory during the last refresh.
X | Trigger identifier |
ModuleName | Name of the program, function, or function block where the trigger was placed. |
Location | Exact location of the trigger, within module ModuleName.If ModuleName is in IL, Location has the following format:N1Otherwise, if ModuleName is in FBD, it becomes:N2$BT:BIDwhere:N1 = instruction line numberN2 = network numberBT = block type (operand, function, function block, etc.)BID = block identifier |