The invention aims at providing a
liquid crystal module automatic code spraying device and a control method thereof. A workpiece automatic alignment mechanism is introduced, and the technical problemthat the
production line relies on manual correcting of the workpiece putting position is solved. The
liquid crystal module automatic code spraying device structurally comprises a controller, a firstsensor, a second sensor, a first visual reader, a second visual reader, a code spraying
machine and the workpiece automatic alignment mechanism, and the method comprises the following steps that the first sensor recognizes that a
liquid crystal module arrives at the alignment execution area; the workpiece automatic alignment mechanism acts; the first visual reader recognizes the position alignment, then, the code spraying
machine is triggered to spray codes, when the second sensor recognizes that the liquid
crystal module arrives the recognizing area, a trigger
signal is sent to the second visual reader, the second visual reader reads the code spraying information, and the recognizing result is fed back to a controller; and the controller marks the code spraying information and reads the abnormal liquid
crystal module, and warning is given for the liquid
crystal module with the abnormal code spraying information reading. The production benefit of the liquid crystal module product can be greatly improved.