CN113139716A - Remote automatic error-proof checking method for numerical control machining program package - Google Patents

Remote automatic error-proof checking method for numerical control machining program package Download PDF

Info

Publication number
CN113139716A
CN113139716A CN202110350133.1A CN202110350133A CN113139716A CN 113139716 A CN113139716 A CN 113139716A CN 202110350133 A CN202110350133 A CN 202110350133A CN 113139716 A CN113139716 A CN 113139716A
Authority
CN
China
Prior art keywords
file
tool
numerical control
list file
program package
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
CN202110350133.1A
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.)
Chengdu Aircraft Industrial Group Co Ltd
Original Assignee
Chengdu Aircraft Industrial Group 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 Chengdu Aircraft Industrial Group Co Ltd filed Critical Chengdu Aircraft Industrial Group Co Ltd
Priority to CN202110350133.1A priority Critical patent/CN113139716A/en
Publication of CN113139716A publication Critical patent/CN113139716A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • 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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • 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
    • G06Q10/103Workflow collaboration or project 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
    • 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

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Tourism & Hospitality (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Numerical Control (AREA)

Abstract

The invention provides a remote automatic error-proof checking method for a numerical control machining program package, which aims to set a structural standard of the numerical control machining program package and provide a method for checking and analyzing the numerical control machining program package according to the standard, thereby reducing risk points brought by manual operation and checking of the numerical control machining program package and realizing automatic program package analysis and checking. The method provided by the invention can meet the requirements of remote automatic control and flexible manufacturing systems at present.

Description

Remote automatic error-proof checking method for numerical control machining program package
Technical Field
The invention belongs to the technical field of numerical control machining program package loading, and particularly relates to a remote automatic error-proof checking method for a numerical control machining program package.
Background
With the rapid development of automation and informatization, the production level of numerical control machining of airplane structural parts is continuously improved, numerical control machining continuously iterates towards intellectualization, automation and standardization, but the traditional numerical control machining program package still adopts a manual downloading and decompression mode, and the problems of non-standardization of the numerical control machining program package, high manual checking risk and the like exist. Taking the numerical control processing plant of the applicant as an example, the traditional flow of loading the numerical control processing program package is as follows:
1) in consideration of confidentiality, a numerical control machining program package management system needs to be logged on an upper computer, and a numerical control machining program package of the latest and unlocked version of a specified part drawing number is downloaded;
2) decompressing the downloaded numerical control processing program package by the upper computer, and manually checking whether a main program entry and a corresponding subprogram file which need to be processed exist according to the manufacturing outline;
3) manually checking the processing equipment according to the manufacturing outline;
4) manually checking the work order number and the work step number according to the manufacturing outline;
5) manually checking the cutter drawing number, name and parameters of each subprogram according to the manufacturing outline;
6) and after the verification is successful, transmitting the numerical control machining program package to a specified directory of a machine tool numerical control system.
With the continuous progress of industrial production and the continuous improvement of the integration level of the numerical control machine control system, the flexible manufacturing system is rapidly developed, meanwhile, the manufacturing industry informatization system is gradually improved and matured, and the numerical control machine control system is continuously iterated towards intellectualization, networking, automation and standardization. However, the traditional tool creation of the numerical control machine tool is still a manual operation mode, and the numerical control machine tool increasingly needs a remote tool creation mode under the development background of flexibility, intelligent manufacturing and no manual intervention in the whole process. Taking the numerical control processing plant of the applicant as an example, the traditional numerical control machine tool setting process comprises the following steps:
1) searching basic information of a cutter in a process system according to the part figure number to be processed, or acquiring the basic information of the cutter according to a cutter bar code;
2) the basic parameters of the tool needed by processing are manually input in a numerical control machine tool system, and the basic parameters comprise: the number of the cutter, the length of the cutter, the type of the cutter, the radius of the cutter, the service life of the cutter, the number of teeth, the number of tool magazines and other parameters;
3) selecting the created tools in the virtual tool magazine, loading the tools to a machine tool, installing the tools in the machine tool solid tool magazine according to the position of the solid tool magazine generated by the system, and changing the state of the tools to be available;
there are a lot of manual operations and manual proofreading in the above procedure, and the following problems may occur: the problems that a downloading error is caused by an input error of a part drawing number, a downloading version error exists when a numerical control machining program package is manually downloaded, the program package is lost after downloading, a subprogram cannot be machined due to correction negligence, a cutter proofreading error is caused due to correction negligence, a machining equipment proofreading error is caused due to correction negligence, a work sequence number is caused due to correction negligence, a work step number proofreading error is caused, and the like. Meanwhile, because of no constraint of the standard specification of the numerical control processing program package, the program package is disordered in naming and structure, and the difficulty of manual proofreading work is increased. The above manual operations and proofreading often result in the processing and scrapping of parts, the processing cost is increased, and the parts can be delivered according to time.
The method includes the steps that a cutter is created in a virtual cutter base of a machine tool according to a manufacturing outline, workers often need to hold the cutter, basic information of the cutter on a label of the cutter and basic information obtained according to a label query database are manually input into a table of the virtual cutter base created by the machine tool, parts are damaged when the cutter is collided due to data transmission errors, and the parts are scrapped, so that not only is the machining cost increased, but also the parts are delivered according to schedule.
Disclosure of Invention
The invention provides a remote automatic error-proof checking method for a numerical control machining program package aiming at the defects and requirements in the prior art, and aims to set a structural standard of the numerical control machining program package and provide a method for checking and analyzing the numerical control machining program package according to the standard, so that risk points caused by manual operation and checking of the numerical control machining program package are reduced, and automatic program package analysis and checking are realized. The method provided by the invention can meet the requirements of remote automatic control and flexible manufacturing systems at present.
The specific implementation content of the invention is as follows:
the invention provides a remote automatic error-proof checking method for a numerical control machining program package, which is characterized in that when the numerical control machining program package is uploaded, the numerical control machining program package is uniformly compressed in an rar format, and the format specification of the numerical control machining program package is set; setting an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file, a clamping drawing and a disassembling drawing in a numerical control machining program package;
after the uploaded data processing program package is downloaded, firstly generating a temporary file path to obtain a numerical control processing program package in a rar format after compression, then decompressing the downloaded data processing program package in the rar format, and sequentially decompressing the equipment model number, the work order number and the work step number;
after the step number is analyzed, an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file and a clamping drawing are also analyzed;
then judging whether the NC main program files contained in the NC main program file exist; if the NC main program files included in the NC main program files are judged not to exist, the analysis is judged to fail, and an error code is returned;
if the NC main program files included in the NC main program files exist, further judging whether a cutter list file exists or not; if the cutter list file does not exist, judging that the analysis fails and returning an error code;
if the tool list file exists, analyzing the tool list file, further judging whether a tool list file exists, and if the tool list file does not exist, judging that the analysis fails and returning an error code;
if the tooling list file exists, the tooling list file is analyzed, whether the clamping platform list file exists or not is further judged, if the tooling list file does not exist, the analysis is judged to fail, and an error code is returned;
if the clamping platform list file exists, analyzing the clamping platform list file, judging whether a work step number exists, and if the work step number exists, circularly executing the operation of analyzing the work step number and the subsequent operation until the work step number does not exist;
after judging that there is no unresolved work step number, judging whether there is a work sequence number, if there is a work sequence number, circularly executing the above-mentioned operation of resolving work sequence number and the following operation until there is no work sequence number;
and finally, inserting the analyzed numerical control machining program package into a database for numerical control machining.
In order to better implement the present invention, the format specification of the nc processing program package is specifically set as follows: naming the compressed packet by taking a part number-NCM as a naming format; setting the hierarchical structure of the decompressed folder into a structural format of 'equipment model \ work order number'; the work order number is an integer number.
In order to better implement the invention, one clamping is represented by one process, and the file formats of the NC main program file and the NC subprogram file are set to be MPF formats.
In order to better realize the invention, the formats of the clamping drawing and the disassembling drawing are set into PDF format, a template required to be used is filled in the clamping drawing, and the product name, the part number, the data number, the work order number, the specification of a process hole, the specification of a screw, a sketch and a position schematic diagram of the part on the tool are marked; and filling a template required to be used in the disassembly drawing, and marking a product name, a part drawing number, a data number, a process step number, a characteristic dimension required to be checked, a tolerance and a position schematic diagram required to be checked.
In order to better implement the present invention, the format of the tool list file is further set to be TXT format, and more than one line of valid tool data is filled in the contents of the tool list file, and the tool number stored in the tool list file is consistent with the tool number used in the corresponding NC program.
In order to better realize the invention, furthermore, each cutter information in the cutter list file occupies one line, each data item is separated by English format semicolon, the cutter simulation time is filled in, and the simulation time of all cutters is added to obtain a simulation actual total value and is used for estimating the part machining time; when the same knife number is used for multiple times, the knife number is also listed in a row of information.
In order to better realize the invention, the format of the tooling list file is further set to be TXT format, and each piece of tooling information occupies one line of the content of the tooling list file; and if no tool information exists, uploading a tool list file with empty contents or not establishing the tool file.
In order to better implement the invention, the format of the clamping platform manifest file is further set to be a TXT format, the information of each clamping platform occupies one line of the content of the clamping platform manifest file, and if the information of the clamping platform does not exist, the clamping platform manifest file with empty content is uploaded.
In order to better realize the invention, further, the cutter information and the cutter code to be put in storage are transmitted to a database of a remote server for query through a service locally deployed by an upper computer of the numerical control machine tool.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the invention realizes standardized processing by establishing standards and specifications, realizes automatic verification of the data packet by compressing and analyzing the data packet and analyzing and processing various data after standardizing the standards, further realizes remote automatic processing operation according to the data packet and the like, and meets flexible and intelligent manufacturing without manual intervention in the whole process;
(2) the method is suitable for remote tool creation of all high-end numerical control machine tool magazines, including but not limited to numerical control machines provided with Siemens 840D systems and flange systems;
(3) the method avoids the problems that the numerical control machining program is downloaded manually, the program is corrected artificially according to the manufacturing outline, the part is scrapped due to the error of the part machining program, and the subprogram is absent and cannot be machined due to the negligence of correction; the preparation flow of the complex numerical control machining program is simplified, the quality risk is reduced, the waste of human resources is reduced, the production time is reduced, the delivery cycle is shortened, the product quality is improved, and the method is more in line with the idea of lean production;
(4) all operations can be remotely operated, all operations and generated data are recorded in a database, so that possibility is created for quality tracing, and the standardization degree of a production unit is improved; and a solid foundation is laid for the intelligent manufacturing and FMS flexible line system which is pushed later.
Drawings
FIG. 1 is a schematic flow chart of the present invention;
FIG. 2 is a computer effect display screenshot of the naming of the numerical control machining package of the present invention;
FIG. 3 is a computer effect display screenshot of a NC machining package file structure of the present invention.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and therefore should not be considered as a limitation to the scope of protection. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
In the description of the present invention, it is to be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1:
the embodiment provides a remote automatic error-proof checking method for a numerical control machining program package, as shown in fig. 1, when the numerical control machining program package is uploaded, the numerical control machining program package is uniformly compressed in an rar format, and the format specification of the numerical control machining program package is set; setting an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file, a clamping drawing and a disassembling drawing in a numerical control machining program package;
after the uploaded data processing program package is downloaded, firstly generating a temporary file path to obtain a numerical control processing program package in a rar format after compression, then decompressing the downloaded data processing program package in the rar format, and sequentially decompressing the equipment model number, the work order number and the work step number;
after the step number is analyzed, an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file and a clamping drawing are also analyzed;
then judging whether the NC main program files contained in the NC main program file exist; if the NC main program files included in the NC main program files are judged not to exist, the analysis is judged to fail, and an error code is returned;
if the NC main program files included in the NC main program files exist, further judging whether a cutter list file exists or not; if the cutter list file does not exist, judging that the analysis fails and returning an error code;
if the tool list file exists, analyzing the tool list file, further judging whether a tool list file exists, and if the tool list file does not exist, judging that the analysis fails and returning an error code;
if the tooling list file exists, the tooling list file is analyzed, whether the clamping platform list file exists or not is further judged, if the tooling list file does not exist, the analysis is judged to fail, and an error code is returned;
if the clamping platform list file exists, analyzing the clamping platform list file, judging whether a work step number exists, and if the work step number exists, circularly executing the operation of analyzing the work step number and the subsequent operation until the work step number does not exist;
after judging that there is no unresolved work step number, judging whether there is a work sequence number, if there is a work sequence number, circularly executing the above-mentioned operation of resolving work sequence number and the following operation until there is no work sequence number;
and finally, inserting the analyzed numerical control machining program package into a database for numerical control machining.
Example 2:
in this embodiment, on the basis of embodiment 1, in order to better implement the present invention, the format specification of the nc machining program package is specifically set as follows: naming the compressed packet by taking a part number-NCM as a naming format; setting the hierarchical structure of the decompressed folder into a structural format of 'equipment model \ work order number'; the work order number is an integer number.
In order to better implement the invention, one clamping is represented by one process, and the file formats of the NC main program file and the NC subprogram file are set to be MPF formats.
In order to better realize the invention, the formats of the clamping drawing and the disassembling drawing are set into PDF format, a template required to be used is filled in the clamping drawing, and the product name, the part number, the data number, the work order number, the specification of a process hole, the specification of a screw, a sketch and a position schematic diagram of the part on the tool are marked; and filling a template required to be used in the disassembly drawing, and marking a product name, a part drawing number, a data number, a process step number, a characteristic dimension required to be checked, a tolerance and a position schematic diagram required to be checked.
In order to better implement the present invention, the format of the tool list file is further set to be TXT format, and more than one line of valid tool data is filled in the contents of the tool list file, and the tool number stored in the tool list file is consistent with the tool number used in the corresponding NC program.
In order to better realize the invention, furthermore, each cutter information in the cutter list file occupies one line, each data item is separated by English format semicolon, the cutter simulation time is filled in, and the simulation time of all cutters is added to obtain a simulation actual total value and is used for estimating the part machining time; when the same knife number is used for multiple times, the knife number is also listed in a row of information.
In order to better realize the invention, the format of the tooling list file is further set to be TXT format, and each piece of tooling information occupies one line of the content of the tooling list file; and if no tool information exists, uploading a tool list file with empty contents or not establishing the tool file.
In order to better implement the invention, the format of the clamping platform manifest file is further set to be a TXT format, the information of each clamping platform occupies one line of the content of the clamping platform manifest file, and if the information of the clamping platform does not exist, the clamping platform manifest file with empty content is uploaded.
In order to better realize the invention, further, the cutter information and the cutter code to be put in storage are transmitted to a database of a remote server for query through a service locally deployed by an upper computer of the numerical control machine tool.
Other parts of this embodiment are the same as those of embodiment 1, and thus are not described again.
Example 3:
this example gives a specific example based on any of the above examples 1-2:
1) and determining the specifications of the numerical control machining program package, including a naming specification and a structure specification. The uploaded NC machining program package must be a rar format compressed package, named "part number-NCM", example: F5-DD-A380-02121-91-Z-NCM, the hierarchy of the decompressed folder should be: device model \ work order number, example: 1201-G \ 70. Note: the work order number must be an integer number.
2) Usually, one process represents one clamping, and the nomenclature is as shown in fig. 2 and fig. 3, for example: AEY070A1, reference: the standard for naming the NC program of the STC flexible production line comprises an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a platform list file, a clamping drawing and a disassembly drawing, wherein the suffix of the NC file is MPF.
3) Naming a clamping picture: pdf, note suffix. Clamping picture content: the template is used for marking the product name, the part number, the data number and the work order number, and showing the position schematic diagram of the process hole specification, the screw specification, the sketch and the part on the tool. Name of disassembly diagram: pdf, note suffix. Disassembling the graph content: the template is used to mark the product name, part drawing number, data number, step number, the feature size to be inspected, tolerance, and the position to be inspected.
4) Naming a cutter list: txt, toollist; note that the suffix is. Contents of the tool list: the file must include more than one line
Valid tool data, the number of knives in the list must be consistent with the number of knives used in the corresponding NC program. The information of each cutter occupies one row (the information is listed together when the same cutter is used for multiple times) in English; "space each data item. Such as in; "the head indicates this behavior comment information. Note that the contents of the tool list cannot be empty. Tool format: the number of the knife; simulation time, and cannot be equal to 0; and adding the simulation time of all the cutters to obtain a simulation time total value for estimating the part machining time.
5) Naming a tooling list: claudinglist.txt; note that the suffix is. Tooling list content: and each piece of tooling information occupies one row, and if no piece of tooling information exists, the user is requested to upload a ClampingList. Note that: the tooling list must not be empty.
6) Platform list naming: txt, pallettlist; note that the suffix is. Platform manifest content: each piece of platform information occupies one row, if no piece of platform information exists, the piece of PalletList.txt 2) cutter information with empty contents and a cutter code to be put in storage are uploaded to a database of a remote server for query through a service locally deployed by an upper computer of a numerical control machine; ensuring that the distribution cutter is consistent with the warehousing cutter and all parameters are consistent, and transmitting the verification result back to the upper computer of the numerical control machine;
7) and downloading the program package to a specified directory by the numerical control machining program package management system, automatically decompressing and analyzing the file reading entry, checking whether the rule definition is met, and circularly reading the file in each process step folder in the process folders. Checking a part drawing number, analyzing a device serial number, an operation step number, a main program, checking whether a subprogram exists or not, analyzing a cutter list, checking a manufacturing outline, analyzing a tool list, checking the manufacturing outline, analyzing a loading and unloading platform list, checking the manufacturing outline, analyzing a loading and unloading drawing, automatically opening the loading and unloading drawing, and guiding loading and unloading;
8) and uploading the analyzed data to a database to generate a record.
The working principle is as follows:
(1) the numerical control machining center used in the present embodiment is a siemens 840D numerical control system.
(2) Configuring a local area network, wherein the local area network comprises a numerical control machine tool, a control system, a numerical control machining program package management system and a database;
(3) after the process personnel finishes programming, standardizing file naming and structure in the program package according to the above-mentioned standard, and uploading the numerical control processing program package to a numerical control processing program package management system; examples are as follows:
the numerical control machining program package is named as shown in fig. 2, and the file structure of the numerical control machining program package is shown in fig. 3:
the contents of the tool list file of the numerical control machining program package are exemplified as follows:
;toollist description
PROBE;3
T32_80R3Z4B;312
T16_60R3Z5A;112
;FAN;10
PROBE;2
T16_60R3Z5A;1
TZ6_28M13;32
TZ5_45M13;8
an example tooling format is as follows:
GZ07-141A6121-15-2MF
example platform format:
1201-G-FMS-APF1
(4) the control system downloads a designated numerical control machining program package in the numerical control machining program package management system according to the part drawing number and the part version number, and decompresses and checks the numerical control machining program package;
(5) checking whether the machine number in the program package exists or not, checking whether a main program inlet exists in each process step folder or not, checking whether subprogram names in the main program files exist in the folders or not, checking whether a cutter list file exists or not, checking whether a clamping picture exists or not, dismounting the picture, checking whether a tool list exists or not, and checking whether a clamping platform list exists or not;
(6) if the verification is not successful, an error is reported; if all the tests are successful, analyzing the cutter list file, analyzing the tool file and analyzing the clamping platform file;
(7) after the verification is successful, compressing each step file according to the step sequence, encrypting the file name by using an MD5 verification mode, and then storing all the file names, all the cutter information in the cutter list, the tooling information in the tooling list and the clamping platform information in the clamping platform list into a database;
automatically transmitting the numerical control machining program package to a numerical control system, and sending a machining starting command under the condition that both the tool and the tooling resource are met;
other parts of this embodiment are the same as any of embodiments 1-2 described above, and thus are not described again.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention in any way, and all simple modifications and equivalent variations of the above embodiments according to the technical spirit of the present invention are included in the scope of the present invention.

