Adding a Variable from a Graphical Source Code Editor
Follow this procedure to add a variable to the Oscilloscope from a graphical (that is, LD, FBD, or SFC) source code editor:

- Click the Edit>Watch mode.
- Click on the block representing the variable you wish to be shown in the Oscilloscope.
- 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 on.
- Select Oscilloscope, and then click OK. The name of the variable is now displayed in the Track column.