CN115589407B - File transmission verification method based on PLM-DNC integrated system - Google Patents

File transmission verification method based on PLM-DNC integrated system Download PDF

Info

Publication number
CN115589407B
CN115589407B CN202211466386.6A CN202211466386A CN115589407B CN 115589407 B CN115589407 B CN 115589407B CN 202211466386 A CN202211466386 A CN 202211466386A CN 115589407 B CN115589407 B CN 115589407B
Authority
CN
China
Prior art keywords
document
plm
dnc
processing
machining
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.)
Active
Application number
CN202211466386.6A
Other languages
Chinese (zh)
Other versions
CN115589407A (en
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.)
Dafang Zhizao Tianjin Technology Co ltd
Original Assignee
Dafang Zhizao Tianjin Technology 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 Dafang Zhizao Tianjin Technology Co ltd filed Critical Dafang Zhizao Tianjin Technology Co ltd
Priority to CN202211466386.6A priority Critical patent/CN115589407B/en
Publication of CN115589407A publication Critical patent/CN115589407A/en
Application granted granted Critical
Publication of CN115589407B publication Critical patent/CN115589407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0045Arrangements at the receiver end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention relates to the field of file transmission verification, in particular to a file transmission verification method based on a PLM-DNC integrated system, which comprises the following steps: establishing an interactive working state of the PLM system and the DNC system; acquiring a simulation processing NC document of the part to be processed by using the part to be processed; the simulation processing NC document of the part to be processed is used for carrying out file transmission verification based on the interactive working state of the PLM system and the DNC system, the accuracy of communication data transmission between the PLM system and the processing equipment is verified by generating the bidirectional verification file, a complex data scene is covered, the verified timeliness is improved, and the simulation processing NC document plays an important role in the actual production and application process.

Description

