5.5
Error Handling Using Organization Blocks
When the system program detects an error, it calls the appropriate
organization block to handle it. You can determine further operation of
the CPU by programming the appropriate organization block.
Therefore, the CPU can do one of the following:
••
continue normal program processing
••
go into the STOP mode
and/or
••
process a special "error handling program"
For the following causes of error, OBs are available:
Cause of error
Organization
block called
Reaction of CPU
if OB is not
programmed
Call of a block that is not loaded (KB)
OB 19
none
Attempt to open a data block DB/DX that is not loaded
(KDB)
OB 19
STOP
Timeout in the user program during access to I/O peripherals
(QVZ)
OB 23
none
Timeout during update of the process image table and during
interprocessor communication flag transfer (QVZ)
OB 24
none
Addressing error (ADF)
OB 25
STOP
1)
Cycle time exceeded (ZYK)
OB 26
STOP
Substitution error (SUF)
OB 27
STOP
Timeout by reading input byte IB 0
(process interrupts – QVZ)
OB 28
STOP
Timeout during access to the distributed I/O peripherals (extended
address area — QVZ)
OB 29
none
Parity error and timeout in the user memory (PARE)
OB 30
STOP
Table 5-7
The organization blocks called in case of errors
Error Handling Using Organization Blocks
CPU 948 Programming Guide
5 - 20
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 ...