In online mode, there are various possibilities to display the current values of the objects in the controller:
oYou can see the values of the objects in a program editor screen while online. For details, see the description of the respective editor.
oYou can view object values in the online view of the declaration editor. For details, refer to the description of the declaration editor.
oYou can view objects independently in lists through the command Watch. For details, refer to the description of the watch view / watch list editor. You can insert a variable in a watch view by selecting it and executing the command Add watchlist from the context menu.
oYou can view values via trace sampling: recording and displaying of variable values from the controller. For details, refer to the description of the trace object functionality.
oYou can view object values that are contained in recipes: User-defined set of variables for writing and watching these variables on the controller. Refer to the description of the recipe manager.
For information on monitoring of properties that are inserted beneath POUs or function blocks, refer to the chapter Property.
For information on monitoring of function calls, refer to the chapter Attribute Monitoring.
NOTE: If a value is not valid (for example, the result of calculating the square root of a negative number), the result may be displayed as NaN (not a number) or INF (infinite value) depending on the operation, the object, and the particular controller platform. Consult the Programming Guide specific to your controller for more information.