CN111324401A - Workpiece machining program visualization method, device and system and storage medium - Google Patents

Workpiece machining program visualization method, device and system and storage medium Download PDF

Info

Publication number
CN111324401A
CN111324401A CN201811542676.8A CN201811542676A CN111324401A CN 111324401 A CN111324401 A CN 111324401A CN 201811542676 A CN201811542676 A CN 201811542676A CN 111324401 A CN111324401 A CN 111324401A
Authority
CN
China
Prior art keywords
workpiece
program
processing program
visualization method
intermediate result
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
CN201811542676.8A
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to CN201811542676.8A priority Critical patent/CN111324401A/en
Priority to PCT/EP2019/085697 priority patent/WO2020127301A1/en
Publication of CN111324401A publication Critical patent/CN111324401A/en
Pending legal-status Critical Current

Links

Images

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/406Numerical 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 monitoring or safety
    • G05B19/4069Simulating machining process on screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35304Real time analysis, check of program, just before 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/35Nc in input of data, input till input file format
    • G05B2219/35333Display raw material, blank, tool locus, workpiece, alarm if error
    • 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/35Nc in input of data, input till input file format
    • G05B2219/35344Display part, programmed locus and not yet machined, uncompleted portions of part
    • 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/36Nc in input of data, input key till input tape
    • G05B2219/36079Replace faulty instructions and execute only that portion of the program
    • 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)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Automation & Control Theory (AREA)
  • Numerical Control (AREA)

Abstract

The invention provides a workpiece machining program visualization method, which comprises the following steps: collecting processing information, wherein the processing information comprises: a workpiece machining program and workpiece initial parameters; compiling the workpiece machining program in real time to generate an intermediate code; generating a moving path of the workpiece by using the intermediate code; and generating at least one intermediate result for reproducing the workpiece processing program by using the initial parameters of the workpiece and the moving path of the workpiece, and displaying the at least one intermediate result in a first display area.

Description

