Cyclic timed interrupts
On the CPU 948, you can process 9 different time-controlled
programs, each being called at a different cyclic interval.
Triggering
The basic clock pulse for timed interrupt processing is set to 100 ms.
Using a special parameter in data block DX 0, you can adjust this in
steps of 10 ms (basic clock pulse = yy
*
10 ms where: 01H
≤
yy
≤
FFH).
You can base the setting of the clock pulse on the shortest time
required by your application for cyclic processing.
Time interval
Cyclic timed interrupts are processed at fixed intervals with 9 possible
intervals (periods). Each interval is assigned to a specific organization
block. You can select between two sets of intervals. You select the
sets of intervals using a special parameter in data block DX 0.
the following table illustrates the two sets of intervals with the
assignment of the different intervals to organization blocks.
Interval set 1
(default )
Interval set 2
OB called
1x basic clock pulse
2 x basic clock pulse
5 x basic clock pulse
10 x basic clock pulse
20 x basic clock pulse
50 x basic clock pulse
100 x basic clock pulse
200 x basic clock pulse
500 x basic clock pulse
1 x basic clock pulse
2 x basic clock pulse
4 x basic clock pulse
8 x basic clock pulse
16 x basic clock pulse
32 x basic clock pulse
64 x basic clock pulse
128 x basic clock pulse
256 x basic clock pulse
OB 10
OB 11
OB 12
OB 13
OB 14
OB 15
OB 16
OB 17
OB 18
Note
The first TIMED INTERRUPT OB call following the start-up
takes place within the time assigned to the OB.
If, for example, the interrupt time "500 s" is set for OB 18 (basic
clock pulse setting in DX 0 = 1 s and time base = 1), then the first
OB 18 call takes place after approximately 20 s following a
COLD RESTART. All further calls are then at intervals of 500 s.
Table 4-5
Sets of intervals and intervals of the TIMED INTERRUPTS
RUN Mode
CPU 948 Programming Guide
C79000-G8576-C848-04
4 - 37
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 ...