Check patentability & draft patents in minutes with Patsnap Eureka AI!

Special motion control method for electric discharge machine based on G-code

A motion control and EDM technology, applied in electric processing equipment, manufacturing tools, metal processing equipment, etc., can solve the problems of long G code code length, loss of control of EDM machine control, and a lot of time spent on code inspection and verification. Achieve the effect of ensuring normal operation and improving accuracy

Pending Publication Date: 2021-01-29
宁波市博虹机械制造开发有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the variety of G code programming, it is difficult to find out whether there is an error in the G code before decoding the G code, resulting in the risk of control loss of control of the EDM machine using the G code during operation, and the length of the G code code Extremely long, once the code has errors, it takes a lot of time to check and verify the code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Special motion control method for electric discharge machine based on G-code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Embodiments of the present invention are described in further detail below in conjunction with the accompanying drawings:

[0028] Such as figure 1 Shown is a schematic flow chart of the present invention, wherein the reference numerals are: main control module 1 , electric spark module 2 .

[0029] According to the special motion control method for electric discharge forming machine based on G code in this embodiment, the electric discharge forming machine includes a main control module 1 and an electric discharge module 2, the main control module 1 is connected with the electric discharge module 2 through a bus, and the main control module 1 G codes for controlling the motion command parameters of the electric spark module 2 are set, wherein: the program for the main control module 1 to run the G codes includes the following steps:

[0030] Step 1, the main control module 1 receives the G code input by the user;

[0031] Step 2, the main control module 1 reads the G...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a special motion control method for an electric discharge machine based on a G-code. The special motion control method comprises the following steps: a main control module receives the G code input by a user; the main control module reads a G-code file and runs the G-code file; the G-code file is pre-compiled and checked, if yes, a step 5 is executed, and if not, the errortype and the error position are prompted, and an alarm is given out; the G-code is started to be decoded after being pre-compiled; if code processing subprograms do not meet a G-code running requirement, the error type and the error position are prompted, and an alarm is given out; and all line codes of the G-code are identified, the types of all code processing subprograms are identified, decoding the G-code is finished, and the program is ended. Before the G-code runs, the G-code can be checked in advance, the correct rate of the G-code is improved, and uncontrollable errors caused by directrunning of the G-code during running of the electric discharge machine are prevented.

Description

technical field [0001] The invention relates to the technical field of electric discharge forming machine systems, in particular to a special motion control method for electric discharge forming machines based on G codes. Background technique [0002] G code (G-code, also known as RS-274), is the most widely used numerical control (numerical control) programming language, there are multiple versions, mainly used in computer-aided manufacturing to control automatic machine tools. G-code is also sometimes referred to as the G programming language. The G code interpreter is an important module of the all-software CNC system. CNC machine tools usually use G code to describe the machining information of the machine tool, such as tool path, coordinate selection, coolant opening, etc. Interpreting G code as a data block that can be recognized by the CNC system is the main function of the G code interpreter. The openness of the G code interpreter is also a problem that must be con...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): B23H1/00B23H11/00
CPCB23H1/00B23H11/00
Inventor 陈罡张永平
Owner 宁波市博虹机械制造开发有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More