User interface OB 1
During cyclic program execution, organization block OB 1 is called
regularly as the user interface. The STEP 5 user program in OB 1 is
processed from the beginning with the block calls you have
programmed. After the system activities, the CPU starts again from
the beginning with the first STEP 5 statement in OB 1.
In OB 1, you program the calls for program, function and sequence
blocks to be executed within the cyclic program.
Interrupt points
Cyclic program execution can be interrupted by the following:
••
time-controlled program execution at block or operation
boundaries,
••
process interrupt-driven program execution via input byte IB 0 at
block boundaries,
••
interrupt-driven program execution (interrupts INT A/B/C/D, E, F,
G) at block or operation boundaries..
You specify the type of interrupt (at block or operation boundaries) in
data block DX 0 (refer to Chapter 7).
Cyclic program execution can be interrupted or aborted regardless of
the parameter setting in DX 0 as follows:
••
when a device fault or program error occurs (at operation
boundaries,
••
by operator intervention:
- stop switch, HALT (at operation boundaries),
- PG function (at checkpoints - refer to Chapter 11),
••
by the stop command STS (at operation boundaries),
••
by a power failure on the central controller or in the expansion unit
(at operation boundaries).
RUN Mode
CPU 948 Programming Guide
C79000-G8576-C848-04
4 - 31
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 ...