Fig. 12-22: Exception code
12.8.2 Programming example: Cyclic monitoring of the CPU load
The PLC program can be used alternatively or additionally to cyclically monitor
the CPU load. Due to the cyclic monitoring of the CPU load, irregularities in the
CPU load can be detected early in the operating mode before the watchdog
shuts it down completely. Measure the CPU load in normal mode and specify a
suitable threshold value for a special handling in the PLC program. The code has
to be called cyclically within the PLC.
Example:
Cyclic analysis of the CPU load in the PLC user program
1.
#
Fig. 12-23: Definition of a global variable, e.g. "gboOverload" to display an invalid ex-
ceedance of the CPU load
2.
#
58/69
Device description
IndraControl XM21, XM22 Controls
Bosch Rexroth AG R911340667_Edition 04
Содержание Rexroth IndraControl XM21
Страница 1: ...IndraControl XM21 XM22 Controls Operating Instructions R911340667 Edition 04 ...
Страница 6: ...IV IndraControl XM21 XM22 Controls Bosch Rexroth AG R911340667_Edition 04 ...
Страница 70: ...64 69 IndraControl XM21 XM22 Controls Bosch Rexroth AG R911340667_Edition 04 ...
Страница 73: ...IndraControl XM21 XM22 Controls 67 69 R911340667_Edition 04 Bosch Rexroth AG ...
Страница 74: ...68 69 IndraControl XM21 XM22 Controls Bosch Rexroth AG R911340667_Edition 04 ...
Страница 75: ...Notes IndraControl XM21 XM22 Controls 69 69 ...