6.12 Ob 143: "Delay Single Cyclic Timed Interrupts" On/Off - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

6.12 OB 143: "Delay Single Cyclic Timed Interrupts" On/Off

Function
Parameters
CPU 948 Programming Guide
C79000-G8576-C848-04
OB 143: "Delay Single Cyclic Timed Interrupts" On/Off
Using OB 143, you can prevent certain cyclic timed interrupt OBs
(timed interrupt OBs with a fixed period) from being called at one or
more consecutive block or operation boundaries. For example, you
can select a program section which cannot be interrupted by an OB 10
(period 1) and an OB 11 (period 2). On the other hand, all the
remaining programmed timed interrupts are processed as usual.
OB 143 affects the processing of cyclic timed interrupts:
"Delay single cyclic timed interrupts" on means that all interrupts are
registered and pending timed interrupts remain registered. The timed
interrupts specified in the control word are, however, not processed
immediately. Temporarily, all the operation and block boundaries for
processing these timed interrupts are made ineffective. If a timed interrupt
OB (for processing a timed interrupt with fixed period) has already
started, it is processed completely.
"Delay single cyclic timed interrupts" off means that all registered
interrupts are serviced at the next block or operation boundary (depending
on the setting in DX 0).
1. Control word
OB 143 enters the timed interrupts to be delayed in a system-internal
control word:
Bit no.
15
The bits in the control word have the following meaning:
Bit no.
0 to 2
Reserved, these bits must be '0'
Cyclic timed interrupts with fixed period
3 = '1'
4 = '1'
5 = '1'
6 = '1'
7 = '1'
8 = '1'
9 = '1'
10 = '1'
11 = '1'
12 to 15
Reserved, these bits must be '0'
As long as a bit is set to '1', the corresponding interrupt is disabled.
C o n t r o l w o r d
Interrupt
period 1 (OB 10)
period 2 (OB 11)
period 3 (OB 12)
period 4 (OB 13)
period 5 (OB 14)
period 6 (OB 15)
period 7 (OB 16)
period 8 (OB 17)
period 9 (OB 18)
0
6 - 35

Advertisement

Table of Contents
loading

Table of Contents