File transmission verification method based on PLM-DNC integrated system
Technical Field
The invention relates to the field of file transmission verification, in particular to a file transmission verification method based on a PLM-DNC integrated system.
Background
The NC code is a code which can be identified by a digital information control machine controller and is an important code for controlling and guaranteeing the correct operation of equipment such as a machine tool, a machining center and the like. The code management is used as a main component of the PLM system and is responsible for carrying out standard and structural management on NC codes, and the code management is communicated with processing equipment (machine tools, processing equipment and the like) in real time in different modes such as a serial port, a network card and the like, so that the managed NC codes are transmitted to the processing equipment, and the normal and accurate operation of the processing equipment is ensured. The NC document contains all the machining information of the machining apparatus, and is a very important ring of the machining apparatus. NC document formats are various in types and large in quantity. The corresponding processing equipment has various brands and models, and the operating system of the processing equipment has various categories such as embedded linux, windows/windows CE and the like. The fact that machine tools of various models of merchants are purchased for verification is not feasible, and is not allowed in budget and time. How to verify the PLM system and the DNC system and ensure the correctness and the reliability of communication is a problem to be solved.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a file transmission verification method based on a PLM-DNC integrated system, which realizes the verification monitoring of the file content and the transmission process by setting the verification process of a bidirectional file.
In order to achieve the above object, the present invention provides a file transfer verification method based on a PLM-DNC integrated system, comprising:
establishing an interactive working state of the PLM system and the DNC system;
acquiring a simulation processing NC document of the part to be processed by using the part to be processed;
and carrying out file transmission verification on the basis of the interactive working state of the PLM system and the DNC system by utilizing the simulation processing NC document of the part to be processed.
Preferably, the obtaining of the NC document of the simulation machining of the part to be machined by using the part to be machined includes:
and obtaining the simulation machining NC document of the part to be machined by utilizing the part to be machined based on CAM software.
Preferably, the file transmission verification performed by using the simulation machining NC document of the part to be machined based on the interactive working state of the PLM system and the DNC system includes:
sending the simulation processing NC document of the part to be processed to a virtual processing device through a PLM system;
acquiring a simulation processing NC document of the part to be processed in the virtual processing device by using equipment standard data of processing equipment corresponding to the part to be processed;
generating a machining equipment NC document corresponding to the part to be machined according to the simulation machining NC document of the part to be machined by utilizing the machining equipment corresponding to the part to be machined;
acquiring an NC document of the processing equipment based on a virtual processing device by utilizing a PLM system;
and judging whether the codes of the simulated machining NC document are the same as the codes of the NC document of the machining equipment, if so, passing the verification, and otherwise, performing error reporting processing.
Furthermore, the virtual processing device is a processing device or a plurality of processing devices simulated by placing the same type of control end on a PC.
Further, the device standard data includes device system type, serial port, network card, and ftp related protocol specification.
Compared with the closest prior art, the invention has the following beneficial effects:
by generating the bidirectional verification file, the accuracy of verifying the communication data transmission between the PLM system and the processing equipment is realized, complex data scenes are covered, the verified timeliness is improved, and an important effect is played in the actual production and application process.
Drawings
Fig. 1 is a flowchart of a file transfer verification method based on a PLM-DNC integrated system according to the present invention;
FIG. 2 is a flow chart of the automatic test for NC document transmission based on the PLM-DNC integrated system provided by the invention.
Detailed Description
The following provides a more detailed description of embodiments of the present invention, with reference to the accompanying drawings.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
the invention provides a file transmission verification method based on a PLM-DNC integrated system, as shown in figure 1, comprising the following steps:
s1, establishing an interactive working state of a PLM system and a DNC system;
s2, acquiring a simulation processing NC document of the part to be processed by using the part to be processed;
and S3, carrying out file transmission verification by utilizing the simulation processing NC document of the part to be processed based on the interactive working state of the PLM system and the DNC system.
In this embodiment, a file transfer verification method based on a PLM-DNC integrated system may be used to establish an interworking state between the PLM system and the DNC system by using an automated testing tool to run a test script, where the content of the test script mainly performs a subsequent operation process in a flowchart, and a script performs a simulated mouse and keyboard operation to implement interworking between the PLM system and the NC system, and the main operation of the script is to separate the running process from a manual operation. The test script can be designed and compiled according to the needs to realize specific functions.
S2 specifically comprises the following steps:
s2-1, obtaining a simulation processing NC document of the part to be processed by utilizing the part to be processed based on CAM software.
S3 specifically comprises the following steps:
s3-1, sending the simulation machining NC document of the part to be machined to a virtual machining device through a PLM system;
s3-2, acquiring a simulation machining NC document of the part to be machined in the virtual machining device by using equipment standard data of machining equipment corresponding to the part to be machined;
s3-3, generating a machining equipment NC document corresponding to the part to be machined by utilizing the machining equipment corresponding to the part to be machined according to the simulation machining NC document of the part to be machined;
s3-4, acquiring an NC document of the machining equipment based on the virtual machining device by utilizing the PLM system;
and S3-5, judging whether the code of the simulation processing NC document is the same as the code of the NC document of the processing equipment, if so, passing the verification, and otherwise, performing error reporting processing.
S3-1 specifically comprises:
the virtual processing device is a PC (personal computer) machine simulating one processing device or a plurality of processing devices by placing the same type of control end.
In this embodiment, a file transfer verification method based on a PLM-DNC integrated system needs to satisfy the following requirements:
1) The virtual processing equipment is characterized in that the same type of control end is placed on a PC to simulate one piece of processing equipment or a plurality of pieces of processing equipment;
2) Designing the number of PCs required by the type of the processing equipment to be covered;
3) Constructing a virtual machining equipment application layer, externally calling, and directly jumping to virtual machining equipment of a corresponding PC;
4) For the model types without virtual processing equipment, directly establishing universal virtual processing equipment by using or developing corresponding tools according to protocols such as serial ports, network cards and ftp and combining with universal rules in DNC software programs;
5) According to the communication mode of the PLM and the processing equipment, connecting the PC end where the PLM is located with the PC end, and communicating the NC document;
6) The virtual processing equipment can virtually correspond to the equipment end according to the type of the supported equipment, and can be a CNC receiving end or a system with an embedded Linux, windows/Windows CE file equipment receiving end and the like. The virtual process tool generation tool may be self-developed.
S3-2 specifically comprises:
the standard data of the equipment comprises the system type of the equipment, serial ports, network cards and ftp related protocol regulations.
In this embodiment, a file transmission verification method based on a PLM-DNC integrated system, as shown in fig. 2, the method performs verification by a return verification method using multiple communication protocols/modes:
1) Selecting equipment and model from the virtual machining equipment application layer to verify according to the verified machining equipment type and communication protocol mode;
2) Constructing a test case library to form a test case file list;
3) Pushing, namely pushing the NC file to a virtual processing equipment end, a simulation equipment end and the received NC file by adopting the NC file transmitted by the PLM system;
4) And (3) pulling to establish a return method, and returning the NC document received in the simulation processing equipment end to the PLM system through the pull method.
5) Checking is carried out, wherein in a PLM system, a pushed file and a pulled file are compared to confirm the correctness of file data.
6) And recursively reading the test case file list file, and performing 'push', 'pull', 'check' tests to perform regression tests.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting the same, and although the present invention is described in detail with reference to the above embodiments, those of ordinary skill in the art should understand that: modifications and equivalents may be made to the embodiments of the invention without departing from the spirit and scope of the invention, which is to be covered by the claims.

