At a Glance
Each variable display box displays the name and value of a variable used in the section.
Main characteristics:
they are called only via sections written in textual languages (Structured Text, Instruction List),
they contain the variable name and value,
the boxes can be placed anywhere in the section,
they can be configured.
The display boxes are implemented in offline or online mode.
Creating a Variable Display Box
Carry out the following actions:
Step |
Action |
---|---|
1 |
Select the variable from a section (Structured Text or Instruction List). |
2 |
From the contextual menu, select the "New Inspect Window" command; the box is displayed in the section. |
3 |
Use the mouse to position the box. |
Settings
Carry out the following actions:
Step |
Action |
---|---|
1 |
Select the display box. |
2 |
From the contextual menu, launch the "Settings" command. |
3 |
The following dialog box appears: ![]() Enter the minimum and maximum values for the variable:
If no value is entered, the box is shown in blue. |
4 |
Select the type of variable display to be used in the display box (Decimal, Binary, Hexadecimal, floating default, exponent, literal) by checking the corresponding box. |
Example:

Clearing a Variable Display Box
Carry out the following actions:
Step |
Action |
---|---|
1 |
Select the display box. |
2 |
From the contextual menu, launch the "Delete Inspect" command. |