The invention belongs to the technical field of
program control systems, and particularly relates to a Qt-based
EtherCAT master station system and a multi-task scheduling method. The
system comprises a man-
machine interaction module, a task scheduling management module, an
EtherCAT master station protocol stack function module, an
XML slave
station configuration file analysis module, a network port communication module and a
serial port communication module. The man-
machine interaction module comprises service real-time display and control,
EtherCAT communication data online debugging, service basic configuration and modular debugging and
system authentication; the task scheduling management module comprises a system working
state management module, a complex
business data processing module and a task scheduling module; the EtherCAT
master station protocol stack function module comprises real-
time data processing of a controlled object, business
control logic management of a controlled slave
station, an EtherCAT master
station initialization process and business
processing process interface implementation of the controlled object. The development efficiency and the system performance of the EtherCAT master station system are remarkably improved, and the requirements of a modern
industrial control system for real-time performance, stability and user experience are met.