EasyManua.ls Logo

Bosch rexroth XM2200.01-01-31-31-001-NN-101N3NN - Programming example: Cyclic monitoring of CPU load

Bosch rexroth XM2200.01-01-31-31-001-NN-101N3NN
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals