Vai al contenuto

Opening a Trigger Window from a LD Module

Let us assume that you have an LD module, also containing the following instructions. Opening a Trigger Window from a LD Module-image_0You can place a trigger on a block, a contact, a coil or the entire row.Let us assume that you want to know the value of some variables every time the pro- cessor reaches network number 1. First select the network number 1 by clicking on the grey area on its left, the one containing the network number. Now you can click Debug>Add/Remove text trigger.In both cases, the grey raised button containing the network number turns to green, and a white circle with the number of the trigger inside appears in the middle of the button, while the related trigger window pops up. Opening a Trigger Window from a LD Module-image_0Unlike the other languages supported by GF_ProjectVX code, LD does not allow you to insert a trigger into a single contact or coil, as it lets you select only an entire network. Thus the variables in the trigger window will be refreshed every time the processor reaches the beginning of the selected network.