CN109542048A - A kind of display methods of digital control system mode G code - Google Patents

A kind of display methods of digital control system mode G code Download PDF

Info

Publication number
CN109542048A
CN109542048A CN201710866855.6A CN201710866855A CN109542048A CN 109542048 A CN109542048 A CN 109542048A CN 201710866855 A CN201710866855 A CN 201710866855A CN 109542048 A CN109542048 A CN 109542048A
Authority
CN
China
Prior art keywords
code
mode
control system
digital control
hmi
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
CN201710866855.6A
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.)
Kede Holding Co Ltd
Dalian Kede Numerical Control Co Ltd
Original Assignee
Kede Holding Co 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 Kede Holding Co Ltd filed Critical Kede Holding Co Ltd
Priority to CN201710866855.6A priority Critical patent/CN109542048A/en
Publication of CN109542048A publication Critical patent/CN109542048A/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/4093Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • G05B19/40937Numerical 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 part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine concerning programming of machining or material parameters, pocket machining
    • 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/32Operator till task planning
    • G05B2219/32161Object oriented control, programming

Landscapes

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

Abstract

The present invention devises a kind of display methods of digital control system mode G code, and G code can carefully and neatly be divided into several groups arrangement display on HMI;For feeding back G code contained by the NC program segment being carrying out;State is executed for precisely describing current lathe;For observing related G code applying frequency, behaviour in service;For determining default system correlation G code;The present invention, which can be observed easily, to be executed mode G code situation and realizes situation convenient for analyzing the concrete operations on lathe of related mode G code in numerical control system implementation, analyze the mode G code problem in use, be conducive to optimize Computerized Numerical Control System Program write, execution efficiency, just seem more important in the display that digital control system carries out mode G code in live processing.

Description

