Technical data

6.6 OB 121: Enable/Disable Individual Time-Driven Interrupts
Using the special function organization block OB 121, you can
prevent the insertion of certain time-driven OBs (time-driven
interrupts with
a fixed time interval) at one or more consecutive
block or operation boundaries. You can, for example, prevent a
particular program section being interrupted by an OB 18 (5 s) and an
OB 17 (2 s). On the other hand, all other programmed time-driven
interrupts are processed as usual.
Function
The special function organization OB 121 affects the reaction to
time-driven interrupts:
Disabling individual time-driven interrupts means that no more of the
specified time-driven interrupts are recognized and the interrupts that
have already been detected (e.g. they are waiting for a block
boundary) are cleared. If OB 2 (process interrupts) or an OB for
time-driven interrupt processing (for processing a time-driven
interrupt at a fixed time interval) have already started, they are
processed to the end.
Enabling individual time-driven interrupts means that all interrupts
are once again recognized immediately, and are inserted and
processed at the next block or operation boundary.
Parameters
1. Control word
OBs 121 records the time-driven interrupts to be disabled or delayed
in a
control word:
Bit no.: 15 3 2 1 0
Control word
6
OB 121: Enable/Disable Individual Time-Driven Interrupts
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 19