Workpiece machining program visualization method, device and system and storage medium
Technical Field
The present invention relates to the field of industrial application, and more particularly, to an improved workpiece processing program visualization method, apparatus, system, and storage medium.
Background
At present, a workpiece processing program can only be compiled for a whole program after all editing is finished, and the intermediate form of a workpiece in processing cannot be displayed in real time; and if the program has problems of grammar or semantic errors or path interference of the workpiece and the like, the program errors cannot be displayed in real time in the existing workpiece processing process.
Disclosure of Invention
Embodiments of the present invention are directed to improving workpiece processing program visualization methods. In particular, embodiments of the present invention provide a workpiece processing program visualization method, apparatus, system, and storage medium.
According to one aspect of the present invention, a workpiece processing program visualization method includes: collecting processing information, wherein the processing information comprises: a workpiece machining program and workpiece initial parameters; compiling the workpiece machining program in real time to generate an intermediate code; generating a moving path of the workpiece by using the intermediate code; and generating at least one intermediate result for reproducing the workpiece processing program by using the initial parameters of the workpiece and the moving path of the workpiece, and displaying the at least one intermediate result in a first display area.
In one embodiment, the workpiece processing program visualization method further comprises: storing the intermediate code, the movement path of the workpiece, and the at least one intermediate result in real time.
In one embodiment, the workpiece processing program visualization method further comprises: establishing a visual set, generating intermediate results of the workpiece machining program corresponding to all program segments from the beginning to the latest editing position of the workpiece machining program in real time, adding the intermediate results to the visual set one by one, and displaying the intermediate results in a first display area according to the sequence of the visual set.
In one embodiment, the workpiece processing program visualization method further comprises: and generating corresponding marking information while generating each intermediate result, and associating the marking information with the intermediate result.
In one embodiment, the workpiece processing program visualization method further comprises: the marking information includes: a line number of a last line of a program segment used to generate the intermediate result.
In one embodiment, the workpiece processing program visualization method further comprises: obtaining an intermediate result that was most recently added to the visualization set; extracting a next program segment from the workpiece machining program by using the marking information and generating a moving path of the workpiece corresponding to the next program segment; and generating an intermediate result for reproducing the workpiece machining program by using the intermediate result added to the visualization set last time and the moving path of the workpiece.
In one embodiment, the workpiece processing program visualization method further comprises: when the workpiece machining program is updated, acquiring position information of an updated program segment, comparing the position information with the mark information to determine a corresponding intermediate result in the visualization set, and regenerating and replacing the intermediate result after the corresponding intermediate result in the visualization set.
In one embodiment, the workpiece processing program visualization method further comprises: the workpiece processing program is divided into at least two program segments in sequence from the start of the workpiece processing program to the latest editing position, and the program segments comprise a preset number of rows of continuous programs and/or program modules.
In one embodiment, the program module includes a conditional instruction, a jump instruction, and an intermediate program beginning with the conditional instruction and ending with the jump instruction.
In one embodiment, the workpiece processing program visualization method further comprises: and detecting the workpiece processing program, and displaying error information in a second display area adjacent to the first display area when the error information is detected.
In one embodiment, the error information includes: at least one of lexical error, grammar error, semantic error, debugging error, interference of the moving path of the workpiece and interpolation error.
According to another aspect of the present invention, a workpiece machining program visualization device includes: an acquisition component configured to acquire processing information, wherein the processing information includes: a workpiece machining program and workpiece initial parameters; a compiling component configured to compile the workpiece processing program in real time, generating an intermediate code; an execution unit configured to generate a movement path of the workpiece using the intermediate code; and a display part configured to generate the at least one intermediate result for reproducing the machining program result using the workpiece initial parameter and the movement path of the workpiece, and display the at least one intermediate result on a first display area.
In one embodiment, the workpiece processing program visualization device further comprises: a storage component configured to store the intermediate code, the movement path of the workpiece, and the at least one intermediate result in real time.
According to yet another aspect of the invention, a processing system comprises: one or more processors; a memory; and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the workpiece processing program visualization method of any of the above.
According to yet another aspect of the invention, a storage medium stores one or more programs, the one or more programs comprising instructions, which when executed by a data processing system, cause the data processing system to perform the workpiece processing program visualization method of any of the above.
It is to be understood that both the foregoing general description and the following detailed description of the present invention are exemplary and explanatory and are intended to provide further explanation of the invention as claimed.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principle of the invention. In the drawings:
FIG. 1 is a flow diagram of a workpiece processing program visualization method according to one embodiment of the present invention;
FIG. 2 is a schematic view of a workpiece processing program visualization device according to one embodiment of the present invention;
FIG. 3 is a display interface according to one embodiment of the invention.
Detailed Description
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. Reference will now be made in detail to the preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts. Further, although the terms used in the present invention are selected from publicly known and used terms, some of the terms mentioned in the description of the present invention may be selected by the applicant at his or her discretion, the detailed meanings of which are described in relevant parts of the description herein. Furthermore, it is required that the present invention is understood, not simply by the actual terms used but by the meaning of each term lying within.
Fig. 1 schematically shows a flow chart of a workpiece processing program visualization method according to an embodiment of the invention. In this embodiment, the workpiece processing program visualization method mainly includes four steps S1 to S4. In step S1, processing information is collected, wherein the processing information mainly includes a workpiece processing program and workpiece initial parameters; in step S2, the workpiece processing program is compiled in real time to generate an intermediate code; in step S3, a movement path of the workpiece is generated using the intermediate code; in step S4, at least one intermediate result for reproducing the workpiece processing program is generated using the workpiece initial parameters and the movement path of the workpiece, and the at least one intermediate result is displayed in the first display area 100. The invention solves the problem that the workpiece processing program can not display the intermediate form of the workpiece in the processing process in real time, so that an operator can conveniently check the workpiece processing program before actually running the workpiece processing program, the error rate in actual processing is reduced, and the workpiece processing efficiency is improved.
In step S1, the workpiece processing program may be acquired in various ways. For example, when a workpiece machining program needs to be input, batch import or line-by-line addition of the workpiece machining program can be performed by the system, and the workpiece machining program edited and added by the user can be stored in the memory of the processing machine. Typically, the workpiece machining program includes at least one workpiece machining instruction, and the workpiece machining program may be recorded in the form of, for example, a base code; the workpiece initial parameter may be, for example, the three-dimensional structure of the workpiece blank. In steps S2 and S3, the workpiece processing program is compiled in real time, an intermediate code is generated, and then a movement path of the workpiece is generated based on the intermediate code. In an actual machining process of a machine tool, a relative motion is generated between a workpiece to be machined, such as a tool of the machine tool, and the workpiece to be machined to complete machining (e.g., cutting, paring, etc.) of the workpiece. The invention is not only applicable to machine tool machining systems, but also can be expanded to other machining systems with similar assembly processes. In step S4, at least one intermediate result for reproducing the workpiece processing program is generated using the initial parameters of the workpiece and the moving path of the workpiece, that is, the execution result of the workpiece processing program is simulated in advance, the real-time execution result of the workpiece processing program is displayed visually, and finally the executed intermediate result is displayed in the first display area 100.
The present invention also provides a workpiece processing program visualization apparatus, and fig. 2 is a schematic diagram of a workpiece processing program visualization apparatus according to an embodiment of the present invention, which includes: acquisition component 10, compiling component 20, execution component 30, and display component 40. The acquisition component 10 is configured to acquire process information, for example, the acquisition component 10 may provide a user interface for receiving user input process information, which may include, among other things: workpiece machining program and workpiece initial parameters. The compiling component 20 is configured to compile the workpiece processing program in real time and generate the intermediate code, and in a preferred embodiment, the compiling component 20 may also check errors in the workpiece processing program, for example, lexical errors, grammatical errors, semantic errors, debugging errors of the program code, interference of moving paths of the workpiece, interpolation errors, and the like. The execution part 30 is configured to generate a movement path of the workpiece using the intermediate code, that is, the execution part 30 receives the intermediate code from the compiling part 20, calculates the movement path of the workpiece from the intermediate code, and transmits the movement path of the workpiece as an output to the display part 40. The display component 40 is configured to generate at least one intermediate result for rendering the machining program result using the workpiece initial parameters and the movement path of the workpiece, and to display the at least one intermediate result in the first display area, which in a specific embodiment may be a 3D image of the structural configuration of the workpiece. The display component 40 may generate 3D images using an open source database, such as an OpenGL database. Preferably, the workpiece machining program visualizing device further includes: a storage part 50 configured to store the intermediate code, the movement path of the workpiece, and at least one intermediate result in real time.
Fig. 3 is a display interface according to an embodiment of the present invention, as shown in fig. 3, a left area of the interface is used for displaying a workpiece processing program, a right portion of the interface is a first display area 100, and intermediate results generated according to the workpiece processing program visualization method are sequentially arranged in the first display area 100 for simulating a structural configuration of a workpiece after each segment of the workpiece processing program is executed. The bottom area of the interface is a second display area 200, and the second display area 200 is adjacent to the first display area 100. The step S2 may include an error prompt step S21 of detecting the workpiece processing program in step S21, and displaying the error information in the second display area 200 adjacent to the first display area 100 when the error information is detected. Optionally, the error information may include one or more of a lexical error, a syntax error, a semantic error, a debugging error, an interference of a moving path of the workpiece, and an interpolation error. In the process of program compilation, the code is first checked for normalization, syntax errors, etc. to determine what work the code actually does. If the error is detected, the error is timely displayed, and if the error is not detected, the code is continuously compiled. By the method, the problem that the conventional workpiece processing system cannot display program errors in real time can be solved. A plurality of intermediate results can be seen in real time in the first display area 100, and whether the workpiece machining program is correct or not can be detected through image display, so that the user experience is optimized. Through the second display area 200 located at the bottom of the user interface, a user can trace back the source of error generation, so that the user can conveniently check program errors, and the error correction of a workpiece processing program is more convenient.
In order to save memory space and reduce the overall amount of computation, step S4 may be executed at regular intervals of a preset number of lines of program code, instead of visually displaying the execution result of each line of program. For example, in a preferred embodiment, the code in the workpiece machining program may be divided into a plurality of program segments, for example, each five consecutive lines of program code may be made to form a program segment, and in this embodiment, a three-dimensional image of the workpiece after each five lines of program code are run is displayed. Similarly, all the contents of the workpiece machining program may be sequentially divided into a plurality of program segments from the start to the end, or may be sequentially divided into a plurality of program segments from the start to the latest editing position. The program section may comprise a preset number of lines of consecutive programs and/or program modules. The program module may include a conditional instruction, a jump instruction, and an intermediate program beginning with the conditional instruction and ending with the jump instruction.
Specifically, the workpiece machining program may be divided into N program segments (C) from the start to the latest editing position1,C2……CN) Generating in real time intermediate results (R) with each program segment after execution1,R2……RN) And performing real-time visual display on the machining process of the workpiece machining program from the beginning to the latest editing position. Preferably, the step S4 further includes the steps S41 and S42, and in the step S41, a visualization set may be established to generate an intermediate result (R) of the workpiece processing program corresponding thereto in real time based on all program segments of the workpiece processing program from the start to the latest editing position (S)1,R2……RN) And adding the intermediate results to the visual set one by one, and displaying the intermediate results in the first display area according to the sequence of the visual set. In step S42, a corresponding piece of label information M is generated while each intermediate result is generatediAnd the marking information and the intermediate result R are combinediAnd (4) associating. In a specific embodiment, the marking information includes: the line number designation of the last line of the program segment used to generate the intermediate result, that is, the marking information and the intermediate result are in a one-to-one correspondence.
In a preferred embodiment, the workpiece processing program further includes a step S5 of storing the intermediate code, the moving path of the workpiece, and at least one intermediate result in real time. Specifically, a buffer memory of the intermediate data can be established, and the generated intermediate result is generated without repeated calculation, so that the calculation amount is greatly reduced, and the energy consumption and the time are saved. For example, in a preferred embodiment, the intermediate result R that was most recently added to the visualization set is obtainedi(ii) a Due to the marking information MiComprises usingIn generating an intermediate result RiProgram segment C ofiSo that the marking information M is usediThe next program segment C of the workpiece processing program can be determinedi+1And generate and Ci+1Corresponding moving path T of the workpiecei+1(ii) a And, utilizing the intermediate result R most recently added to the visualization setiAnd a moving path T of the workpiecei+1Generating intermediate results R for reproducing a workpiece machining programi+1
Similarly, when the workpiece machining program is updated, the position information of the updated program segment is obtained, for example, the position information may be the number of lines of the updated program code, the position information is compared with the mark information to determine the corresponding intermediate result in the visualization set, and the intermediate result after the corresponding intermediate result in the visualization set is regenerated and replaced. For example, if a division method is adopted in which one program segment is formed every 5 lines of program codes, and it is assumed that the 53 th line code of the workpiece machining program is modified, that is, one program in the 11 th program is changed, it is only necessary to recompile the subsequent program from the 11 th program, generate the moving path of the workpiece after the modification position, and generate the corresponding updated intermediate result R11And all intermediate results (R) thereafter11,R12……RN) And intermediate results (R) that have been generated before1,R2……R10) All remain unchanged without recompiling the computation. Therefore, when the user modifies the workpiece machining program, the user can observe the change of the modified and updated machining result in real time.
The present invention also provides a processing system, comprising: one or more processors; a memory; and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the workpiece processing program visualization method of any of the above.
The present invention also provides a storage medium, a storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a data processing system, cause the data processing system to perform the workpiece processing program visualization method of any of the above.
The terms "first" and "second" in the description are merely used for convenience of description to distinguish different objects, have no practical meaning, and do not indicate substantial difference between the two objects. "exemplary" means "serving as an example, instance, or illustration" herein, and shall not be construed as any illustration, example, or illustration described as "exemplary" herein,
It will be apparent to those skilled in the art that various modifications and variations can be made to the above-described exemplary embodiments of the present invention without departing from the spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and variations of this invention provided they come within the scope of the appended claims and their equivalents.

