With the rapid development of modern industry, China is moving from a manufacturing powerhouse to a manufacturing power, more and more traditional machinery began to use intelligent control technology in order to improve operational efficiency, safety and precision, so our country pay more and more attention to the study of the intelligent servo controller.. Development of Intelligent servo controller includes hardware interface design, driver development, logic control instruction library development, motion control library development, Modbus protocol development, HMI design, this paper focuses on the standard PLCopen motion control library was based on research and development.Based on the PLCopen standard motion controller to complete the core design. This core is designed to achieve a combination of software programming in the control logic and motion control. PLCopen motion control function blocks defined in the model. According to this standard design and development of the motion control function block library and management functional blocks. These function blocks include single-axis motion modules and axes set of motion module. Internal uniaxial base module has three algorithms. Three algorithms were used linear programming, indices based planning, S-type plan. Some problems in the uniaxial management functional block development. Problems encountered have trigger mode, error detection and handling mechanism, the output state variable processing. These issues give concrete solutions.Finally, in the packaging machine control system based on the STM32 microprocessor, functionality and performance of the controller were verified instances. The results show that the intelligent servo controller with PLC functionality and servo control. This servo controller to some extent to meet the requirements of industrial CNC machines. |