This device organically combines the machine's electrical parts with mechanical parts, it consists of CNC system, frequency conversion spindle system, electrical control panels, power control section, servo drives control and machine tool semi-physical simulation model, and displays all the action of the machine tool.