Claims (9)

1. A numerical control machining program package remote automatic error-proof checking method is characterized in that when a numerical control machining program package is uploaded, the numerical control machining program package is uniformly compressed in an rar format, and the format specification of the numerical control machining program package is set; setting an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file, a clamping drawing and a disassembling drawing in a numerical control machining program package;
after the uploaded data processing program package is downloaded, firstly generating a temporary file path to obtain a numerical control processing program package in a rar format after compression, then decompressing the downloaded data processing program package in the rar format, and sequentially decompressing the equipment model number, the work order number and the work step number;
after the step number is analyzed, an NC main program file, an NC subprogram file, a cutter list file, a tool list file, a clamping platform list file and a clamping drawing are also analyzed;
then judging whether the NC main program files contained in the NC main program file exist; if the NC main program files included in the NC main program files are judged not to exist, the analysis is judged to fail, and an error code is returned;
if the NC main program files included in the NC main program files exist, further judging whether a cutter list file exists or not; if the cutter list file does not exist, judging that the analysis fails and returning an error code;
if the tool list file exists, analyzing the tool list file, further judging whether a tool list file exists, and if the tool list file does not exist, judging that the analysis fails and returning an error code;
if the tooling list file exists, the tooling list file is analyzed, whether the clamping platform list file exists or not is further judged, if the tooling list file does not exist, the analysis is judged to fail, and an error code is returned;
if the clamping platform list file exists, analyzing the clamping platform list file, judging whether a work step number exists, and if the work step number exists, circularly executing the operation of analyzing the work step number and the subsequent operation until the work step number does not exist;
after judging that there is no unresolved work step number, judging whether there is a work sequence number, if there is a work sequence number, circularly executing the above-mentioned operation of resolving work sequence number and the following operation until there is no work sequence number;
and finally, inserting the analyzed numerical control machining program package into a database for numerical control machining.
2. The method for remotely automating the error-proofing verification of the nc machining program package according to claim 1, wherein the format specification of the nc machining program package is specifically set as: naming the compressed packet by taking a part number-NCM as a naming format; setting the hierarchical structure of the decompressed folder into a structural format of 'equipment model \ work order number'; the work order number is an integer number.
3. The method as claimed in claim 1, wherein the file format of the NC main program file and the NC sub program file is set to MPF format in one process for representing one clamping.
4. The method for remotely and automatically checking the numerical control machining program package according to claim 1, wherein formats of a clamping drawing and a disassembling drawing are set to be PDF formats, templates required to be used are filled in the clamping drawing, and product names, part numbers, data numbers, work order numbers, process hole specifications, screw specifications, sketches and position schematic diagrams of parts on a tool are marked; and filling a template required to be used in the disassembly drawing, and marking a product name, a part drawing number, a data number, a process step number, a characteristic dimension required to be checked, a tolerance and a position schematic diagram required to be checked.
5. The method as claimed in claim 1, wherein the tool manifest file is set to a TXT format, and more than one row of valid tool data is filled in the contents of the tool manifest file, and the tool number stored in the tool manifest file is consistent with the tool number used in the corresponding NC program.
6. The method of claim 5, wherein each tool information in the tool list file occupies one row, each data item is separated by a semicolon in English format, tool simulation time is filled in, simulation time of all tools is added to obtain a simulation actual total value, and the simulation actual total value is used for estimating part machining time; when the same knife number is used for multiple times, the knife number is also listed in a row of information.
7. The method for remotely and automatically checking the numerical control machining program package according to claim 1, wherein the format of the tooling list file is set to be a TXT format, and each piece of tooling information occupies one line of the content of the tooling list file; and if no tool information exists, uploading a tool list file with empty contents or not establishing the tool file.
8. The method for remotely and automatically checking the numerical control machining program package according to claim 1, wherein the format of the clamping platform manifest file is set to a TXT format, information of each clamping platform occupies one line of the content of the clamping platform manifest file, and if no information of the clamping platform exists, the clamping platform manifest file with empty content is uploaded.
9. The method for remotely and automatically checking the numerical control machining program package according to claim 1, wherein the tool information and the tool code to be put in storage are transmitted to a database of a remote server for query through a service locally deployed on an upper computer of the numerical control machine tool.
CN202110350133.1A 2021-03-31 2021-03-31 Remote automatic error-proof checking method for numerical control machining program package Pending CN113139716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110350133.1A CN113139716A (en) 2021-03-31 2021-03-31 Remote automatic error-proof checking method for numerical control machining program package

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110350133.1A CN113139716A (en) 2021-03-31 2021-03-31 Remote automatic error-proof checking method for numerical control machining program package

