As general CAM software, PowerMill encounter some problems in NC programming for mould-electrode. This paper introduces a system which can significantly improve the efficiency and quality of programming. In the system, the macro, which is a operate recorder of PowerMIll, is used to record the excellent examples of mould-electrode processing. Then the system picks up the key parameters from the macro and save them in the standard processing database. The standard processing database is open database and can save many kinds of processing for various mold-electrodes. When a new mold-electrode which is similar with what is saved in the database to be processed, the system can process it automatically. The system is developed on VB6.0 and includes a standard processing database of mold-electrode and a friendly interface.