Claims (15)

1. A workpiece machining program visualization method, comprising:
collecting processing information, wherein the processing information comprises: a workpiece machining program and workpiece initial parameters (S1);
compiling the workpiece machining program in real time to generate an intermediate code (S2);
generating a moving path of the workpiece using the intermediate code (S3); and the number of the first and second groups,
generating at least one intermediate result for reproducing the workpiece processing program using the workpiece initial parameters and the moving path of the workpiece, and displaying the at least one intermediate result on a first display area (100) (S4).
2. The workpiece processing program visualization method of claim 1, further comprising: storing the intermediate code, the moving path of the workpiece, and the at least one intermediate result in real time (S5).
3. The workpiece processing program visualization method as set forth in claim 1, wherein said step S4 further comprises:
creating a visual set, generating intermediate results of the workpiece machining program corresponding to all program segments of the workpiece machining program from the beginning to the latest editing position in real time, adding the intermediate results to the visual set one by one, and displaying the intermediate results in a first display area in the order of the visual set (S41).
4. The workpiece processing program visualization method as set forth in claim 3, wherein said step S4 further comprises:
simultaneously with generating each of the intermediate results, a corresponding piece of label information is generated and associated with the intermediate result (S42).
5. The workpiece processing program visualization method of claim 4, wherein the marking information comprises: a line number of a last line of a program segment used to generate the intermediate result.
6. The workpiece processing program visualization method according to claim 4, wherein the workpiece processing program visualization method comprises:
obtaining an intermediate result that was most recently added to the visualization set;
extracting a next program segment from the workpiece machining program by using the marking information and generating a moving path of the workpiece corresponding to the next program segment; and the number of the first and second groups,
generating an intermediate result for reproducing the workpiece machining program by using the intermediate result added to the visualization set last time and the moving path of the workpiece.
7. The workpiece processing program visualization method according to claim 4, wherein the workpiece processing program visualization method comprises:
when the workpiece machining program is updated, acquiring position information of an updated program segment, comparing the position information with the mark information to determine a corresponding intermediate result in the visualization set, and regenerating and replacing the intermediate result after the corresponding intermediate result in the visualization set.
8. The workpiece processing program visualization method of claim 1, further comprising: the workpiece processing program is divided into at least two program segments in sequence from the start of the workpiece processing program to the latest editing position, and the program segments comprise a preset number of rows of continuous programs and/or program modules.
9. The workpiece processing program visualization method as recited in claim 8, wherein the program module comprises a conditional instruction, a jump instruction, and an intermediate program beginning with the conditional instruction and ending with the jump instruction.
10. The workpiece processing program visualization method as set forth in claim 1, wherein said step S2 further comprises:
the workpiece processing program is detected (S21), and when error information is detected, the error information is displayed in a second display area (200) adjacent to the first display area (100).
11. The workpiece processing program visualization method of claim 10, wherein the error information comprises:
at least one of lexical error, grammar error, semantic error, debugging error, interference of the moving path of the workpiece and interpolation error.
12. A workpiece processing program visualization device, comprising:
an acquisition component (10) configured to acquire processing information, wherein the processing information comprises: a workpiece machining program and workpiece initial parameters;
a compiling component (20) configured to compile the workpiece processing program in real time, generating an intermediate code;
an execution unit (30) configured to generate a movement path of the workpiece using the intermediate code; and the number of the first and second groups,
a display unit (40) configured to generate the at least one intermediate result for reproducing the machining program result using the workpiece initial parameter and the movement path of the workpiece, and to display the at least one intermediate result on a first display area (100).
13. The workpiece processing program visualization device of claim 12, further comprising: a storage component (50) configured to store the intermediate code, the movement path of the workpiece, and the at least one intermediate result in real time.
14. A processing system, comprising:
one or more processors;
a memory; and
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the workpiece processing program visualization method of any of claims 1-11.
15. A storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a data processing system, cause the data processing system to perform the workpiece processing program visualization method of any of claims 1-11.
CN201811542676.8A 2018-12-17 2018-12-17 Workpiece machining program visualization method, device and system and storage medium Pending CN111324401A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811542676.8A CN111324401A (en) 2018-12-17 2018-12-17 Workpiece machining program visualization method, device and system and storage medium
PCT/EP2019/085697 WO2020127301A1 (en) 2018-12-17 2019-12-17 Workpiece machining program visualization method, apparatus and system, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811542676.8A CN111324401A (en) 2018-12-17 2018-12-17 Workpiece machining program visualization method, device and system and storage medium

