6.10 Ob 141: "Disable Single Cyclic Timed Interrupts" On/Off - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

6.10 OB 141: "Disable Single Cyclic Timed Interrupts" On/Off

Function
Parameters
CPU 948 Programming Guide
C79000-G8576-C848-04
OB 141: "Disable Single Cyclic Timed Interrupts" On/Off
Using OB 141, you can prevent certain cyclic timed interrupt OBs (timed
interrupts at fixed intervals ) from being called at one or more
consecutive block or operation boundaries. For example, you can prevent
an OB 10 (period 1) and an OB 11 (period 2) from being called in a
particular program section that must not be interrupted. On the other
hand, all remaining programmed timed interrupts are processed as usual.
OB 141 affects the reaction to cyclic timed interrupts.
"Disable single cyclic timed interrupts" on means that none of the
specified cyclic timed interrupts are registered from this point onwards
and the interrupts that were already registered (e.g. those waiting for a
block boundary) are deleted. If a timed interrupt OB (for processing a
timed interrupt with a fixed interval) has already been started, it is
processed completely.
"Disable single cyclic timed interrupts" off means that all cyclic timed
interrupts are registered again and are processed at the next block or
operation boundary (depending on the setting in DX 0).
1. Control word
OB 141 records the timed interrupts to be disabled in a system-internal
control word:
Bit no.
15
The bits of the control word have the following significance:
Bit no.
0 to 2
Reserved, these bits must be '0'
Cyclic timed interrupts with fixed interval:
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 - 29

Advertisement

Table of Contents
loading

Table of Contents