Abstract:The auto controlling based on PLC system realized the identifying of coking number and the accurate position.In this system the identifying of coking number was reached with the schematic binary system of PLC and the assistant of proximity sensor.With RS485 ,the digital was used for transducer controlling port which drive the motor and the high speed counter, AD61, was used for feedback adjusting the offset.The discrete digital increasing PID control algorithm compensating the position errors is discussed to arrive at the accuracy auto position.With the module ,RS485,we realize the serial communication and the report forms managing between the PLLC system and the computer.The technique can achieve the object of automatic control accuracy in practices.