Result
After correct and error-free processing the system program sets the
RLO to ’0’.
Calling OB 142 has the following results:
Funct. no.
in ACCU-2-L
Contents of ACCU 1
before
after
1
2
3
control word
mask
mask
control word
new
control word
new
control word
Possible errors
If an error occurs, the system program sets the RLO to ’1’.
The errors listed in the following table can occur. If an error occurs,
the system program enters the error ID listed below in ACCU-1-L.
ID Meaning
8E01H
8E02H
8EFFH
Illegal function no. in ACCU-2-L
1)
One of the reserved bits (no. 4 to 15) in
ACCU 1 is ’1’
1)
Incorrect mode (e.g. when the delayed interrupt is to
be disabled and DX 0 contains the parameter
"process interrupts via IB 0 = on")
1)
the incorrect value is located in ACCU-2-L
Scan control word
The status of the control word can be scanned with the following
program sequence:
1. load function no. ’2’ or ’3’ in ACCU-2-L,
2. load value ’0’ in ACCU 1,
3. call OB 142,
4. read out ACCU 1.
Table 6-10
Error IDs of OB 142 in ACCU-1-L
OB 142: "Delay All Interrupts" On/Off
CPU 948 Programming Guide
6 - 34
C79000-G8576-C848-04
Содержание CPU 948
Страница 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Страница 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Страница 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Страница 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Страница 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Страница 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Страница 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Страница 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Страница 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Страница 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Страница 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Страница 404: ...Operations with the Base Address Register BR Register CPU 948 Programming Guide 9 34 C79000 G8576 C848 04 ...
Страница 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Страница 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Страница 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Страница 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Страница 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...