A kind of display methods of digital control system mode G code
Technical field
The present invention relates to HMI interface display control field, specially a kind of display methods of digital control system mode G code.
Background technique
Numerically-controlled machine tool can guarantee that accurate processing, high production efficiency, preparatory period are short, save special technological equipment, need Mode G code is accurately used in NC program, all information of digital control system processing is had recorded in NC program, wherein mode G Code determines working motion type of gesture and orientation, cutter radius compensation, tool length compensation, data unit setting, coordinate The relevant informations such as system, polar coordination programming.In GNC system, the numerical control program for no matter being automatically generated or working out manually is all It is made of mode G code, computer can not be processed directly according to digital control system, it is necessary to be converted into hold according to G code Capable program, so that computer carries out machining simulation or control machine tooling actual parts, therefore mode G code is for numerical control system System is very important one piece.In actual processing, the G code executed to processing is examined closely, observes and be just particularly important, Accurately show that G code can determine that whether lathe executive condition is correct, can also remind operator's lathe to show executive condition is all to be Correct process route, corrects a mistake promptly, and prevents mistake program from continuing.Therefore designing a kind of digital control system interface can be mode G code with eye-catching, understandable mode show be we realize main target.Following figure lower left corner region is mode G code Display area.Because system interface needs content to be shown more, a region individually is stored in the display of mode G code, When we execute the program of corresponding NC, operator can determine whether lathe executes correct according to the executive condition of G code, this There is very important meaning to scene processing.So we devise a kind of intuitive, eye-catching, real-time display G code replacement, The operation shape condition of lathe can be understood in time.
Summary of the invention
The present invention develops a kind of display methods of digital control system mode G code, given initial according to today's numerical control system Mode G code, when system executes NC program, the change of G code in program, system interface carries out real-time update and shows that existing execute is worked as The mode G code of preceding program segment exists and is shown on corresponding G code group region.And the corresponding every update one of mode G code group Secondary, the color change of corresponding mode G code display area is primary, and color group stores 5 kinds of colors, and recycling replacing solves above-mentioned The technical issues of proposition.
The technological means that the present invention uses is as follows: a kind of display methods of digital control system mode G code, including walks as follows It is rapid:
S1: the HMI of digital control system shows mode G code with grid layout type;
S2: all mode G codes are divided into multiple mode G code groups, the mode G generation of each mode G code group Code is shown on the fixed position HMI;
S3: being arranged according to digital control system function, is its allocating default mode G code, the mould of each mode G code group If a default value can be set in state G code, be directly deposited in configuration file, if without default value, just with-, i.e., it is horizontal Line, instead of being stored in configuration file;
S4: the initial value obtained from mode G code configuration file is successively discharged by lateral sequence to be shown on HMI;
S5: when digital control system executes NC program segment, if this group of G code be not on mode G code and existing HMI in program segment Together, then such G code of HMI is updated;
The upper mode G code group more new change of S6:HMI is primary, the back of the mode G code of the mode G code group Scape color is also primary with replacement, this color is sequentially to be cyclically updated display by ready color group;
S7: it is shown if the multiple mode G codes contained in program segment all need to update, every kind of G code is performed both by step S5 and step S6, background color change are all updated display by the same color group.
The mode that all mode G codes are divided into multiple mode G code groups is by the step S2, by all mode G generations Code is by function division at class, every a kind of as group.
Further, in the above-mentioned technical solutions, the digital control system mode G code display methods is used for all mode G code is by function division at multiple mode G code groups, and the mode G code of each mode G code group is in HMI with grille cloth Office's mode is shown;
Digital control system default mode G code is obtained from respective profiles, if there is default value, then such G on HMI Code viewing area shown, if be shown as without default value-;
It, should on HMI if the mode G code in program segment is different from default value when digital control system executes NC program Class mode G code is updated display, if there is multiple mode G codes require to update display, is then performed simultaneously;
The upper every class mode G code more new change of HMI is primary, such G code background color is also primary along with replacement, such G code background color is sequentially to be cyclically updated display by the color group pre-seted.
Further, in the above-mentioned technical solutions, HMI is upper shows mode G code with grid layout type.
Further, in the above-mentioned technical solutions, classification display mode G code, all mode G codes by function point At 30 kinds;According to layout type, the arrangement window for forming a 3*10 shows the mode G code of all kinds.
Further, in the above-mentioned technical solutions, when mode G code changes in NC program segment, the corresponding mode G of HMI Code is updated.
The invention has the benefit that
(1) display methods of the digital control system mode G code of the invention, is capable of providing a kind of digital control system interface Can be mode G code with eye-catching, understandable mode is shown;
(2) display methods of the digital control system mode G code of the invention, individually deposits the display of mode G code It is placed on a region, when we execute the program of corresponding NC, operator can determine whether that lathe is held according to the executive condition of G code Whether row is correct;
(3) display methods of the digital control system mode G code of the invention, the processing for improving numerically-controlled machine tool is accurate, It improves production efficiency.
Detailed description of the invention
The present invention is described in further detail with specific implementation method with reference to the accompanying drawing.
Fig. 1 is layout of the mode G code of the present invention on the entire interface HMI;
Fig. 2 is that mode G code of the present invention updates flow for displaying figure;
Fig. 3 is mode G code background color sequence group of the present invention.
Specific implementation method
Clear, complete description is carried out to technical solution of the present invention with reference to the accompanying drawings and examples, of the invention In description, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outside" etc. The orientation or positional relationship of instruction is to be based on the orientation or positional relationship shown in the drawings, and is merely for convenience of the description present invention and letter Change description, rather than indicates or imply that signified device or element must have a particular orientation, with specific orientation construction And operation, therefore be not considered as limiting the invention.
Embodiment 1
As shown in Figure 1, a kind of display methods of digital control system mode G code as shown in Figure 1, includes the following steps:
Step 1: the HMI of digital control system gives the region for showing mode G code with grid layout type;
Step 2: by all mode G codes by function division at class, every one kind mode G code is shown on the fixed position HMI Show;
Step 3: being arranged according to digital control system function, be its allocating default mode G code, if every one kind mode G code A default value can be set, be directly deposited in configuration file, if without default value, just with-(horizontal line) replace be stored in In configuration file;
Step 4: the initial value obtained from mode G code configuration file is successively discharged by lateral sequence to be shown on HMI;
Step 5: when digital control system executes NC program segment, if mode G code and such G code on existing HMI in program segment Difference, then such G code of HMI is updated, as shown in Figure 2;
Every class mode G code more new change is primary on step 6:HMI, such G code background color is also primary with replacement, This color is sequentially to be cyclically updated display, as shown in Figure 3 by ready color group;
Step 7: being shown if the multiple mode G codes contained in program segment all need to update, that every kind G code all needs to execute Step 5, step 6. (background color change is all updated display by the same color group);
As shown in Fig. 2, digital control system can carry out the solution of one-part form to NC program after given one NC program of digital control system It reads, the G code being resolved in program segment, if different from the G code shown on HMI, send new G code and carried out to HMI Update display.Meanwhile the background color of the G code carries out display of postponing according to color sequences.
As shown in Figure 1, the interface HMI includes digital control system related status information viewing area, program coordinate area, relative coordinate Area, soft keypad, G code viewing area, tool-information area and hardkey area, described program coordinate area, the relative coordinate area and described Soft keypad is successively arranged side by side on the downside of digital control system related status information viewing area, and the G code viewing area is set to On the downside of described program coordinate area, the tool-information area is set on the downside of the relative coordinate area, and the hardkey area is set to institute It states on the downside of G code viewing area, the tool-information area and the soft keypad.
As shown in figure 3, then the background color of G code returns to green according to green, yellow, light gray, dark brown and white The color sequences for carrying out subsequent cycle carry out display of postponing.
As alternative embodiment, other color sequences can also be used.
The display methods of the digital control system mode G code of the invention is capable of providing a kind of digital control system interface energy handle With eye-catching, understandable mode is shown mode G code, a region individually is stored in the display of mode G code, when us When executing the program of corresponding NC, operator can determine whether that whether lathe executes correct, improves numerical control according to the executive condition of G code The processing of lathe is accurate, improves production efficiency.The present invention is suitable for HMI interface display control technology field, has wide Use prospect.
The above, preferable specific implementation method only of the invention, but protection scope of the present invention and not limited to this, Anyone skilled in the art in the technical scope disclosed by the present invention, according to the technique and scheme of the present invention and its Inventive concept is subject to equivalent substitution or change, is all included within the scope of the present invention.

