System philosophy
HARDWARE REFERENCE MANUAL
39
Revi
si
on 3.0
2.6.4
Multi-tasking example
fig. 28
In the example 1, there are two high-priority processes, 13 and 14.
The two HT periods are reserved for these processes, one for
processes 13 and one for processes 14. The low-priority processes
3, 2, 1 and 0 are executed in the LT period, one process per Cycle
time here set to 1.0ms.
In the middle example, there is only one high-priority process, 14.
Both HT periods are reserved for this process. The low-priority
processes, 3, 2, 1 and 0 are executed in the LT period, one process
per cycle time.
In the lower example, there are no high-priority processes.
Therefore, the HT periods can be used for the low-priority
processes. The LT period is also used for the low-priority
processes.
2
3
14
13
14
13
14
3
COMS.
1ms
14
2
COMS.
COMS.
1ms
14
1
1ms
14
0
(c/l)
1ms
COMS.
3
2
1
COMS.
1ms
0
(c/l)
3
2
COMS.
COMS.
1ms
1
0
(c/l)
3
COMS.
1ms
2
1
0
(c/l)
1ms
1
3
COMS.
1ms
2
COMS.
COMS.
1ms
1
1ms
0
(c/l)
1ms
COMS.
14
13
14
13
I51E-EN-03.book Seite 39 Donnerstag, 28. Juni 2007 1:05 13