Vai al contenuto

Opening the Graphic Trigger Window from an LD Module

Let us assume that you have an LD module, also containing the following instructions. Opening the Graphic Trigger Window from an LD Module-image_0You can place a graphic trigger directly 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 graphic 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 interface window pops up. Opening the Graphic Trigger Window from an LD Module-image_0Note that unlike the other languages supported by GF_ProjectVX code, LD does not allow you to insert a trigger before a single contact or coil, as it lets you select only an entire network. Thus the variables in the Graphic trigger window will be sampled every time the processor reaches the beginning of the selected network.