Technical data
6.23 OB 221: Setting the Cycle Monitoring Time
Function
By calling this special function, you can modify the cycle monitoring
time and change the maximum permitted cycle time. As standard, the
cycle monitoring time is set to 150 ms. Along with this call, the timer
for the cycle time monitoring is restarted. The maximum permitted
cycle time for the cycle in which OB 221 is called, is extended by the
newly selected value, calculated from the time when the special
function call took place. The cycle monitoring time of all subsequent
cycles corresponds to the newly selected value (= the time value that
you transfer in ACCU 1).
Parameters
ACCU 1
a) ACCU-1-L
new cycle time (in milliseconds),
permitted values 1 ms - 13000 ms,
positive fixed point number (KF)
b)
ACCU 1-H
ACCU-1-H must have the
value "0"
Result
The new cycle monitoring time is set after correct processing of
OB 221.
Possible errors
The cycle monitoring time you have specified is not within the range
1 ms - 13000 ms.
The function is not executed. The system program recognizes a
runtime error and calls
OB 31. The other reactions to the error depend
on how you have programmed OB 31 (see Section 5.6.2). If OB 31 is
not loaded, the CPU goes to the STOP mode.
In both cases, the error identifier
1A3AH is entered in ACCU-1-L.
6
OB 221: Setting the Cycle Monitoring Time
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 91