Claims (5)

1. a kind of display methods of digital control system mode G code, special type are: including the following steps:
S1: the HMI of digital control system shows mode G code with grid layout type;
S2: all mode G codes are divided into multiple mode G code groups, the mode G code of each mode G code group exists HMI is shown on fixed position;
S3: being arranged according to digital control system function, is its allocating default mode G code, the mode G of each mode G code group If a default value can be set in code, be directly deposited in configuration file, if without default value, just with-, i.e. horizontal line, Instead of being stored in configuration file;
S4: the initial value obtained from mode G code configuration file is successively discharged by lateral sequence to be shown on HMI;
S5: when digital control system executes NC program segment, if mode G code and this group of G code difference on existing HMI in program segment, Such G code of HMI is updated;
The upper mode G code group more new change of S6:HMI is primary, the background face of the mode G code of the mode G code group Color is also primary with replacement, this color is sequentially to be cyclically updated display by ready color group;
S7: if the multiple mode G codes contained in program segment all need update show, every kind of G code be performed both by step S5 and Step S6, background color change are all updated display by the same color group.
2. digital control system mode G code display methods according to claim 1, it is characterised in that: the digital control system mould State G code display methods was used for all mode G codes by function division into multiple mode G code groups, each mode G generation The mode G code of code character is shown in HMI with grid layout type;
Digital control system default mode G code is obtained from respective profiles, if there is default value, then such G code on HMI Viewing area shown, if be shown as without default value-;
When digital control system executes NC program, if the mode G code in program segment is different from default value, such upper mould of HMI State G code is updated display, if there is multiple mode G codes require to update display, is then performed simultaneously;
The upper every class mode G code more new change of HMI is primary, such G code background color is also primary along with replacement, such G generation Code background color is sequentially to be cyclically updated display by the color group pre-seted.
3. digital control system mode G code display methods according to claim 1, it is characterised in that: HMI is upper to be laid out with grid Mode shows mode G code.
4. digital control system mode G code display methods according to claim 2, it is characterised in that: classification display mode G generation All mode G codes, are divided into 30 kinds by function by code;According to layout type, the arrangement window for forming a 3*10 shows institute There is the mode G code of type.
5. digital control system mode G code display methods according to claim 4, it is characterised in that: mode G in NC program segment When code changes, the corresponding mode G code of HMI is updated.
CN201710866855.6A 2017-09-22 2017-09-22 A kind of display methods of digital control system mode G code Pending CN109542048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710866855.6A CN109542048A (en) 2017-09-22 2017-09-22 A kind of display methods of digital control system mode G code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710866855.6A CN109542048A (en) 2017-09-22 2017-09-22 A kind of display methods of digital control system mode G code

Publications (1)

Publication Number Publication Date
CN109542048A true CN109542048A (en) 2019-03-29

Family

ID=65830650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710866855.6A Pending CN109542048A (en) 2017-09-22 2017-09-22 A kind of display methods of digital control system mode G code

Country Status (1)

