In order to meet the requirements on EM5060 engraving and milling machine, the control scheme based on Huazhong NC system was put forward. Its hardware was based on HNC-210B numerical control unit, its software was based on HNC-08M numerical control system. The pulse string control mode was applied for the feed servo drive. The incremental position encoders were equipped for semi close-loop control. Electric spindle was driven by VFD-M DELTA inverter which was controlled through 10V analog interface.The remote I/O was applied for the machine. The practical application shows that the CNC rebuilding is successful.