Abstract:The soft motion controller based on RTX64 is implemented to meet the requirements of real-time, openness, flexibility and configurability. According to the different real-time requirements of multi-task, the scheme of “Windows7 + RTX64” is adopted and the real-time task is run in the real-time subsystem. Applying the idea of layered architecture and function modularization, the shared memory is used in inter-process communication with mutex, the ring buffer is used in inter-thread communication with critical section and the communication between controller and slave devices is realized by EtherCAT bus technology. Furthermore, the task and data flow are also studied in detail. Finally, the platform based on controller is designed. Experimental results show the controller fulfills the high performance requirements of the general motion control platform, and achieves high stability, openness and expansibility.