Chapter 10 CPU Function
10.1.5 System Service Processing
System service includes the following services.
• Processing of service requests in XG5000
Built-in Ethernet port service
• Processing of service requests in XG5000
• Communication (P2P) service processing
• FTP service processing
SD memory card service
• SD memory card command execution
• Data logging
The system service is executed after the completion of the main task or the periodic task and s run at an idle
time when the task is not running. The system service is executed in the shaded section as shown below.
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
The order of priority of the system service and each task is main task > periodic task > system service, and the
main task has the highest priority. When the main task execution cycle is reached while the system service is
running, the system service is paused, and the main task is executed. In addition, if the main task execution
cycle is reached while the system service is running, the system service is paused, and the periodic task is
executed. When the execution of both the main task and the periodic task is completed, the paused system
service is executed sub sequentially.