6.3
OB 122: "Disable Interrupts" On/Off
A STEP 5 program can be interrupted at block boundaries or operation
boundaries by programs at an execution level with a higher priority.
The program execution levels with higher priority include the
following:
••
TIMED INTERRUPTS
and
••
PROCESS INTERRUPTS.
The time required to run the interrupted programs is expanded by the
run time of the nested programs.
Function
Using OB 122, you can prevent interrupt servicing blocks being
nested at one or more consecutive block or operation boundaries.
OB 122 influences the acceptance of interrupts:
••
"Disable interrupts" on means the following:
no interrupts will be registered from now on.
••
"Disable interrupts" off means the following:
all interrupts occurring will be registered from now on and the
corresponding blocks will be nested and executed at the next
operation or block boundary (depending on the mode set in DX 0).
Interrupts that have already been registered, are then no longer
serviced if the mode "interruptability at block boundaries" is set in
DX 0.
Parameters
ACCU-1-L
Function no.,
Permitted values:
1 = disable all interrupts
2 = enable all interrupts
OB 122: "Disable Interrupts" On/Off
CPU 948 Programming Guide
6 - 12
C79000-G8576-C848-04
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...