Monitor the Program Process

Top  Previous  Next

 

You enter the monitor mode by the menu item PLC|Monitor or

by the symbol .

On the status line at the bottom left appears a running progress bar. If this display does not move the block will not be executed presumably. Either the machine is in the state ‘Stop’ (red light in the machine window at the bottom left), or the block is not called, or ‘Block End’ is programmed in front of the monitored network, or the program is not executed because of a fatal error (but for this you get a message).

You switch the monitor mode off by renewed selection of the menu item, by renewed clicking the symbol or with the ‘Esc’-key.

You can also monitor several blocks at the same time. Often it is useful to use the single step mode while monitoring. While monitoring no inserts are possible.

 

Monitoring in FBD

Active operands are displayed red, inactive grey. Underneath of byte- word- und DWord- operands the current value is displayed. Displaying timers the current value is at the upper right side, displaying counters it is in the lower part of the rectangle.

 

Monitoring in LAD

Active connections are displayed red, connections without current grey. The representation of the other elements is just as the one of FBD.

 

Monitoring in STL

Next to the program code on the right side following informations are displayed instead of the comment:

 

    RLO   |   State of the operand   |   Accu 1   |   Accu 2

 

The representation of the accus is adjusted as good as possible to the corresponding operand automatically. So the accus are displayed as integer after an integer addition, but after a wordwise and-connection as binary numbers as long as 12 digits are not exceeded, after that as hex-numbers..

The more precisely you declare the data types in the declaration headers and in the symbol table the better the system knows how to display the accu.

If you always save a REAL number in MD 24, for example, you shall declare this in the symbol table as well and change the data type from the default value ‘DWord’ to ‘REAL’.

You recognize the hex representation in contrast to the integer representation because it is written with leading zeros.

If the often changing representation of the accus disturbs you you will be able to specify a permanent data format in View|Options|PLC-Editor.

 

See also:

STL

FBD

LAD

PLC-Editor