A control method for a laser machining device, wherein the laser machining device has a machining space defined therein, the laser machining device comprises a blocking member, a machine body, and a locking unit, the machine body is configured to perform a machining task, the machining space is defined by the machine body and the blocking member, the blocking member has an open state and a closed state, the locking unit is disposed on at least one of the machine body or the blocking member, the locking unit has an unlocked state and a locked state, the blocking member is switchable between the open state and the closed state when the locking unit is in the unlocked state, and the blocking member is in the closed state when the locking unit is in the locked state;
- and the control method comprises:
- controlling the locking unit to be in the unlocked state or the locked state, according to a state of the blocking member detected by a first sensor and/or a progress state of the machining task;
- wherein after controlling the locking unit to be in the locked state, the control method further comprises:
- controlling a second sensor to detect a state of the locking unit;
- and
- controlling the machine body to perform the machining task, in response to the locking unit being in the locked state;
- wherein after controlling the machine body to perform the machining task in response to the locking unit being in the locked state, the control method further comprises:
- sending an unlocked instruction to the locking unit, in response to an interaction unit of the laser machining device being triggered with a machining pause instruction;
- sending the unlocked instruction to the locking unit, in response to the interaction unit being triggered with a machining stop instruction;
- determining whether the machining task is completed, in response to the interaction unit being not triggered with the machining pause instruction and the machining stop instruction;
- and
- sending unlocked instruction to the locking unit, in response to the machining task being completed.