Technical data
6.7 OB 122: Enable/Disable "Delay of All Interrupts"
A STEP 5 program can be interrupted at block or operations
boundaries by a higher-priority program. Such higher-priority
program processing levels include the process interrupts and all time
interrupts (cyclic time interrupts, clock-driven time interrupt and
delay interrupt). The runtime of the interrupted program is therefore
extended by the runtime of the programs inserted by the interrupts.
Using special function block OB 122, you can prevent the insertion of
higher priority program processing levels at one or more consecutive
block or operation boundaries (depending on the setting in DX 0).
Function
OB 122 affects the reaction to interrupts as follows:
Enabling interrupt delay means all interrupts will continue to be
registered and already pending interrupts will remain registered.
However, registered interrupts will not yet be processed. All operation
or block boundaries will be temporarily disabled for the processing
interrupts. If OB 2 (process interrupts) or an OB for time-driven
interrupt processing have already started, they are processed to the
end.
Disabling interrupt delay means all registered interrupts will be
inserted and processed at the next block or operation boundary.
Note
If a specific time-driven interrupt OB is called for the second time
during the "Delay interrupt" phase, a collision of time interrupts
occurs.
Parameters
1. Double control word
OB 122 records the interrupts to be delayed in a system-internal
double control word.
Bit no.: 31 3 2 1 0
Double control word
OB 122: Enable/Disable "Delay of All Interrupts"
CPU 928B Programming Guide
6 - 22 C79000-B8576-C898-01