CN113110298A - Engraving program making method - Google Patents

Engraving program making method Download PDF

Info

Publication number
CN113110298A
CN113110298A CN202110331235.9A CN202110331235A CN113110298A CN 113110298 A CN113110298 A CN 113110298A CN 202110331235 A CN202110331235 A CN 202110331235A CN 113110298 A CN113110298 A CN 113110298A
Authority
CN
China
Prior art keywords
engraving
program
character
character array
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110331235.9A
Other languages
Chinese (zh)
Inventor
黄部东
赵以麟
杨军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kocel Intelligent Machinery Ltd
Original Assignee
Kocel Intelligent Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kocel Intelligent Machinery Ltd filed Critical Kocel Intelligent Machinery Ltd
Priority to CN202110331235.9A priority Critical patent/CN113110298A/en
Publication of CN113110298A publication Critical patent/CN113110298A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/408Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by data handling or data format, e.g. reading, buffering or conversion of data
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23DPLANING; SLOTTING; SHEARING; BROACHING; SAWING; FILING; SCRAPING; LIKE OPERATIONS FOR WORKING METAL BY REMOVING MATERIAL, NOT OTHERWISE PROVIDED FOR
    • B23D79/00Methods, machines, or devices not covered elsewhere, for working metal by removal of material
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q17/00Arrangements for observing, indicating or measuring on machine tools
    • B23Q17/22Arrangements for observing, indicating or measuring on machine tools for indicating or measuring existing or desired position of tool or work
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45077Sculpturing manipulator
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45163Laser erosion, take away layer of material by burning, use oxygen, engrave
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/45Nc applications
    • G05B2219/45212Etching, engraving, sculpturing, carving
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

A method for manufacturing an engraving program comprises the following steps: making a character array template library; inputting engraving information; converting the engraving information into an engraving character array; background processing software generates a to-be-written program text; traversing the carved character array, and matching the traversed carved character array with the character array in the template library if traversing of all the carved character arrays is completed; otherwise, continuing; and writing the matched character array into a program to be written, and outputting the engraving program. By the method, the engraving program can be directly written and manufactured in the engraving machine without other equipment for manufacturing or copying. The data loss and interruption are avoided, and meanwhile, the application range is wide.

Description

