Integrated visualization

For diagnostic purposes it may be desirable to run a visualization only within the programming system, without having to load visualization code on the controller. This integrated visualization is used automatically, if no "TargetVisualization" or "WebVisualization" client object was added under the Visualization Manager. In this case no visualization code is generated and loaded on the controller. However, this involves some restrictions, which are listed below.

Restrictions for expressions, monitoring

The diagnostic visualization supports only expressions, which can be handled by the monitoring mechanism of the programming system. These are:

Restrictions for inputs

Within the input action "Run ST code" only one list of assignments is supported.

Example:

PLC_PRG.n := 20 * PLC_PRG.m; 
// nicht erlaubt
IF PLC_PRG.n < MAX_COUNT THEN
PLC_PRG.n := PLC_PRG.n + 1;
END_IF
//statt dessen folgendes verwenden:
PLC_PRG.n := MIN(MAX_COUNT, PLC_PRG.n + 1);
Integrated visualization 1:

If a list of assignments is used, the value on the left is not assigned until the next cycle. Immediate processing in the next line is not possible.

Visualization interface

The type "Interface" may not be used within the interface definition for a visualization.