Publications (1)

Publication Number Publication Date
CN113139716A true CN113139716A (en) 2021-07-20

Family

ID=76810214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110350133.1A Pending CN113139716A (en) 2021-03-31 2021-03-31 Remote automatic error-proof checking method for numerical control machining program package

Country Status (1)

Country Link
CN (1) CN113139716A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169643A (en) * 2007-12-04 2008-04-30 西安飞机工业(集团)有限责任公司 Digital control machining operation error prevention technology
CN101206467A (en) * 2006-12-22 2008-06-25 南京理工大学 Universal numerical control code analysis method
CN101795293A (en) * 2010-01-27 2010-08-04 浪潮(北京)电子信息产业有限公司 File download method, file download system, sending device and detecting device
CN102360381A (en) * 2011-09-29 2012-02-22 深圳众为兴技术股份有限公司 Device and method for performing lossless compression on embedded program
CN103885389A (en) * 2012-12-20 2014-06-25 北汽福田汽车股份有限公司 Numerical control process program processing method
CN105306434A (en) * 2015-09-11 2016-02-03 北京金山安全软件有限公司 Program file checking method and device, server and terminal
CN106055341A (en) * 2016-06-14 2016-10-26 北京奇虎科技有限公司 Application installation package checking method and device
CN106650473A (en) * 2016-12-01 2017-05-10 中国工商银行股份有限公司 Method and system for verifying multiple document encapsulation packages, transmitting device and receiving device
CN108549826A (en) * 2018-03-30 2018-09-18 努比亚技术有限公司 Method of calibration, terminal, server and the readable storage medium storing program for executing of application program
CN111459817A (en) * 2020-03-31 2020-07-28 中国银行股份有限公司 Method and device for checking program execution code

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206467A (en) * 2006-12-22 2008-06-25 南京理工大学 Universal numerical control code analysis method
CN101169643A (en) * 2007-12-04 2008-04-30 西安飞机工业(集团)有限责任公司 Digital control machining operation error prevention technology
CN101795293A (en) * 2010-01-27 2010-08-04 浪潮(北京)电子信息产业有限公司 File download method, file download system, sending device and detecting device
CN102360381A (en) * 2011-09-29 2012-02-22 深圳众为兴技术股份有限公司 Device and method for performing lossless compression on embedded program
CN103885389A (en) * 2012-12-20 2014-06-25 北汽福田汽车股份有限公司 Numerical control process program processing method
CN105306434A (en) * 2015-09-11 2016-02-03 北京金山安全软件有限公司 Program file checking method and device, server and terminal
CN106055341A (en) * 2016-06-14 2016-10-26 北京奇虎科技有限公司 Application installation package checking method and device
CN106650473A (en) * 2016-12-01 2017-05-10 中国工商银行股份有限公司 Method and system for verifying multiple document encapsulation packages, transmitting device and receiving device
CN108549826A (en) * 2018-03-30 2018-09-18 努比亚技术有限公司 Method of calibration, terminal, server and the readable storage medium storing program for executing of application program
CN111459817A (en) * 2020-03-31 2020-07-28 中国银行股份有限公司 Method and device for checking program execution code

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐量 等: "通用数控加工程序校验软件设计方法", 《中小企业管理与科技》 *

