Error handling
An error occurring in the execution of the active special function triggers
a special error reaction in the system program.
In terms of this error reaction by the system program, two groups of
special functions can be distinguished.
••
Group 1:
ACCU condition code bits
Group 1 includes all the special functions with which IDs are
transferred to ACCU 1 if an error occurs to further explain the
error.
••
Group 2:
RLO ,
CC0/CC1
With some of the special functions, the RLO or the status bits
CC0/CC1 are written to indicate errors for specific special
functions.
If an error occurs when using one of these special functions, the
RLO is set to "1" in most cases. In your STEP 5 program, you can
use a JC operation (conditional jump) to evaluate the RLO for
these special functions and then react to an error.
In some special functions, the results bits CC0 and CC1 are
affected by the processing of a special function. You can scan
these bits in your STEP 5 program using a compare operation and
once again program a reaction to an error.
Which of the error reactions occurs for the individual special function
OBs is explained in the following sections.
Introduction
CPU 948 Programming Guide
6 - 6
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 ...