Country Link
CN (1) CN109542048A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06214629A (en) * 1993-01-19 1994-08-05 Hitachi Seiki Co Ltd Effective series display method and device for multi-series nc device
JP2010003287A (en) * 2009-03-18 2010-01-07 Osaka Prefecture Nc program input device
JP2010026920A (en) * 2008-07-23 2010-02-04 Fanuc Ltd Numerical controller for displaying additional information of machining program
CN102023615A (en) * 2010-10-25 2011-04-20 武汉华中数控股份有限公司 Command sequence-based method for displaying processing state information of digital control machine tool
CN102854831A (en) * 2011-06-29 2013-01-02 株式会社捷太格特 Block execution sequence display system
CN103513604A (en) * 2012-06-15 2014-01-15 发那科株式会社 Numerical controller for displaying virtual control panel
CN106647628A (en) * 2016-12-26 2017-05-10 华中科技大学 Real time collection method for G code execution state data during numerical control processing procedures
CN106843156A (en) * 2016-05-13 2017-06-13 捷准科技股份有限公司 Computer numerical control machine tool for generating G code file for storage and executing processing
CN107145129A (en) * 2017-04-17 2017-09-08 华中科技大学 A kind of numeral control processing method of dual code synergy

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06214629A (en) * 1993-01-19 1994-08-05 Hitachi Seiki Co Ltd Effective series display method and device for multi-series nc device
JP2010026920A (en) * 2008-07-23 2010-02-04 Fanuc Ltd Numerical controller for displaying additional information of machining program
JP2010003287A (en) * 2009-03-18 2010-01-07 Osaka Prefecture Nc program input device
CN102023615A (en) * 2010-10-25 2011-04-20 武汉华中数控股份有限公司 Command sequence-based method for displaying processing state information of digital control machine tool
CN102854831A (en) * 2011-06-29 2013-01-02 株式会社捷太格特 Block execution sequence display system
CN103513604A (en) * 2012-06-15 2014-01-15 发那科株式会社 Numerical controller for displaying virtual control panel
CN106843156A (en) * 2016-05-13 2017-06-13 捷准科技股份有限公司 Computer numerical control machine tool for generating G code file for storage and executing processing
CN106647628A (en) * 2016-12-26 2017-05-10 华中科技大学 Real time collection method for G code execution state data during numerical control processing procedures
CN107145129A (en) * 2017-04-17 2017-09-08 华中科技大学 A kind of numeral control processing method of dual code synergy

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱晓春: "《数控技术》", vol. 1, 机械工业出版社, pages: 99 - 102 *

Similar Documents

Publication Publication Date Title
CN107256005B (en) BIM technology-based steel bar numerical control machining method and equipment
CN104407576B (en) A kind of implementation method and control system of universal manufacturing unit
CN103699055A (en) Intelligent numerical control machining programming system and intelligent numerical control machining programming method for aircraft structural parts
CN109740206A (en) A kind of element type curtain wall parametric modeling and project amount statistical method based on BIM
CN104281132A (en) Information collection system and method for machine manufacturing workshop in production process based on machine vision
US10222783B2 (en) Numerical control device, NC machining device, and NC machining method
CN105159239A (en) Method for automatically updating SPC strategy and SPC automatic strategy system
CN111260181A (en) Workshop self-adaptive production scheduling device based on distributed intelligent manufacturing unit
CN109333521B (en) Intelligent generation method for coordinates of bending teaching points of metal plate bending robot
CN111353241A (en) G code-based mathematical modeling method and application
EP2163957B1 (en) Visualization method for electrical machine operation models based on mechanical machine operation models
CN109542048A (en) A kind of display methods of digital control system mode G code
CN117032088B (en) Intelligent servo control method based on high-precision internal high-pressure forming system
CN112654943A (en) Manufacturing system design assistance device
CN104898040A (en) Printed circuit board (PCB) automation test method and system
EP2919080B1 (en) Job plan display system
US20150236901A1 (en) Control system management apparatus
JP2013250713A (en) Schedule management device and its management method and management program and schedule management system having the same
CN108459561A (en) A kind of formula optimization method of CNC batch machinings
CN112488410A (en) Production equipment performance optimization method and device based on equipment comprehensive efficiency
CN110737959A (en) Synchronous design method for multi-machine-tool selection and structural topology optimization in additive manufacturing
KR101847417B1 (en) Automatic system of wire-cut electro discharge
JP2016049578A (en) Wire cut electric discharge machine having management function of machining information
KR102455108B1 (en) Application recommendation methods for machine tools
CN118072111B (en) Intelligent vehicle frame deburring system and method based on artificial intelligence

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: 20190329