Designed PLC control system for numerical control ranges drill on the basis of AC servo drive and Modbus communication protocol. With an integration PC as host computer, applied VB programming human- machine interface to achieve the PLC communication based on Modbus protocol and complete the precise positioning control for AC servo motor. Used anti-collision algorithm to solve the problem that multiple servo motors may arise collision during positioning. Through on-site testing the position control system achieved satisfactory effects.