Claims (4)

1. A file transmission verification method based on a PLM-DNC integrated system is characterized by comprising the following steps:
s1, establishing an interactive working state of a PLM system and a DNC system;
s2, acquiring a simulation machining NC document of the part to be machined by using the part to be machined;
s3, carrying out file transmission verification by utilizing the simulated machining NC document of the part to be machined based on the interactive working state of the PLM system and the DNC system:
s3-1, sending the simulation machining NC document of the part to be machined to a virtual machining device through a PLM system;
s3-2, acquiring a simulation processing NC document of the part to be processed in the virtual processing device by using the device standard data of the processing device corresponding to the part to be processed;
s3-3, generating a machining equipment NC document corresponding to the part to be machined according to the simulation machining NC document of the part to be machined by utilizing machining equipment corresponding to the part to be machined;
s3-4, acquiring an NC document of the machining equipment based on the virtual machining device by using the PLM system;
and S3-5, judging whether the code of the simulation processing NC document is the same as the code of the NC document of the processing equipment, if so, passing the verification, and otherwise, performing error reporting processing.
2. The file transmission verification method based on the PLM-DNC integrated system as claimed in claim 1, wherein said obtaining the simulation processing NC document of the part to be processed by using the part to be processed comprises:
and obtaining the simulation processing NC document of the part to be processed based on CAM software by utilizing the part to be processed.
3. The file transmission verification method based on the PLM-DNC integrated system as claimed in claim 1, wherein said virtual processing device is a PC with the same type of control end to simulate a processing equipment or a plurality of processing equipments.
4. The file transfer verification method based on the PLM-DNC integrated system of claim 1, wherein the device standard data includes device system type, serial port, network card, ftp related protocol specification.
CN202211466386.6A 2022-11-22 2022-11-22 File transmission verification method based on PLM-DNC integrated system Active CN115589407B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211466386.6A CN115589407B (en) 2022-11-22 2022-11-22 File transmission verification method based on PLM-DNC integrated system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211466386.6A CN115589407B (en) 2022-11-22 2022-11-22 File transmission verification method based on PLM-DNC integrated system

Publications (2)

Publication Number Publication Date
CN115589407A CN115589407A (en) 2023-01-10
CN115589407B true CN115589407B (en) 2023-03-10

Family

