Monitoring

In Online mode, all displayable variables are read from the controller and displayed in real time. You will find this display in the declarations and program editor; you can also read out current values of variables in the watch and receipt manager and in a visualization. If variables from instances of function blocks are to be monitored, the corresponding instance must first be opened.

In monitoring VAR_IN_OUT variables, the de-referenced value is output.

In monitoring pointers, both the pointer and the de-referenced value are output in the declaration portion. In the program portion, only the pointer is output:

  • –pointervar = ‘<’pointervalue’>’

POINTERs in the de-referenced value are also displayed accordingly. With a simple click on the cross or a double-click on the line, the display is either expanded or truncated.

../_images/62afede19b13b2f70a317f345fa49471

In the implementations, the value of the pointer is displayed. For de-referencing, however, the de-referenced value is displayed.

Monitoring of ARRAY components: In addition to array components indexed by a constant, components are also displayed which are indexed by a variable:

anarray[1] = 5

anarray[i] = 1

If the index consists of an expression (e.g. [i+j] or [i+1]), the component can not be displayed.

Note

If the maximum number of variables which can be monitored, has been reached, for each further variable instead of the current value the string “Too many monitoring variables” will be displayed.