The motion control library is a standard set of functional blocks integrated in a programmable integration environment, which is of great significance for the rapid development of reconfigurable Programmable Automation Controllers (PAC). However, due to the encapsulation and concealment of function blocks and the incompatibility between software and hardware, the development efficiency of function blocks is low, which is not conducive to the development of autonomous, controllable PAC. Aiming at the above problems, the methods of function block opening and key technology are studied, and a kind of motion control function library architecture and rapid development method based on the PLCopen specification are proposed. A series of motion control function libraries are developed on domestic PLC software. An experimental platform based on domestic hardware and software was designed to verify the typical motion control function library. Experimental results show that this method can effectively shorten the development cycle and that the developed motion control module can meet the actual control needs.