Publication 1756-UM001G-EN-P - January 2007
Develop Applications 81
The interruption of a periodic task increases the elapsed time (clock
time) between the execution of system overhead functions.
If you use the default time slice of 20%, the system overhead
interrupts the continuous task every 4 ms.
If you increase the time slice to 50%, the system overhead interrupts
the continuous task every millisecond.
If the controller only contains periodic tasks, the system overhead
time slice value has no effect. System overhead runs whenever a
periodic task is not running.
1 ms 1 ms 1 ms 1 ms 1 ms
Periodic Task
1 ms 1 ms
System Overhead
9 ms of Continuous Task Time 9 ms of Continuous Task Time
Continuous Task
0 5 10 15 20 25
Elapsed Time (ms)
1 ms 1 ms 1 ms 1 ms 1 ms
System Overhead
4 ms 4 ms 4 ms 4 ms 4 ms
Continuous Task
5 10152025
Elapsed Time (ms)
1 ms
System Overhead
1 ms
Continuous Task
5 10152025
Elapsed Time (ms)
Periodic Task
System Overhead
5 10152025
Continuous Task
Elapsed Time (ms)