Publications (1)

Publication Number Publication Date
CN111324401A true CN111324401A (en) 2020-06-23

Family

ID=69147612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811542676.8A Pending CN111324401A (en) 2018-12-17 2018-12-17 Workpiece machining program visualization method, device and system and storage medium

Country Status (2)

Country Link
CN (1) CN111324401A (en)
WO (1) WO2020127301A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1186976A2 (en) * 2000-09-05 2002-03-13 Mori Seiki Co.,Ltd. NC machining simulation apparatus
TW556091B (en) * 2001-05-23 2003-10-01 Fuel Tech Inc Hardware-adaptable data visualization tool for use in complex data analysis and engineering design
CN101436051A (en) * 2007-11-16 2009-05-20 北京数码大方科技有限公司 Method for switching and checking numerical control machining code
CN101968767A (en) * 2010-10-15 2011-02-09 北京数码大方科技有限公司 Macroprogram-based code debugging and simulation method and device
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
US20140200706A1 (en) * 2011-06-09 2014-07-17 Dmg Electronics Gmbh Method and System for Simulating a Work Process on a Machine Tool
US20140324211A1 (en) * 2013-04-24 2014-10-30 Mitsubishi Electric Research Laboratories, Inc. System and Method for Performing Undo and Redo Operations during Machining Simulation
CN104793567A (en) * 2014-01-16 2015-07-22 中国南方航空工业(集团)有限公司 Numerical control machining program conversion method and numerical control machining program conversion device
CN107153606A (en) * 2016-03-04 2017-09-12 郭德贵 A kind of program analyzes process visualization method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338710A (en) * 1998-05-28 1999-12-10 Toshiba Corp Method and device for compiling processor having plural kinds of instruction sets and recording medium for programming and recording its method
DE112012007233B4 (en) * 2012-12-17 2020-12-31 Mitsubishi Electric Corporation Numerical control device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1186976A2 (en) * 2000-09-05 2002-03-13 Mori Seiki Co.,Ltd. NC machining simulation apparatus
TW556091B (en) * 2001-05-23 2003-10-01 Fuel Tech Inc Hardware-adaptable data visualization tool for use in complex data analysis and engineering design
CN101436051A (en) * 2007-11-16 2009-05-20 北京数码大方科技有限公司 Method for switching and checking numerical control machining code
CN101968767A (en) * 2010-10-15 2011-02-09 北京数码大方科技有限公司 Macroprogram-based code debugging and simulation method and device
US20140200706A1 (en) * 2011-06-09 2014-07-17 Dmg Electronics Gmbh Method and System for Simulating a Work Process on a Machine Tool
CN103136406A (en) * 2011-12-03 2013-06-05 南京南瑞继保电气有限公司 Method for automatic generation of function code for simulation through visualization application program
US20140324211A1 (en) * 2013-04-24 2014-10-30 Mitsubishi Electric Research Laboratories, Inc. System and Method for Performing Undo and Redo Operations during Machining Simulation
CN104793567A (en) * 2014-01-16 2015-07-22 中国南方航空工业(集团)有限公司 Numerical control machining program conversion method and numerical control machining program conversion device
CN107153606A (en) * 2016-03-04 2017-09-12 郭德贵 A kind of program analyzes process visualization method and system

