4.4
RUN Mode
When the CPU has executed a START-UP (and only then) it changes
to the RUN mode. This mode is characterized by the following
features:
Execution of the user program
The user program in OB 1 is executed cyclically and additional
interrupt-driven program sections can be nested in it.
Timers, counters, process
image
All the timers and counters started in the program continue to run, the
process image is updated cyclically.
BASP
The BASP signal (disable command output) is switched inactive. This
enables all the digital outputs.
IPC flags
The IPC flags (if programmed in DB 1) are updated cyclically.
In the RUN mode, the following program execution levels exist:
CYCLE
The user program in OB 1 is processed cyclically.
PROCESS INTERRUPTS/
INTERRUPTS
The execution of the user program is interrupt-driven (4 interrupt
levels or 1 process interrupt level with 8 sub-levels).
TIMED INTERRUPTS
The user program is processed time-controlled (9 cyclic timed
interrupts, 1 delayed interrupt, 1 clock-controlled interrupt).
The execution levels differ from each other as follows:
••
they are triggered by different events
••
there are one or more organization blocks serving as user
interfaces for each level of program execution.
All the processing levels in a CPU 948 can be programmed
simultaneously. The levels are called by the system program
according to the events that occur and the preset priority (refer to
Section 4.2).
RUN Mode
CPU 948 Programming Guide
C79000-G8576-C848-04
4 - 29
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 ...