EasyManua.ls Logo

Siemens CPU 948 - Page 185

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4.4.3
Time-Controlled Program
Execution
This type of program execution includes the delayed interrupt, the
time-controlled interrupt and cyclic timed interrupts.
All these interrupts are time-controlled.
Time-controlled program execution uses the TIMED INTERRUPTS
level.
Delayed interrupts
Triggered once after a selected delay time in the millisecond range.
Organization block OB 6 is called with this interrupt.
Clock-controlled interrupt
Triggered at a selected interval or once at an absolute point in time.
Organization block OB 9 is called with this interrupt.
Cyclic timed interrupt
Triggered at 9 different intervals. Each timed interrupt is assigned an
organization block (OB 10 to OB 18). This involves fixed cycles, i.e.
the interval between two program stops is fixed.
Priorities
Within time-controlled program execution, the following priorities are
set:
Delayed interrupt OB 6
cyclic timed int., period 1
cyclic timed int., period 2
cyclic timed int., period 3
cyclic timed int., period 4
cyclic timed int., period 5
cyclic timed int., period 6
cyclic timed int., period 7
cyclic timed int., period 8
cyclic timed int., period 9
time-controlled interrupt
OB 6
OB 10, shortest period
OB 11
OB 12
OB 13 ascending
OB 14 priority
OB 15
OB 16
OB 17
OB 18, longest period
OB 9
Note
Time-controlled interrupt servicing in OB 6 and in OB 9 is only
possible when the parameter "process interrupts via IB 0 = off" is
set in DX 0. With the default setting in DX 0 ("process interrupts
via IB 0 = on") the corresponding process interrupts of IB 0 are
processed using OB 6 and OB 9 (refer to Section 4.5.4).
RUN Mode
CPU 948 Programming Guide
C79000-G8576-C848-04
4 - 33

Table of Contents

Related product manuals