CFC in Online mode

Monitoring:

The values for inputs and outputs are displayed within the input or output boxes. Constants are not monitored. For non-boolean variables, the boxes are expanded to accommodated the values displayed. For boolean connections, the variable name as well as the connection are displayed in blue if the value is TRUE, otherwise they remain black. Internal boolean connections are also displayed Online in blue in the TRUE state, otherwise black. The value of internal non-boolean connections is displayed in a small box with rounded corners on the output pin of the connection.

../_images/025a33a7be3687a40a317f34280f65eb

PINs in macros are monitored like in- or output boxes.

../_images/edd93057be36acff0a317f3454cc5e30

Non-boolean connections with connection markers display their value within the connection marker. For boolean connections, the lines as well as the marker names are displayed in blue if the line is carrying the value TRUE, otherwise black.

Flow control:

When flow control is switched on, the connections that have been traversed are marked with the color selected in the project options.

Breakpoints:

Breakpoint can be set on all elements that also have a processing sequence order index. The processing of the program will be halted prior to execution of the respective element, that is for POUs and outputs before the assignment of inputs, for jump labels before execution of the element with the next index. The processing sequence index of the element is used as the breakpoint position in the Breakpoint dialog.

The setting of breakpoints on a selected element is accomplished with the F9 key or via the menu item ‘Breakpoint on/off’ in the ‘Online’ or ‘Extras’ menu or in the editor’s context menu. If a breakpoint is set on an element, then this will be erased and reversed the next time the command ‘Breakpoint on/off’ is executed. In addition, the breakpoint on an element can be toggled by double-clicking on it.

Breakpoints are displayed in the colors entered in the project options.

RETURN label:

In Online mode, a jump label with the name „RETURN” is automatically generated in the first column and after the last element in the editor. This label marks the end of the POU and is jumped to when stepping just before execution leaves the POU. No RETURN marks are inserted in macros.

Stepping:

When using ‘Online’ ‘Step over’ the element with the next-higher order index will always be jumped to. If the current element is a macro or a POU, then its implement branches when ‘Online’ ‘Step in’ is in effect. If a ‘Step over’ is executed from there, the element whose order index follows that of the macro is jumped to.