Abstract:A digital control system using PLC main control unit as a controller was presented. In the system, the displacement pulse signals detected by the displacement detection device (such as grating) at controlled device actuator were used as the feedback signal of the PLC main control unit, PLC counter counter was used to count the displacement pulse, to realize digital control to action sequence and motion displacement of the actuator.