Vai al contenuto

Adding a Variable to the Graphic Trigger Window from an LD Module

In order to watch the diagram of a variable, you need to add it to the Graphic trigger window. Let us assume that you want to see the plot of the variable b in the LD code represented in the figure below.To this purpose, click the Edit>Watch mode.The cursor will become as follows. Adding a Variable to the Graphic Trigger Window from an LD Module-image_0Now you can click the item representing the variable you wish to be shown in the Graphic trigger window.A dialog box appears listing all the currently existing instances of debug windows, and asking you which one is to receive the object you have just clicked. Adding a Variable to the Graphic Trigger Window from an LD Module-image_0In order to plot the curve of variable b, select Graphic trace in the Debug windows column, then click OK. The name of the variable is now printed in the Track column. Adding a Variable to the Graphic Trigger Window from an LD Module-image_0The same procedure applies to all the variables you wish to inspect.Once you have added to the Graphic watch window all the variables you want to observe, you can click Edit>Insert/Move mode, so as to restore the original shape of the cursor.Once the first variable is dropped into a graphic trace, the Graphic properties window is automatically shown and allows the user to setup sampling and visualization properties.