CN115589407A - 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
CN115589407A
CN115589407A CN202211466386.6A CN202211466386A CN115589407A CN 115589407 A CN115589407 A CN 115589407A CN 202211466386 A CN202211466386 A CN 202211466386A CN 115589407 A CN115589407 A CN 115589407A
Authority
CN
China
Prior art keywords
plm
document
processed
dnc
processing
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.)
Granted
Application number
CN202211466386.6A
Other languages
Chinese (zh)
Other versions
CN115589407B (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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Numerical Control (AREA)

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 verifying the communication data transmission between the PLM system and the processing equipment is realized by generating a bidirectional verification file, a complex data scene is covered, the verification timeliness is improved, and an important role is played in the practical production 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, is responsible for carrying out standard and structural management on NC codes, carries out real-time communication with processing equipment (machine tools, processing equipment and the like) in different modes such as a serial port, a network card and the like, transmits the managed NC codes to a processing equipment end, and ensures the normal and accurate operation of the processing equipment. 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 also 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 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 processing NC document of the part to be processed based on CAM software by utilizing the part to be processed.
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 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.
Furthermore, the virtual processing device is a processing device or a plurality of processing devices simulated by a PC machine with the same type of control end.
Further, the standard data of the device includes the system type of the device, serial ports, network cards, and ftp related protocol specifications.
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, complicated data scenes are covered, the verified timeliness is improved, and an important role is played in the actual production and application process.
Drawings
FIG. 1 is a flowchart of a file transmission 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 describes embodiments of the present invention in further detail 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 implemented by using an automated testing tool to run a test script, where the test script is mainly configured to execute a subsequent operation process in a flowchart, and execute a simulated mouse and keyboard operation through the script to implement an interactive operation between the PLM and an NC system, and the script is mainly configured 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 processing NC document of the part to be processed to a virtual processing 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 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 processing device or a plurality of processing devices simulated by a PC (personal computer) with the same type of control end.
In this embodiment, in a file transfer verification method based on a PLM-DNC integrated system, the virtual processing apparatus needs to meet 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 processing equipment or a plurality of processing equipments;
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, calling externally, 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 supported equipment type, 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 file use case library to form a test case file list;
3) Pushing, namely pushing the NC file with 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) In the PLM system, the pushed file and the pulled file are compared to confirm the correctness of the 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 (5)

1. A file transmission verification method based on a PLM-DNC integrated system is characterized by comprising 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;
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.
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 transfer verification method based on the PLM-DNC integrated system of claim 1, wherein the file transfer verification based on the interactive working state of the PLM system and the DNC system using the NC document for the simulation process of the part to be processed comprises:
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 a processing device based on a virtual processing device by utilizing a PLM system;
and 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.
4. The file transmission verification method based on the PLM-DNC integrated system as claimed in claim 3, wherein said virtual processing device is a PC simulating one processing equipment or a plurality of processing equipments for the same type of control terminal.
5. The file transfer verification method based on the PLM-DNC integrated system of claim 3, 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 true CN115589407A (en) 2023-01-10
CN115589407B 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 (7)

* 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
CN205485449U (en) * 2016-01-21 2016-08-17 上海斑彰信息技术有限公司 DNC information collection system
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
CN113591422A (en) * 2021-08-03 2021-11-02 眸芯科技(上海)有限公司 System for generating test case flow information in chip verification and application
CN113805848A (en) * 2020-06-11 2021-12-17 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system

Patent Citations (7)

* 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
CN205485449U (en) * 2016-01-21 2016-08-17 上海斑彰信息技术有限公司 DNC information collection system
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
CN113805848A (en) * 2020-06-11 2021-12-17 中国航发商用航空发动机有限责任公司 Target machine control software integration method and system
CN112712303A (en) * 2021-03-26 2021-04-27 上海交大智邦科技有限公司 Digital planning method for machining process and software platform
CN113591422A (en) * 2021-08-03 2021-11-02 眸芯科技(上海)有限公司 System for generating test case flow information in chip verification and application

Non-Patent Citations (3)

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

Also Published As

Publication number Publication date
CN115589407B (en) 2023-03-10

Similar Documents

Publication Publication Date Title
US20050223295A1 (en) Method for the creation of sequences for testing software
CN107797928B (en) Instrument control system platform logic algorithm block testing device and method
CN112052172B (en) Rapid test method and device for third-party channel and electronic equipment
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
CN117251381B (en) Software virtual system for spin developing system, debugging method and storage medium
US9117018B2 (en) Method of debugging software and corresponding computer program product
CN110471394B (en) Task testing method, device and system, storage medium and processor
CN110689238B (en) Method and system for realizing MMS (multimedia message service) information simulation and point-to-point of intelligent substation
CN111736951A (en) Simulation method for automatic driving, computer device, and storage medium
CN105453033A (en) Program testing service
KR20230081501A (en) Apparatus and method for estabilishing production plan
CN114090423A (en) Automatic control method for chip verification
CN115589407B (en) File transmission verification method based on PLM-DNC integrated system
CN112527573B (en) Interface testing method, device and storage medium
CN117421217A (en) Automatic software function test method, system, terminal and medium
CN112199273A (en) Virtual machine pressure/performance testing method and system
CN113836825A (en) Application method of key standard and verification chip of neural network processor
CA3144852A1 (en) Automatic generation of integrated test procedures using system test procedures
CN113541126A (en) Power distribution network simulation system suitable for verifying advanced algorithm and algorithm verification method
CN113806231A (en) Code coverage rate analysis method, device, equipment and medium
CN113282504A (en) Incremental code coverage rate detection method and service development method and device
CN109669868A (en) The method and system of software test
KR102253549B1 (en) A method and apparatus for inspecting firing control system usinf failure categorization
CN115983191A (en) Test point verification method and related device

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