Similar Documents

Publication Publication Date Title
US7676281B2 (en) Distributed database in an industrial automation environment
CN108763091B (en) Method, device and system for regression testing
US20070276970A1 (en) Data Consistency Validation
EP2940611A1 (en) Flexible CAD format
JP5045724B2 (en) Device information setting device
CN114118980A (en) Intelligent checking method and system for digital achievements of building design
US20080091942A1 (en) Automated two dimensional technical data packaging
CN115617780A (en) Data import method, device, equipment and storage medium
CN113971041B (en) Version synchronization method and device of cross-version control system
CN112698622B (en) Automatic control method, device and machine readable storage medium
US20080243890A1 (en) Automated two and three dimensional technical data packaging
CN113139716A (en) Remote automatic error-proof checking method for numerical control machining program package
CN112949018B (en) System and method for creating and testing verification of direct-current transmission control and protection platform model
CN112035124A (en) Application deployment method and device
JP2001195463A (en) System and method for preparing work standard, distributed type client server system and storage medium for computer program
US20010029508A1 (en) Assembly information management system and client/server distribution system for assembly information management
US20080238946A1 (en) System and method for providing a replica of a graphic presentation
EP4083783A1 (en) Program development assistance system and program development assistance method
CN115344966A (en) CAD assembly body part replacement method and system
US20020059225A1 (en) Automatic manhour setting system and method, distributed client/server system, and computer program storage medium
JP6984120B2 (en) Load compare device, load compare program and load compare method
CN111813439A (en) Distribution material quality control method, device, equipment and computer storage medium
CN112540359B (en) Universal test system suitable for microwave radar
CN110532315B (en) Method and system for automatically generating reliability prediction report import file
JP3695410B2 (en) Production technology management method and apparatus therefor

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

Application publication date: 20210720

RJ01 Rejection of invention patent application after publication