CN-122018828-A - PCB printing method, computer equipment and storage medium
Abstract
The invention relates to the technical field of PCB manufacture, and discloses a PCB printing method, computer equipment and storage medium, wherein the method is used for realizing the rapid adaptation and unified management of different MES system data formats by innovatively introducing the distinction between fixed printing information and variable printing information and unifying an information hierarchy structure and D code identifiers, so that the customized development cost for different customer MES systems is remarkably reduced, the production flexibility and efficiency are greatly improved, in addition, the target printing information generated by the variable printing information and the fixed printing information is printed on a PCB, thereby ensuring the whole process traceability of PCB production, not only meeting the requirements of modern PCB production on high efficiency, flexibility and traceability, but also providing powerful support for the intelligent and automatic transformation of PCB factories, and promoting the technical progress of the whole industry.
Inventors
- GAN MINGHUI
- PENG MINCONG
- LAN DAN
- TAN YANYING
- ZHANG GUICHAO
- LI XIAOJUN
- Wei Qiuchan
- MO JINGCHAO
- ZHANG YUWEN
- LI YETONG
Assignees
- 广东正业科技股份有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260203
Claims (10)
- 1. A method of printing a PCB, the method comprising: s101, acquiring fixed printing information, an information hierarchy structure, a plurality of D code identifiers and position and posture information from a production drawing; S102, acquiring a plurality of variable printing information from an MES system; s103, according to the information hierarchical structure, matching each piece of variable printing information with a corresponding piece of D code identification; S104, generating image information corresponding to the code type according to the D code identification corresponding to each piece of variable printing information; s105, embedding the image information corresponding to each piece of variable printing information into the corresponding position of the fixed printing information according to the position and posture information, and generating target printing information; s106, printing the target printing information on the PCB.
- 2. The PCB printing method of claim 1, wherein the S101 includes: S1011, acquiring fixed printing information and a plurality of D code identifiers from a printing layer of a production drawing, and rasterizing the fixed printing information; s1012, performing image optimization processing on the rasterized fixed printing information according to the production process requirements; s1013, acquiring a stored information hierarchical structure; S1014, acquiring position and posture information from a reference layer of the production drawing, or receiving position and posture information manually added at a line layer of the production drawing in a mode of positioning points and positioning frames.
- 3. The PCB printing method of claim 2, wherein the information hierarchy includes Pnl-Group-Set-Pcs.
- 4. The PCB printing method of claim 1, wherein S102 includes: S1021, acquiring a plurality of variable printing information related to the current production task from the MES system.
- 5. The PCB printing method of claim 1, wherein S103 includes: S1031, determining the hierarchical position of each piece of variable printing information according to the information hierarchical structure; s1032, each piece of variable printing information is matched with one D code identifier of the corresponding level position.
- 6. The PCB printing method of claim 1, wherein the S106 includes: S1061, performing expansion and contraction transformation on the target printing information to adapt to the actual size of the PCB; S1062, printing the target printing information after the expansion and contraction transformation on the PCB.
- 7. The PCB printing method of claim 1, wherein after S106, the method further comprises: And S107, uploading and binding the target printing information after printing is finished so as to be convenient for tracing.
- 8. The PCB printing method of claim 7, wherein after S106, the method further comprises: And S108, after printing is completed, reading the code of the target printing information, and grading the printing quality according to the code reading result.
- 9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor, when executing the computer program, implements the PCB printing method of any of claims 1-8.
- 10. A computer readable storage medium having stored thereon computer executable instructions for execution by a computer processor to implement the PCB printing method of any of claims 1-8.
Description
PCB printing method, computer equipment and storage medium Technical Field The present invention relates to the field of PCB manufacturing technologies, and in particular, to a PCB printing method, a computer device, and a storage medium. Background With the continued development of the PCB industry, PCB factories are gradually moving toward intelligent and automated manufacturing. In the transformation process, the realization of the whole process tracing of PCB production information becomes a key requirement for intelligent and automatic manufacturing. In the current market environment, traditional PCB character printing techniques, such as screen printing and laser lettering, have become increasingly difficult to meet the requirements of modern production. Meanwhile, the technology of spray printing and coding (hereinafter referred to as printing technology) is continuously developed, and the printing quality and precision of the technology are obviously improved, so that the technology becomes an important means for realizing the whole process tracing. However, the existing printing technology faces a significant problem that different MES systems (manufacturing execution systems) provide different data formats of print information, and lack a unified standard. This results in a significant amount of custom development work required by the PCB manufacturer to adapt to different MES systems, not only increasing development costs, but also reducing production flexibility and efficiency. Therefore, in order to meet the market demand for efficient, flexible and traceable PCB printing, improvements to existing printing technologies are urgently needed to achieve rapid adaptation and unified management of different MES systems. The above information is presented as background information only to aid in the understanding of the invention and is not intended to determine or acknowledge whether any of the foregoing is useful as prior art with respect to the invention. Disclosure of Invention The invention provides a PCB printing method, computer equipment and a storage medium, which are used for solving the problems in the prior art. In order to achieve the above object, the present invention provides the following technical solutions: in a first aspect, the present invention provides a PCB printing method, the method comprising: S101, acquiring fixed printing information, an information hierarchy structure, jump code rules of each hierarchy, D code identification rules corresponding to various coding types and position and posture information from a production drawing; S102, acquiring a plurality of variable printing information from an MES system; s103, according to the information hierarchical structure, matching each piece of variable printing information with a corresponding piece of D code identification; s104, generating image information corresponding to the code type according to the D code identification corresponding to each piece of variable printing information, wherein one D code identification corresponds to one type of printing information S105, embedding the image information corresponding to each piece of variable printing information into the corresponding position of the fixed printing information according to the position and posture information, and generating target printing information; s106, printing the target printing information on the PCB. Further, in the PCB printing method, the S101 includes: S1011, acquiring fixed printing information and a plurality of D code identifiers from a printing layer of a production drawing, and rasterizing the fixed printing information; s1012, performing image optimization processing on the rasterized fixed printing information according to the production process requirements; s1013, acquiring a stored information hierarchical structure; S1014, acquiring position and posture information from a reference layer of the production drawing, or receiving position and posture information manually added at a line layer of the production drawing in a mode of positioning points and positioning frames. Further, in the PCB printing method, the information hierarchy structure comprises Pnl-Group-Set-Pcs. Further, in the PCB printing method, the S102 includes: S1021, acquiring a plurality of variable printing information and coding types related to the current production task from the MES system. Further, in the PCB printing method, the S103 includes: S1031, determining the hierarchical position of each piece of variable printing information according to the information hierarchical structure; s1032, each piece of variable printing information is matched with one D code identifier of the corresponding level position. Further, in the PCB printing method, the S105 includes: S1061, performing expansion and contraction transformation on the target printing information to adapt to the actual size of the PCB; S1062, printing the target printing information after the expa