Diagnosis

If the realtime cycle function is activated, information about the realtime cycles is also output in order to generate diagnosis data.

Example

Example of diagnosis data

PATH : REALTIME CYCLES DIAGNOSIS DATA CHANNEL NO.: 1
===============================================================
Note:
Some messages may be hidden in the diagnosis.
Please refer to the realtime cycle documentation to find out how to influence the diagnosis.
Timestamp           Level              Message
---------------------------------------------------------------
  50024    INFO    Realtime cycle manager was initialised
  50024    INFO    Realtime cycle manager: 0 cycles
  426098   INFO    Cycle 1 was created with PROG validity
  426098   INFO    Cycle 1 was started
...

Every line is provided with a diagnosis level. The user can influence the output by using the realtime variable V.RTG.CYCLES.DIAG_LEVEL. The higher the variable value, the more information is output. The following diagnosis levels can be set.

Value

Description

0

No diagnosis data.

1

Errors from realtime cycles are output.

2

Warnings that may indicate a problem.

3

Information on managing realtime cycles, default.

4

Information about realtime cycle actions.

All information about levels 0 to 3 are output with the value preset to V.RTG.CYCLES.DIAG_LEVEL = 3.

Programming Example

Setting diagnosis level

; Set diagnosis very high
; All information is output
V.RTG.CYCLES.DIAG_LEVEL = 99
; Define realtime cycle
#RT CYCLE [SCOPE = PROG]
  ; Actions
  ; ...
#RT CYCLE END
; ...
; End main program
M30