5.6.1
OB 19: Calling a Logic
Block That Is Not Loaded
(KB)
If your program jumps to a block that does not exist, the system
program detects an error. This applies to all logic blocks and also for
conditional and unconditional calls.
When the system program detects the call of a logic block that is
not loaded, it calls OB 19, if this is loaded. In OB 19, you can
specify how the CPU should proceed.
If OB 19 does not exist, the system program continues executing the
interrupted STEP 5 program at the next operation.
5.6.2
OB 19: Calling a Data Block
That Is Not Loaded (KDB)
If you call a data block or an extended data block in your program that
does not exist in the memory or is marked as invalid, the CPU detects
an error and the system program calls OB 19, if this is loaded. If
OB 19 is not loaded, the CPU changes to the STOP mode. A zero is
entered in the DBA and DBL registers.
Note
OB 19 is called both when a logic or data block is not loaded.
You can read system data register RS 75 to determine (via the
STEP 5 program) which type of error occurred. The contents of
RS 75 are as follows:
- for a KB error:
0101H,
- for a KDB error:
0904H.
Causes of Error and Reactions of the CPU
CPU 948 Programming Guide
5 - 24
C79000-G8576-C848-04
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 ...