The control unit 1 connecting between the laser oscillator 2 and the laser machine 11 is a digital computer including a ROM (read-only memory), a RAM (random access memory), a CPU (microprocessor) and input and output ports interconnected by a bidirectional bus.