Substructure, that in ST_DiagnosticsManagerToDiagSource Provides write blockage between different functions to help prevent multiple write access to file system resources
Variable |
Data type |
Description |
---|---|---|
xIsInit |
BOOL |
TRUE shows that the internal structure (calculated performance characteristic values) is reset for the start of a new cycle. |
xCanContinue |
BOOL |
Is set by the diagnostic manager If FALSE, writing is no longer permitted. The detected error is specified in more detail using xRamDiskFull, xCycleTimeover. |
xCycleTimeOver |
BOOL |
Is set by the diagnostic manager. Indicates the detected error of xCanContinue: reports a cycle timeout |
xRamDiskFull |
BOOL |
Is set by the diagnostic manager. Indicates the detected error of xCanContinue: reports a full ramdisk |
udiMaxTime |
UDINT |
Is set by the diagnostic manager |
udiStartTime |
UDINT |
Is set by the diagnostic manager Prompt for cycle start time (for internal performance calculation) |
xMinLimitMode |
BOOL |
If TRUE, the "MinLimitMode" calculation is used at the start of the write process. This stops write processes if the Gc_udiMinLimitRamDiskFree memory is exceeded. Otherwise (FALSE) Gc_udiLimitRamDiskFree stops write processes if the memory is exceeded. |
udiNumberOfCallsUntilCycleTimeOver |
UDINT |
Internal parameter |
audiHistory |
ARRAY[1..Gc_udiCycleHistorySize] OF UDINT |
Internal parameter Saves characteristic values already calculated |
xCycleTimeEmergencyMode |
BOOL |
If TRUE, udiMaxTime is set to 5/6 of the expected cycle period. Usually (FALSE) 1/2 of the expected cycle period is set. |