Because the laser marking machine is based on the cooperation of X/Y galvanometer deflection to reflect the laser onto the worktable for accurate carving. The control of the galvanometer is controlled by the controller open-loop, so it must be linear, that is, the relationship between the input signal and the deflection angle is linear.
Because the galvanometer is a fast and precise machine, it is required that the acceleration from one working state to another should be as large as possible, so that the time for marking space is infinitely small. The galvanometer motion adopts the buffer motion mode, that is, the user needs to transfer the motion and process data to the axis motion buffer, and then start the buffer motion. The motion controller will successively execute the motion data transmitted by the user until all the motion data are completed.
In the laser galvanometer motion control system, there are not only motion control, but also laser control. How to effectively deal with the cooperation between the galvanometer movement and the laser switch is a very important issue. Only by effectively coordinating the relationship between the laser and the movement, can the precise trajectory be achieved.
Motion control: when marking, the laser will move along the given marking track according to the set marking speed. When executing the marking related instructions, the laser galvanometer motion controller will automatically turn on the laser. If the next marking command is still on, the laser will remain on until the end of the last marking command or the execution of the buffer command. If a jump command is encountered in the buffer, the laser will automatically turn off, and the laser will not turn on until the marking command is encountered.
Before starting the movement, it is necessary to adjust the galvanometer coordinates and empty the buffer zone to ensure the correct marking track.
Laser control: It mainly includes the switch control of the laser and the duration of sending the laser. The OP command is used to control the laser disconnection. The control of the laser energy can correspond to the size of the control energy through the analog quantity, the digital quantity output port, and the duty ratio of the output port PWM according to the different lasers.