6.10 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.
Function
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).
Parameters
1. Control word
OB 141 records the timed interrupts to be disabled in a system-internal
control word:
Bit no.
15
0
C o n t r o l w o r d
The bits of the control word have the following significance:
Bit no.
Interrupt
0 to 2
Reserved, these bits must be ’0’
3 = ’1’
4 = ’1’
5 = ’1’
6 = ’1’
7 = ’1’
8 = ’1’
9 = ’1’
10 = ’1’
11 = ’1’
Cyclic timed interrupts with fixed interval:
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)
12 to 15
Reserved; these bits must be ’0’
As long as a bit is set to ’1’ the corresponding interrupt is disabled.
OB 141: "Disable Single Cyclic Timed Interrupts" On/Off
CPU 948 Programming Guide
C79000-G8576-C848-04
6 - 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 ...