Vai al contenuto

Opening a Trigger Window from an ST Module

Let us assume that you have a ST module, also containing the following instructions. Opening a Trigger Window from an ST Module-image_0Let us assume that you want to know the value of x and y, just before the for cycle is executed. To do so, move the cursor to line 6 and click Debug>Add/Remove text trigger.A green arrowhead appears next to the line number, and the related trigger window pops up. Opening a Trigger Window from an ST Module-image_0Not all the ST instructions support triggers. For example, it is not possible to place a trigger on a line containing a terminator such as END_IF, END_FOR, END_WHILE, etc.