Result
After correct and error-free processing, the system program sets the
RLO to ’0’ and enters a ’1’ in ACCU-1-LL.
Note
When processing OB 126, user interrupts are disabled: no
interrupts come through.
Calling OB 126 changes the contents of ACCU 1 to ACCU 4.
The BR register is retained.
During a WARM RESTART the remaining cycle is processed
with BASP activated. All the digital outputs are disabled. At the
end of the cycle, all outputs (also those in address lists 1 to 4) are
reset.
Possible errors
If the special function cannot be executed, the system program
interrupts processing of OB 126 and continues program execution
with the next STEP 5 operation. It also sets the RLO to ’1’ and
writes an ID to ACCU-1-LL (refer to the following table).
Special situation when handling errors:
If OB 126 is to execute function ’5’ (set up system internal address
list), the system program checks the correct structure of the address
list. It also checks whether the inputs and outputs or IPC flags
contained in the address list acknowledge the corresponding modules.
If an incorrect address list has been transferred, the CPU reacts in the
same way as to a DB 1 error. It changes to the soft stop state and the
STOP LED flashes slowly. A DB 1 error is indicated as the cause of
the error.
IDs in ACCU-1-L
ID Meaning
01H
02H
03H
04H
05H
06H
07H
Function correctly processed
Function number illegal
Pointer in ACCU-1-L (flag number) illegal
Block type/number illegal or DB/DX block does not
exist
The first ID word is not located in the specified data
word of the data block (wrong DW number) or the
address list contains an incorrect ID word
Address list number illegal
The call for the function is not permitted at the
current program execution level
Table 6-8 Result IDs of OB 125 in ACCU-1-LL
OB 126: Define, Transfer Process Images
CPU 948 Programming Guide
6 - 22 C79000-G8576-C848-04