When an application is running on the controller, the actual values of variables are displayed in the editors of the POUs. This is how the values of variables are monitored.
Requirement: The “Enable inline monitoring” option is selected in “Tools Options” in the “Text Editor” category on the “Monitoring” tab.
-
Download an application to the controller and start it.
-
Click “Debug Display Mode Decimal”.
The display format of the actual values is set.
-
Click a programming object in the “Devices” view or “POUs” view.
The corresponding editor opens. Actual values of the variables are refreshed continually for both the declaration and implementation.
-
Monitoring in the declaration editor
-
Monitoring in the implementation (inline monitoring)
-
Partial monitoring of an array
-
Monitoring a function block
-
Monitoring a property
-
Monitoring of property access in the superordinate programming object
-
Monitoring a method
-
Monitoring a function
-
Monitoring the return value of a function call