Also Published As

Publication number Publication date
WO2020127301A1 (en) 2020-06-25

Similar Documents

Publication Publication Date Title
US7933678B2 (en) System and method for analyzing a production process
EP0406602B1 (en) Method and apparatus for debugging parallel programs by serialization
EP2960799A1 (en) Defect localization in software integration tests
CN103106076B (en) Machine vision inspection system and the method for editing part programs on this system
EP1918812A1 (en) A software development system
CN104932421B (en) A kind of work of numerical control machine process CPS modeling methods based on instruction domain analysis
CN103279418B (en) A kind of method of testing of configuration control information and device
ES2415857T3 (en) Method to automatically divide a parts program into fundamental operations
CN102576561A (en) Apparatus and method for editing
CN110096033A (en) A method of check and correction numerical control program precision
US6901309B2 (en) Programming platform for generating parts programs for machine tools or production machines
CN104793560A (en) Method and system for generating a trajectory
CN106815147B (en) A kind of test script generation method and device
CN108027606B (en) Machining reset implementation method, compiler, robot, numerical control system and machine tool
RU2019124093A (en) AUTOMATED OBSERVATION AND VERIFICATION OF THE ASSEMBLY PROCESS
CN101968767A (en) Macroprogram-based code debugging and simulation method and device
CN112286814A (en) Automatic generation system and method of test case script
CN109048929B (en) Method and device for generating motion trail of robot
EP1310843A3 (en) Simulation device
JPS6116100B2 (en)
Hammad et al. Multiview visualization of software testing results
CN104809067B (en) Towards the method for generating test case and device of equality constraint
CN111324401A (en) Workpiece machining program visualization method, device and system and storage medium
US11442723B2 (en) Programing support device, programing support system, and programing support method
JP4874277B2 (en) Automated test execution system

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200623