Result
After correct and error-free processing, the system program enters the
value ’0’ in ACCU-1-L.
Note
By calling OB 122, the RLO (undefined) is influenced. The BR
register is not modified.
To disable and enable processing interrupts, you can also use the
STEP 5 operations IA and RA instead of OB 122. The blocking of
interrupts is cleared at the next system checkpoint (refer to
Chapter 11).
Possible errors
The errors listed in the following table can occur. If one of these error
does occur, the system program writes the error ID shown in the table
into ACCU-1-L.
ID Meaning
F001H
Illegal function number
Example
Table 6-3
Error IDs of OB 122 in ACCU-1-L
Excerpt of a STEP 5 program in which all
interrupts are disabled using OB 122 immediately
before a critical program section following which
they are enabled again:
:L
KB 1
Load function ID in ACCU-1-L
:JU OB 122
Disable all interrupts
:
)
:
)
:
)
:
} Critical program section
:
)
:
)
:L
KB 2
Load function ID in ACCU-1-L
:JU OB 122
Enable all interrupts
:
:
OB 122: "Disable Interrupts" On/Off
CPU 948 Programming Guide
C79000-G8576-C848-04
6 - 13
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 ...