Engraving program making method
Technical Field
The invention relates to a method for making a software program, in particular to a method for making a carving program.
Background
The method comprises the steps of carving characters and patterns in a carving machine product, wherein the path of the operation track of the characters and patterns is generated by carving track post-processing software installed on a computer, copying a generated carving file to a carving machine controller through a storage medium, selecting the carving file and then executing program operation, operating the carving machine according to carving file codes, and solving the problems that the carving file codes are lost and data are interrupted in the process of copying the carving file from the storage medium to the carving machine controller to cause the operation stop of the carving program.
Disclosure of Invention
In view of the above, it is necessary to provide an engraving program creating method, in which a font library is directly installed in an engraving machine controller, parameters are set by the operation of the engraving machine controller, the sizes of fonts and graphics are changed, an engraving file code is generated and directly stored in the controller, and an engraved file is created.
A method for manufacturing an engraving program is characterized by comprising the following steps:
making a character array template library;
inputting engraving information;
converting the engraving information into an engraving character array;
background processing software generates a to-be-written program text;
traversing the carved character array, and matching the traversed carved character array with the character array in the template library if traversing of all the carved character arrays is completed; otherwise, continuing traversing the character data;
and writing the matched character array into a program to be written to finish the engraving program.
In one embodiment, the character arrays in the template library include words, letters, numbers, patterns, and graphics.
In one embodiment, the engraving information includes character information and parameter information.
In one embodiment, the character information includes at least one of words, letters, numbers, patterns and figures.
In one embodiment, the parameter information includes at least one of font size, font height, font width, font spacing, line spacing, and cutter diameter.
In one embodiment, traversing the engraving character array comprises traversing the character information character array and traversing the parameter information character array, and when traversing the parameter information character array, calculating the engraving starting point according to the parameter information.
In one embodiment, the engraving character array is traversed again according to the engraving starting point.
In one embodiment, the order of traversing the array of characters is consistent with the order of entering the engraving information.
In one embodiment, the engraving information is input in a left-to-right order.
An engraving machine adopts an upper engraving machine program manufacturing method to manufacture an engraving program.
The invention avoids the problems of code loss and data interruption in the copy program by making the engraving program in the engraving machine controller. The engraving machine, the controller and the letter post-processing software are integrated, and the simple, convenient and effective operation of an operator is facilitated.
Detailed Description
In order that the invention may be more fully understood, reference will now be made to the following description. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. As used herein, the terms "vertical," "horizontal," "left," "right," "top," "bottom," "top," and the like are for illustrative purposes only and do not represent the only embodiments.
It should be further noted that, the traversal in the embodiment refers to sequentially making one and only one access to each node in the tree along a certain search route. In colloquial, the traversal is one pass per data.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In one embodiment, a method for creating an engraving program includes the steps of:
making a character array template library;
inputting engraving information;
converting the engraving information into an engraving character array;
background processing software generates a to-be-written program text;
traversing the carved character array, and matching the traversed carved character array with the character array in the template library if traversing of all the carved character arrays is completed; otherwise, continuing;
and writing the matched character array into a program to be written, and outputting the engraving program.
By the method, the engraving program can be directly written and manufactured in the engraving machine without other equipment for manufacturing or copying. The data loss and interruption are avoided, and meanwhile, the application range is wide. The operation is simple and convenient, and the requirement on the skill of an operator is low.
The engraving program manufacturing method is described below with reference to specific embodiments to further understand the concept of the engraving program manufacturing method, and the engraving program manufacturing method includes the following steps:
the method comprises the following steps: making a character array template library in a controller in the engraving machine;
step two: inputting a plurality of information to be engraved on an operation screen of the engraving machine according to requirements;
step three: the engraving information is converted into an engraving character array which can be written into a program or can be recognized by the program through processing software of the controller.
Step four: background processing software of the engraving machine generates a program text to be written. The program text to be written is an empty program, which serves as a carrier for writing the engraving program.
Step five: and traversing the carved character array through a controller of the carving machine. If the traversal of all the engraving character arrays is completed, matching the traversed engraving character arrays with the character arrays in the template library; otherwise, the traversal of the engraved character data is continued.
Step six: and writing the matched character arrays into a program to be written according to the sequence, and finishing the manufacturing of the engraving program.
In one embodiment, in order to expand the application range and adapt to different engraving requirements, the character array in the template library can comprise information such as characters, letters, numbers, patterns, figures and the like.
In one embodiment, in order to meet different requirements of engraving, the engraving information comprises character information and parameter information. That is, the engraving information can input not only information such as characters, letters, numbers, patterns, and figures, but also information such as the font sizes of the characters, letters, and numbers, the character heights, the character widths, the character pitches, and the line pitches. And the cutter information of different diameters can be selected according to the size and specification of the engraved character, and the cutter diameter information is also input into the display screen to be converted and operated through a background program.
In one embodiment, when the input engraving information includes both character information and parameter information, traversing the engraving character array requires traversing the character information character array and traversing the parameter information character array. When traversing the parameter information character array, the controller may calculate a starting point for engraving based on the parameter information. For example, when the word height or the word width is input, the lower cutter position of the engraving machine is different from the preset initial position, and at the moment, the controller recalculates the lower cutter starting point (the engraving starting point) according to the traversed information.
In an embodiment, since the input parameter information changes the starting point of engraving, in order to ensure the accuracy and precision of engraving, the engraving character array needs to be traversed again according to the newly calculated engraving starting point, so as to ensure that all the engraving information is final, updated and accurate information.
In an embodiment, a user may select controllers of different manufacturers or brands according to the requirement of the user, in order to enable the engraving machine to be suitable for programs of different manufacturers or different brands, before the traversed character array is written into the program to be written, program start content matched with the corresponding manufacturer or brand may be written into the program to be written first, then the engraving character array is written into the program to be written, and finally end content matched with the corresponding manufacturer or brand may be written into the end of the program to complete the manufacture of the final engraving program. By writing the starting and ending program contents of the corresponding manufacturer or brand before and after the program to be written, the selection range of the controller of the engraving machine is wider, and the requirements of different users can be met.
In one embodiment, to simplify the algorithm of programming and reduce the difficulty, the sequence of traversing the character array is consistent with the sequence of inputting the engraving information. That is, if the input information is "engraver," the order of traversal is also "engraver.
In one embodiment, the carving information is input from left to right in order to facilitate the operation of the operator for the input carving information, and also to facilitate the viewing and conform to the convention.
In one embodiment, an engraving machine is provided, wherein an engraving program is created by using an engraving program creation method, so that an engraving operation of the engraving machine is realized. The problems of data connection interruption and data loss are solved, different carving requirements can be met, the application range is wider, and the efficiency is higher.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for manufacturing an engraving program is characterized by comprising the following steps:
making a character array template library;
inputting engraving information;
converting the engraving information into an engraving character array;
background processing software generates a to-be-written program text; (background processing software changes: post-processing)
Traversing the carved character array, and matching the traversed carved character array with the character array in the template library if traversing of all the carved character arrays is completed; otherwise, continuing traversing the character data;
and writing the matched character array into a program to be written, and outputting the engraving program.
2. The engraving program making method according to claim 1, wherein the character arrays in the template library include letters, numbers, patterns and figures.
3. The engraving program making method according to claim 1, wherein the engraving information includes character information and parameter information.
4. The engraving program making method according to claim 3, wherein the character information includes at least one of letters, numbers, patterns, and figures.
5. The engraving program making method according to claim 3, wherein the parameter information includes at least one of a font size, a font height, a font width, a font pitch, a line pitch, and a cutter diameter.
6. The engraving program making method according to claim 3, wherein traversing the engraving character array includes traversing the character information character array and traversing the parameter information character array, and the engraving start point is calculated based on the parameter information while traversing the parameter information character array.
7. The engraving program making method according to claim 6, wherein the engraving character array is traversed again according to the engraving start point.
8. The engraving program making method according to claim 1, wherein the order of traversing the character array coincides with the order of inputting the engraving information.
9. The engraving program making method according to claim 1, wherein the engraving information is inputted in the order from left to right.
10. An engraver, characterized in that the engraver program is created by the engraver program creation method described in any one of 1 to 10 above.
CN202110331235.9A 2021-03-30 2021-03-30 Engraving program making method Pending CN113110298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110331235.9A CN113110298A (en) 2021-03-30 2021-03-30 Engraving program making method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110331235.9A CN113110298A (en) 2021-03-30 2021-03-30 Engraving program making method