ID=84783310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211466386.6A Active CN115589407B (en) 2022-11-22 2022-11-22 File transmission verification method based on PLM-DNC integrated system

Country Status (1)

Country Link
CN (1) CN115589407B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101497067B1 (en) * 2013-11-20 2015-03-09 대한민국(국가기록원) Electric document transfer method and apparatus based digital forensic
CN110096033A (en) * 2019-05-09 2019-08-06 江苏南高智能装备创新中心有限公司 A method of check and correction numerical control program precision
CN110347056A (en) * 2019-06-19 2019-10-18 北京航天智造科技发展有限公司 Shop-floor management platform and emulation mode
CN112712303A (en) * 2021-03-26 2021-04-27 上海交大智邦科技有限公司 Digital planning method for machining process and software platform

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205485449U (en) * 2016-01-21 2016-08-17 上海斑彰信息技术有限公司 DNC information collection system
CN113805848B (en) * 2020-06-11 2024-03-26 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system
CN113591422B (en) * 2021-08-03 2024-01-30 眸芯科技(上海)有限公司 System for generating test case flow information in chip verification and application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101497067B1 (en) * 2013-11-20 2015-03-09 대한민국(국가기록원) Electric document transfer method and apparatus based digital forensic
CN110096033A (en) * 2019-05-09 2019-08-06 江苏南高智能装备创新中心有限公司 A method of check and correction numerical control program precision
CN110347056A (en) * 2019-06-19 2019-10-18 北京航天智造科技发展有限公司 Shop-floor management platform and emulation mode
CN112712303A (en) * 2021-03-26 2021-04-27 上海交大智邦科技有限公司 Digital planning method for machining process and software platform

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
基于DNC系统的数控机床仿真集成方法研究;刘欢等;《制造技术与机床》(第08期);全文 *
基于PLM的网络DNC平台的研究;赵幼芳等;《沈阳航空工业学院学报》(第02期);全文 *
基于STL实体模型离散化的数控加工仿真研究;陈洁等;《井冈山大学学报(自然科学版)》(第05期);全文 *

Also Published As

Publication number Publication date
CN115589407A (en) 2023-01-10

Similar Documents

Publication Publication Date Title
CN107885656B (en) Automatic product algorithm testing method and application server
US20050223295A1 (en) Method for the creation of sequences for testing software
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
CN110704323A (en) Data automatic testing method and device based on rail transit line data
KR101935105B1 (en) Apparatus and Method for verifying automation based robustness using mutation Application Programming Interface
CN110471394B (en) Task testing method, device and system, storage medium and processor
CN113260935A (en) Method and device for computer-aided simulation of a modular technical system
CN110689238B (en) Method and system for realizing MMS (multimedia message service) information simulation and point-to-point of intelligent substation
CN105453033A (en) Program testing service
CN115589407B (en) File transmission verification method based on PLM-DNC integrated system
CN114090423A (en) Automatic control method for chip verification
CN112527573B (en) Interface testing method, device and storage medium
US10579761B1 (en) Method and system for reconstructing a graph presentation of a previously executed verification test
CN112543110A (en) Network communication simulation method and system of mass power distribution automatic terminal
CN109144806B (en) Function verification method and device for register transmission stage circuit
CN115562931A (en) Processor debugging module verification method and device, electronic equipment and storage medium
CA3144852A1 (en) Automatic generation of integrated test procedures using system test procedures
CN113836825A (en) Application method of key standard and verification chip of neural network processor
CN113806231A (en) Code coverage rate analysis method, device, equipment and medium
CN112231062A (en) Safety test system and method for programmable industrial controller
CN111752823A (en) Method, device and equipment for testing vehicle-mounted power supply application software
CN109669868A (en) The method and system of software test
KR102253549B1 (en) A method and apparatus for inspecting firing control system usinf failure categorization
CN116107903A (en) Method, device, equipment and medium for testing vehicle-end service function

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
GR01 Patent grant
GR01 Patent grant