Adding a Variable to the Graphic Trigger Window from a FDB Module
In order to watch the diagram of a variable, you need to add it to the trigger window. Let us assume that you want to see the plot of the variable k of the FBD code in the figure below.To this purpose, click Edit>Watch mode.The cursor will become as follows.
Now you can click the block representing the variable you wish to be shown in the graphic trigger window.In the example we are considering, click the button block.
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.
In order to plot the curve of variable k, select Graphic Trace in the Debug windows column, then click OK. The name of the variable is now printed in the Track column.
The 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, in order to restore the original 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.