Chapter 10 CPU Function
10.1.6 Program Occupancy Rate Operation
Program occupancy rate refers to the ratio of the task execution time per second during the system RUN
operation. If there is only main task, the sum of the main task execution time is displayed as a percentage. If
there is a periodic task, the main task and periodic task execution time is calculated and displayed as a
percentage.
In the figure below, the program occupancy rate is currently 64%, which means that the main task and periodic
task are executed about 64% of the time for one second, and the system service is running for the remaining
time.
If there is no periodic task as shown below, the system service can be executed in the shaded section if the
main task execution is completed.
Main task period Main task period Main task period
I/O
fref re
sh
Program
Motion
control
Performance time of
main task
Main task period
Performance time of
main task
Performance time of
main task
Performance time of
main task
I/O
fref re
sh
Program
Motion
control
I/O
fref re
sh
Program
Motion
control
I/O
fref re
sh
Program
Motion
control