Publications (1)

Publication Number Publication Date
CN113110298A true CN113110298A (en) 2021-07-13

Family

ID=76712484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110331235.9A Pending CN113110298A (en) 2021-03-30 2021-03-30 Engraving program making method

Country Status (1)

Country Link
CN (1) CN113110298A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339287A (en) * 2010-07-23 2012-02-01 上海晨兴希姆通电子科技有限公司 Method for making BDF (Bitmap Distribution Format) word stock
CN102819238A (en) * 2012-07-28 2012-12-12 西安煤矿机械有限公司 Engraving method for image-text information outline
CN204759169U (en) * 2015-06-09 2015-11-11 三明学院 CNC engraving machine of direct reading working drawing
US20160299486A1 (en) * 2015-04-09 2016-10-13 Kwik Mark, Inc. Inscription Positioning Apparatuses, Systems, and Methods of Making and Using the Same
CN111026778A (en) * 2019-12-16 2020-04-17 华南理工大学广州学院 Data searching method of multifunctional engraving machine based on LabVIEW
CN111301037A (en) * 2019-12-16 2020-06-19 华南理工大学广州学院 Working method of multifunctional engraving machine based on LabVIEW

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102339287A (en) * 2010-07-23 2012-02-01 上海晨兴希姆通电子科技有限公司 Method for making BDF (Bitmap Distribution Format) word stock
CN102819238A (en) * 2012-07-28 2012-12-12 西安煤矿机械有限公司 Engraving method for image-text information outline
US20160299486A1 (en) * 2015-04-09 2016-10-13 Kwik Mark, Inc. Inscription Positioning Apparatuses, Systems, and Methods of Making and Using the Same
CN204759169U (en) * 2015-06-09 2015-11-11 三明学院 CNC engraving machine of direct reading working drawing
CN111026778A (en) * 2019-12-16 2020-04-17 华南理工大学广州学院 Data searching method of multifunctional engraving machine based on LabVIEW
CN111301037A (en) * 2019-12-16 2020-06-19 华南理工大学广州学院 Working method of multifunctional engraving machine based on LabVIEW

Similar Documents

Publication Publication Date Title
US7853869B2 (en) Creation of semantic objects for providing logical structure to markup language representations of documents
JP5925976B1 (en) Machining program editing support device
KR930007555B1 (en) Context-base input/output system
JP5990662B2 (en) Machining program editing support device
CN110968039A (en) Graph cutting and sorting processing method applied to laser cutting numerical control machining
CN113110298A (en) Engraving program making method
JPH06251007A (en) Table data input device
JP2016059989A (en) Robot control device, robot device, robot control method, program, and recording medium
WO2015174341A1 (en) Information processing device, program, and recording medium
US4850726A (en) Word processor provided with an automatic tabset means
JP4646300B2 (en) Repeating line determination device, repeating line determination method, program, and recording medium
JP2006260306A (en) Character input device, program and character input method
US20160202899A1 (en) Handwritten music sign recognition device and program
CN110816133A (en) Lettering processing method, CNC processing device and computer storage medium
JP4952345B2 (en) Programming device
JPS58103035A (en) Tab position display
JP5563706B1 (en) Document file generation apparatus, document file generation method, and document file generation program
JP2024011850A (en) Control program editing device, editing method, and program
CN104903802A (en) Screen creation editor device and program
WO1989005485A1 (en) Graphics definition method in automatic programming
JPS6118081A (en) Candidate character selection system for recognition of handwritten character
JPS5814249A (en) Display control system for ruled line
JPH0736433A (en) Character data base preparing device
JPH0896153A (en) Layout processor
JP3978173B2 (en) Form creation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210713