A new type of wear-resistant coating testing system is designed in this paper. The control system is based on the motion controller CO-TRUST C37 and the automation software CODESYS. The hardware platform is designed based on the EtherCAT bus, and the system software is developed with information display, parameter setting, manual operation, 31) parametric programming, off-line simulation and many other functions. In order to remove the interference of the high frequency signal to the system, the Butterworth low-pass digital filter is designed. In the process of constant force grinding of the spindle, the incomplete differential PID algorithm is used to improve the dynamic performance and the control precision of the system. The algorithm performance is validated by simulation, and the system performance is tested by setting up an experimental platform. The experimental results show that the system can perform fast detection of the composite layer samples. Meanwhile, it also fills the domestic blank of fast testing equipment for wear-resistant coating.