Communication interface device, system and method between LabVIEW and MES system

By designing a communication interface device, the operation instructions and feedback information between the MES and LabVIEW systems are resolved, and the problem of poor communication stability and consistency between systems is solved, real-time data transmission and closed-loop system are realized, and production efficiency is improved.

CN113900419BActive Publication Date: 2024-11-05NORTH VALLEY ELECTRONICS CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202111194317.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-13
Publication Date
2024-11-05
Estimated Expiration
2041-10-13

AI Technical Summary

Technical Problem

The lack of communication interface between the existing MES and LabVIEW systems leads to poor communication stability and consistency, and it is impossible to form a complete closed-loop system.

Method used

A communication interface device is designed, including communication modules from MES to LabVIEW and LabVIEW to MES. By analyzing and transmitting job instructions and feedback information, it ensures real-time data transmission and reception, and improves communication stability and consistency between systems.

Benefits of technology

Real-time transmission of product information, production instructions and test data between MES and LabVIEW systems is realized, forming a complete closed-loop system, improving communication stability and consistency, and laying the foundation for the automation system for real-time data interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113900419B_ABST
    Figure CN113900419B_ABST
Patent Text Reader

Abstract

The present invention provides a communication interface device, system and method for use between LabVIEW and MES systems, wherein the communication interface device includes: an MES to LabVIEW communication device and a LabVIEW to MES communication device. The MES to LabVIEW communication device is used to parse the first operation instruction information received from the MES system to obtain the second operation instruction information; the LabVIEW to MES communication device obtains the second operation instruction information from the MES to LabVIEW communication device and sends the second operation instruction information to the LabVIEW system; and is also used to upload the received operation feedback information of the LabVIEW system to the MES system. The communication interface device provided by the present invention improves the interface mode between the MES system and the LabVIEW system, so that the LabVIEW system and the MES system jointly constitute a complete closed-loop system of operation instructions (production data) and operation feedback (feedback results), which can improve the communication stability and consistency; and lays the foundation for realizing an automated system for real-time interactive transmission of data between the MES system and the LabVIEW system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication control technology, and in particular to a communication interface device, system and communication method between LabVIEW and a MES system. Background Art

[0002] As today's enterprises have increasingly higher demands for management of production process execution, industrial intelligent manufacturing has been widely promoted. In industrial intelligent manufacturing, the collection and analysis of production data is of great value to the improvement of production processes.

[0003] MES (Manufacturing Execution System) is the production process execution system of a manufacturing enterprise. MES is a production information management system at the factory execution layer. Its core is at the workshop execution layer, focusing on the performance of automation. LabVIEW system is a type of execution layer, which is mainly responsible for the automation system control, product function testing, and data collection and transmission at the production site.

[0004] The existing production process is generally as follows: After receiving the work order, the MES system checks the status of resources, updates the work plan, and counts the processing quantity or cost records of the workpiece; the LabVIEW system controls the operation of automation equipment, product function testing, data collection and storage; the communication between the MES and LabVIEW systems in the prior art is not fully established, the stability is insufficient, and a complete closed-loop system cannot be formed.

[0005] Therefore, how to provide a communication interface device between LabVIEW and MES system is a technical problem that needs to be solved urgently by those skilled in the art.

[0006] It should be noted that the information disclosed in the background technology section of the invention is only intended to deepen the understanding of the general background technology of the invention, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention

[0007] The present invention aims at the problem of poor communication stability and consistency caused by lack of communication interface between MES system and LabVIEW system in the prior art, and provides a communication interface device, system and method for LabVIEW and MES system, so that the LabVIEW system and MES system together constitute a complete closed-loop system of production data and feedback results, so as to realize real-time transmission and reception of product information, production instructions and test data and results between the MES system and LabVIEW system, and improve the stability and consistency of communication between the LabVIEW system and MES system.

[0008] To achieve the above object, the present invention is implemented by the following technical scheme: a communication interface device between a LabVIEW system and an MES system, wherein the interface parameter setting of the MES system matches the communication interface device; the communication interface device comprises:

[0009] The MES to LabVIEW communication device is configured to receive first operation instruction information of the MES system, and parse the first operation instruction information to obtain second operation instruction information;

[0010] A LabVIEW to MES communication device configured to obtain the second job instruction information from the MES to LabVIEW communication device and send the second job instruction information to the LabVIEW system;

[0011] The LabVIEW to MES communication device is also used to receive job feedback information from the LabVIEW system and upload the job feedback information to the MES system.

[0012] Optionally, the MES to LabVIEW communication device includes a workstation function information module, an MES instruction configuration module and an instruction information parsing module;

[0013] The workstation function information module is configured to receive the workstation information sent by the MES system and send the workstation information to the MES instruction configuration module;

[0014] The instruction information parsing module is configured to receive the first operation instruction information sent by the MES system, and parse the first operation instruction information to obtain the parsed first operation instruction information; and is also used to send the parsed first operation instruction information to the MES instruction configuration module;

[0015] The MES instruction configuration module is configured to: if it is determined that the current operation instruction has been executed, obtain the second operation instruction information according to the received parsed first operation instruction information and the workstation information.

[0016] Optionally, the LabVIEW to MES communication device includes a job instruction transmission module, a job feedback information transmission module and an interaction state control module;

[0017] The job instruction transfer module is configured to obtain the second job instruction information from the MES instruction configuration module, and transfer the second job instruction information to the LabVIEW system so that the execution unit of the LabVIEW system executes the second job instruction information;

[0018] The operation feedback information transmission module is configured to receive the operation feedback information of the LabVIEW system and upload the operation feedback information to the MES system;

[0019] The interactive state control module is configured to: after uploading the operation feedback information to the MES system, clear the second operation instruction information in the MES instruction configuration module, so that the MES system and the LabVIEW system enter the next production cycle.

[0020] Optionally, the communication interface device is configured with a WebService server by the LabVIEW system and published on a local computer.

[0021] In order to achieve the second object of the present invention, the present invention further provides a production information management system, the production information management system comprising a LabVIEW system, an MES system and any one of the above communication interface devices;

[0022] The LabVIEW system and the MES system communicate and exchange data via the communication interface device.

[0023] Optionally, the method for the LabVIEW system and the MES system to communicate and exchange data through the communication interface device includes:

[0024] The MES system sends the first job instruction information to the MES to LabVIEW communication device of the communication interface device;

[0025] The MES to LabVIEW communication device parses the first job instruction information to obtain the second job instruction information;

[0026] The LabVIEW to MES communication device acquires the second job instruction information and sends it to the LabVIEW system;

[0027] The execution unit of the LabVIEW system executes the second job instruction information, and the LabVIEW system sends the job feedback information obtained by executing the second job instruction information to the LabVIEW-to-MES communication device;

[0028] The LabVIEW to MES communication device uploads the operation feedback information to the MES system.

[0029] In order to achieve the third object of the present invention, the present invention further provides a communication method between LabVIEW and an MES system, based on any of the above communication interface devices, the communication method comprising:

[0030] S1: the MES to LabVIEW communication device receives first job instruction information of the MES system, and parses the first job instruction information to obtain second job instruction information; the LabVIEW to MES communication device obtains the second job instruction information from the MES to LabVIEW communication device, and sends the second job instruction information to the LabVIEW system;

[0031] S2: The LabVIEW to MES communication device receives the job feedback information of the LabVIEW system, and uploads the job feedback information to the MES system.

[0032] Optionally, the MES to LabVIEW communication device includes a workstation function information module, an MES instruction configuration module, and an instruction information parsing module;

[0033] In step S1, the MES to LabVIEW communication device receives first operation instruction information of the MES system, and parses the first operation instruction information to obtain second operation instruction information, including:

[0034] S11: The workstation function information module receives the workstation information sent by the MES system, and sends the workstation information to the MES instruction configuration module;

[0035] S12: the instruction information parsing module parses the first operation instruction information received from the MES system to obtain parsed first operation instruction information; and sends the parsed first operation instruction information to the MES instruction configuration module;

[0036] S13: When it is determined that the current operation instruction has been executed, the MES instruction configuration module obtains the second operation instruction information according to the received parsed first operation instruction information and the workstation information.

[0037] Optionally, the LabVIEW to MES communication device includes an interactive state control module;

[0038] The communication method further comprises:

[0039] S3: After uploading the operation feedback information to the MES system, the interactive state control module clears the second operation instruction information in the MES instruction configuration module, so that the MES system and the LabVIEW system enter the next production cycle.

[0040] Optionally, the LabVIEW to MES communication device further includes a job instruction transmission module and a job feedback information transmission module;

[0041] In step S2, the LabVIEW to MES communication device receives the operation feedback information of the LabVIEW system and uploads the operation feedback information to the MES system, including:

[0042] The job instruction transmission module obtains the second job instruction information from the MES instruction configuration module, and transmits the second job instruction information to the LabVIEW system so that the execution unit of the LabVIEW system executes the second job instruction information;

[0043] The operation feedback information transmission module receives the operation feedback information of the LabVIEW system, and uploads the operation feedback information to the MES system.

[0044] Compared with the prior art, the communication interface device, system and communication method between LabVIEW and MES system provided by the present invention have the following beneficial effects:

[0045] The present invention provides a communication interface device for use between a LabVIEW system and an MES system, wherein the interface parameter setting of the MES system matches the communication interface device; the communication interface device comprises: an MES to LabVIEW communication device, configured to receive first job instruction information of the MES system, and parse the first job instruction information to obtain second job instruction information; a LabVIEW to MES communication device, configured to obtain the second job instruction information from the MES to LabVIEW communication device, and send the second job instruction information to the LabVIEW system; the LabVIEW to MES communication device is also used to receive job feedback information of the LabVIEW system, and upload the job feedback information to the MES system. Therefore, the communication interface device provided by the present invention for use between the LabVIEW system and the MES system improves the interface mode between the MES system and the LabVIEW system: product information and production commands are transmitted and test data and results are received through the communication interface device. The communication interface device provided by the present invention enables the LabVIEW system and the MES system to jointly form a complete closed-loop system of job instructions (production data) and job feedback (feedback results), thereby improving communication stability and consistency; and laying a good foundation for realizing an automated system for real-time interactive data transmission between the MES system and the LabVIEW system.

[0046] In addition, the communication interface device provided by the present invention is configured with a WebService server by the LabVIEW system and published on a local computer. After the communication interface device is generated, it can be directly transplanted and installed on other computers. It is flexible in application, has good robustness and compatibility, and is easy to promote and apply in the communication industry of LabVIEW systems and MES systems.

[0047] Since the communication method between the production information management system and LabVIEW and the MES system provided by the present invention and the communication interface device between the LabVIEW system and the MES system provided by the present invention belong to the same inventive concept, the communication method between the production information management system and LabVIEW and the MES system provided by the present invention has at least the same beneficial effects as the communication interface device between the LabVIEW system and the MES system, and they are not described one by one here. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A structural block diagram of a communication interface device between LabVIEW and an MES system provided in the first embodiment of the present invention;

[0049] Figure 2 A structural block diagram of a production information management system provided in Embodiment 2 of the present invention;

[0050] Figure 3 A schematic diagram of the overall flow of the communication method between LabVIEW and the MES system provided in the third embodiment of the present invention;

[0051] Figure 4 for Figure 3 A schematic flow chart of one implementation method of step S1;

[0052] Figure 5 for Figure 4 A schematic flow chart of one implementation method of step S2;

[0053] The reference numerals are described as follows:

[0054] 100-MES system, 200-LabVIEW system, 300-communication interface device;

[0055] 310-MES to LabVIEW communication device, 311-station function information module, 312-instruction information parsing module, 313-MES instruction configuration module;

[0056] 320 - LabVIEW to MES communication device, 321 - job instruction transmission module, 322 - job feedback information transmission module, 323 - interaction status control module. DETAILED DESCRIPTION

[0057] In order to make the purpose, advantages and features of the present invention clearer, the communication interface device, system and method for LabVIEW and MES system proposed by the present invention are further described in detail below in conjunction with the accompanying drawings. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention. It should be understood that the drawings in the specification do not necessarily show the specific structure of the present invention in proportion, and the illustrative features used to illustrate certain principles of the present invention in the drawings in the specification will also adopt a slightly simplified drawing method. The specific design features of the present invention disclosed herein include, for example, specific dimensions, directions, positions and shapes, which will be determined in part by the specific application and use environment. And, in the embodiments described below, sometimes the same figure mark is used in common between different drawings to represent the same part or the part with the same function, and its repeated description is omitted. In this specification, similar numbers and letters are used to represent similar items, so once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

[0058] Where appropriate, these terms used in this manner are interchangeable. Similarly, if a method described herein includes a series of steps, the order in which the steps are presented herein is not necessarily the only order in which the steps may be performed, and some of the steps described may be omitted and / or some other steps not described herein may be added to the method. Embodiment 1

[0059] This embodiment provides a communication interface device for use between a LabVIEW system and an MES system. The interface parameter settings of the MES system 100 match the communication interface device 300. For details, see Figure 1 , which schematically shows the structure block diagram of the communication interface device provided by this embodiment for use between LabVIEW and the MES system. Figure 1 It can be seen that the communication interface device 300 provided in this embodiment includes: a MES to LabVIEW communication device 310 and a LabVIEW to MES communication device 320 .

[0060] Specifically, the MES to LabVIEW communication device 310 is configured to receive the first job instruction information of the MES system 100, and parse the first job instruction information to obtain the second job instruction information. The LabVIEW to MES communication device 320 is configured to obtain the second job instruction information from the MES to LabVIEW communication device 310, and send the second job instruction information to the LabVIEW system 200. The LabVIEW to MES communication device 320 is also used to receive the job feedback information of the LabVIEW system 200, and upload the job feedback information to the MES system 100.

[0061] Therefore, the communication interface device 300 provided by the present invention is used for the communication interface device 300 between the LabVIEW system 200 and the MES system 100, and the interface parameter setting of the MES system 100 matches the communication interface device 300; the communication interface device 300 includes: an MES to LabVIEW communication device 310, configured to receive the first job instruction information of the MES system 100, and parse the first job instruction information to obtain the second job instruction information; a LabVIEW to MES communication device 320, configured to obtain the second job instruction information from the MES to LabVIEW communication device 310, and send the second job instruction information to the LabVIEW system 200; the LabVIEW to MES communication device 320 is also used to receive the job feedback information of the LabVIEW system 200, and upload the job feedback information to the MES system 100. Therefore, the communication interface device 300 provided by the present invention for use between the LabVIEW system and the MES system improves the interface mode between the MES system 100 and the LabVIEW system 200: product information and production commands are transmitted and test data and results are received through the interface device. The communication interface device 300 provided by the present invention enables the LabVIEW system 200 and the MES system 100 to jointly form a complete closed-loop system of job instructions (production data) and job feedback (feedback results), which can improve the communication stability and consistency between the LabVIEW system 200 and the MES system 100; and lays a good foundation for realizing an automated system for real-time interactive data transmission between the MES system and the LabVIEW system.

[0062] Preferably, in one exemplary embodiment, the communication interface device 300 is configured by the LabVIEW system 200 as a WebService server and published on a local computer.

[0063] With such configuration, after the communication interface device 300 provided by the present invention is generated, it can be directly transplanted and installed on other computers. It is flexible in application, has good robustness and compatibility, and is easy to promote and apply in the communication industry of the LabVIEW system 200 and the MES system 100.

[0064] Please continue to see Figure 1 In one exemplary embodiment, the MES to LabVIEW communication device 310 includes a workstation function information module 311, an instruction information parsing module 312, and an MES instruction configuration module 313. Specifically, the workstation function information module 311 is configured to receive the workstation information sent by the MES system 100, and send the workstation information to the MES instruction configuration module 313. The instruction information parsing module 312 is configured to receive the first job instruction information sent by the MES system 100, parse the first job instruction information, and obtain the parsed first job instruction information; and also to send the parsed first job instruction information to the MES instruction configuration module 313. The MES instruction configuration module 313 is configured to: if it is determined that the current job instruction has been executed, then obtain the second job instruction information according to the received parsed first job instruction information and the workstation information.

[0065] Therefore, the MES to LabVIEW communication device of the communication interface device 300 provided by the present invention can convert the product information, production information, processing quantity, workstation information and other operation instruction information (i.e., first operation instruction information) of the MES system 100 into parameter information for controlling the operation of automation equipment, product test information, data acquisition parameters and other execution parameter information (i.e., second operation instruction information) recognized by the LabVIEW system 200, thereby establishing a communication path from the MES system 100 to the LabVIEW system 200, improving the communication stability and consistency from the MES system 100 to the LabVIEW system 200, simplifying the operation process and improving efficiency.

[0066] Please continue to see Figure 1In one exemplary embodiment, the LabVIEW to MES communication device 320 includes a job instruction transmission module 321, a job feedback information transmission module 322, and an interactive state control module 323. Specifically, the job instruction transmission module 321 is configured to obtain the second job instruction information from the MES instruction configuration module 313, and transmit the second job instruction information to the LabVIEW system 200, so that the execution unit (not shown in the figure) of the LabVIEW system 200 executes the second job instruction information. The job feedback information transmission module 322 is configured to receive the job feedback information of the LabVIEW system 200, and upload the job feedback information to the MES system 100. The interactive state control module 323 is configured to: after uploading the job feedback information to the MES system 100, clear the second job instruction information in the MES instruction configuration module 313, so that the MES system 100 and the LabVIEW system 200 enter the next production cycle.

[0067] In particular, as those skilled in the art can understand, the execution unit of the LabVIEW system 200 described in this article includes but is not limited to a control module for controlling the operation of the device, a test module for performing test operations, and an acquisition module for performing acquisition operations, etc. In actual applications, it can correspond to different functional modules according to the specific content of the second job instruction information, and will not be described one by one here.

[0068] Thus, the LabVIEW to MES communication device 320 of the communication interface device 300 provided by the present invention can transmit the second job instruction information received from the MES to LabVIEW communication device 310 to the LabVIEW system 200, so that the execution unit of the LabVIEW system 200 executes the second job instruction information (including but not limited to product information, production information, processing quantity, workstation information, etc.) of the MES system 100, and feeds back the execution result of the LabVIEW system 200 to the MES system 100, thereby establishing a communication path from the LabVIEW system 200 to the MES system 100, and improving the communication stability and consistency from the MES system 100 to the LabVIEW system 200. Further, the LabVIEW to MES communication device 320 and the MES to LabVIEW communication device 310 together constitute a complete closed loop between the LabVIEW system 200 and the MES system 100, which can simplify the operation process, improve efficiency, and lay a good foundation for realizing an automated system for real-time interactive data transmission between the MES system and the LabVIEW system. Embodiment 2

[0069] Another embodiment of the present invention also provides a production information management system. Figure 2 , which schematically shows the structural block diagram of the production information management system provided by this embodiment. Figure 2 It can be seen that the production information management system provided in this embodiment includes a LabVIEW system 200, an MES system 100 and a communication interface device 300 described in any implementation manner of Example 1; the LabVIEW system 200 and the MES system 100 communicate and exchange data through the communication interface device 300.

[0070] In one exemplary implementation, the process of the LabVIEW system 200 and the MES system 100 communicating and exchanging data through the communication interface device 300 generally includes:

[0071] The MES system 100 sends the first job instruction information to the MES to LabVIEW communication device 310 of the communication interface device 300;

[0072] The MES to LabVIEW communication device 310 parses the first job instruction information to obtain the second job instruction information;

[0073] The LabVIEW to MES communication device 320 obtains the second job instruction information and sends it to the LabVIEW system 200;

[0074] The execution unit of the LabVIEW system 200 executes the second job instruction information, and the LabVIEW system 200 sends the job feedback information obtained by executing the second job instruction information to the LabVIEW to MES communication device 320;

[0075] The LabVIEW to MES communication device uploads the operation feedback information to the MES system 100 .

[0076] To facilitate understanding of the present invention, an example is given in which the production information management system provided by the present invention is used to test and detect whether a same component or function of N products of the same batch at workstation A meets the standards.

[0077] First, the MES system 100 receives the work order, tests N products respectively according to the test information of the work order, and obtains the test result of the workstation A. First, the MES system 100 sends the workstation information of the workstation A and the number of products N to the MES to LabVIEW communication device 310. Since the interface parameter setting of the MES system 100 matches the communication interface device 300, after the workstation function information module 311 of the MES to LabVIEW communication device 310 receives the workstation information of the workstation A, it sends the workstation information of the workstation A and the number of products N to the MES instruction configuration module 313. As can be understood by those skilled in the art, the interface parameter setting of the MES system 100 matches the communication interface device 300 in a predetermined mode. The present invention does not limit the specific manner in which the interface parameter settings of the MES system 100 match the communication interface device 300. For example, in one embodiment, when sending a test on the workstation information A, "instruction type: test; workstation: A; number of test pieces: N" is used; in another embodiment, "test; A; N" is used. Examples are not given one by one here.

[0078] Then, the MES system 100 sends the test items for the i-th (1≤i≤N) component (the present invention does not limit the number of test items and the sending method. For example, in one embodiment, the MES system 100 sends the second item after receiving the feedback result of the previous test; in other embodiments, several items may be packaged and sent at a time until all feedback results are received before sending the next batch of test items; in some other embodiments, all test items may be sent at one time) to the instruction information parsing module 312 of the MES to LabVIEW communication device 310. After parsing the test items, the instruction information parsing module 312 sends them to the MES instruction configuration module 313; the MES instruction configuration module 313 obtains the test items for the i-th component of the workstation A that can be recognized by the LabVIEW system 200 based on the received workstation information and test items. The job instruction transfer module 321 of the LabVIEW to MES communication device 320 obtains the test items for the i-th component of the workstation A from the MES instruction configuration module 313 , and transfers the information to the LabVIEW system 200 .

[0079] Next, the LabVIEW system 200 feeds back the test result of the test item of the i-th component at the workstation A to the feedback information transmission module 322 of the LabVIEW to MES communication device 320 , and the feedback information transmission module 322 feeds back the test result to the MES system 100 .

[0080] Finally, after confirming that the MES system 100 has received the test result, the interactive state control module 323 of the LabVIEW to MES communication device 320 clears the second job instruction information of the MES instruction configuration module 313 (i.e., the test item for the i-th component of workstation A that can be recognized by the LabVIEW system 200), so that the MES system 100 and the LabVIEW system 200 enter the next test cycle (i.e., testing the i+1-th workpiece, (i+1)≤N).

[0081] Repeat the above process until the test items of N products are completed.

[0082] The situations of other automatic controls such as production control and data collection are similar. Those skilled in the art can draw inferences based on the contents disclosed in this article, and will not elaborate on them one by one here.

[0083] Since the production information management system provided by the present invention and the communication interface device provided by the present invention for use between the LabVIEW system and the MES system belong to the same inventive concept, the production information management system provided by the present invention has at least the same beneficial effect as the communication interface device for use between the LabVIEW system and the MES system: the production information management system provided by the present invention transmits product information and production commands and receives test data and results through the communication interface device 300. The communication interface device 300, the LabVIEW system 200 and the MES system 100 together constitute operation instructions (production data) and operation feedback (feedback results), making the production information management system a complete closed-loop system, improving communication stability and consistency, and significantly improving production efficiency; and laying a good foundation for realizing an automated system for real-time interactive transmission of data between the MES system and the LabVIEW system. Embodiment 3

[0084] This embodiment provides a communication method between LabVIEW and MES system, based on the communication interface device 300 described in any implementation manner in Embodiment 1. Figure 3 , which schematically shows the overall flow chart of the communication method between LabVIEW and MES system provided in this embodiment. Figure 3 It can be seen that the communication method includes:

[0085] S1: The MES to LabVIEW communication device receives the first job instruction information of the MES system, and parses the first job instruction information to obtain the second job instruction information; the LabVIEW to MES communication device obtains the second job instruction information from the MES to LabVIEW communication device, and sends the second job instruction information to the LabVIEW system.

[0086] S2: The LabVIEW to MES communication device receives the job feedback information of the LabVIEW system, and uploads the job feedback information to the MES system.

[0087] Specifically, as one exemplary implementation, see Figure 4 , which schematically gives a specific flow chart of step S1. Figure 4 It can be seen that the MES to LabVIEW communication device receives the first job instruction information of the MES system, and parses the first job instruction information to obtain the second job instruction information, including:

[0088] S11: The workstation function information module receives the workstation information sent by the MES system, and sends the workstation information to the MES instruction configuration module;

[0089] S12: the instruction information parsing module parses the first operation instruction information received from the MES system to obtain parsed first operation instruction information; and sends the parsed first operation instruction information to the MES instruction configuration module;

[0090] S13: When it is determined that the current operation instruction has been executed, the MES instruction configuration module obtains the second operation instruction information according to the received parsed first operation instruction information and the workstation information.

[0091] As one exemplary implementation, see Figure 5 , which schematically gives a specific flow chart of step S2. Figure 5 It can be seen that the LabVIEW to MES communication device receives the job feedback information of the LabVIEW system and uploads the job feedback information to the MES system specifically includes:

[0092] S21: the job instruction transmission module obtains the second job instruction information from the MES instruction configuration module, and transmits the second job instruction information to the LabVIEW system, so that the execution unit of the LabVIEW system executes the second job instruction information;

[0093] S22: The job feedback information transmission module receives the job feedback information of the LabVIEW system, and uploads the job feedback information to the MES system.

[0094] Preferably, in one exemplary embodiment, the LabVIEW to MES communication device includes an interactive state control module; the communication method further includes:

[0095] S3: After uploading the operation feedback information to the MES system, the interactive state control module clears the second operation instruction information in the MES instruction configuration module, so that the MES system and the LabVIEW system enter the next production cycle.

[0096] Since the communication method between LabVIEW and MES system provided by the present invention is similar to the basic principle of the communication interface device for use between LabVIEW and MES system provided by any one of the above-mentioned implementations 1 or the production information management system provided by any one of the implementations 2, the introduction is relatively rough. For detailed contents, please refer to the first or second implementations, and no further explanation is given here. Furthermore, since the communication method between LabVIEW and MES system provided by the present invention and the communication interface device for use between LabVIEW system and MES system provided by the present invention belong to the same inventive concept, the communication method between LabVIEW and MES system provided by the present invention has at least the same beneficial effect as the communication interface device for use between LabVIEW system and MES system, and no further explanation is given here.

[0097] It should be noted that the systems and methods disclosed in the embodiments of this article can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions and operations of the devices, methods and computer program products according to the multiple embodiments of this article. In this regard, each box in the flowchart or block diagram can represent a part of a module, program or code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0098] In addition, the functional modules in the various embodiments of this document may be integrated together to form an independent part, or each module may exist independently, or two or more modules may be integrated to form an independent part.

[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0100] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0101] In summary, the above embodiments describe in detail the different configurations of the communication interface device, system and method for LabVIEW and MES system proposed in the present invention. Of course, the above description is only a description of the preferred embodiments of the present invention, and is not any limitation to the scope of the present invention. The present invention includes but is not limited to the configurations listed in the above implementations. Those skilled in the art can draw inferences based on the contents of the above embodiments. Any changes and modifications made by those of ordinary skill in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A communication interface device between a LabVIEW system and an MES system, characterized in that: The interface parameter settings of the MES system match those of the communication interface device; The communication interface device includes: An MES to LabVIEW communication device is configured to receive first operation instruction information of the MES system and parse the first operation instruction information to obtain second operation instruction information; a LabVIEW to MES communication device configured to obtain the second job instruction information from the MES to LabVIEW communication device and send the second job instruction information to the LabVIEW system; The LabVIEW to MES communication device is further configured to receive operation feedback information from the LabVIEW system and upload the operation feedback information to the MES system; Wherein, the MES to LabVIEW communication device includes a workstation function information module, an MES instruction configuration module and an instruction information parsing module; The workstation function information module is configured to receive the workstation information sent by the MES system and send the workstation information to the MES instruction configuration module; The instruction information parsing module is configured to receive the first operation instruction information sent by the MES system, parse the first operation instruction information to obtain parsed first operation instruction information; and send the parsed first operation instruction information to the MES instruction configuration module; The MES instruction configuration module is configured to: if it is determined that the current operation instruction has been executed, obtain the second operation instruction information based on the received parsed first operation instruction information and the workstation information; The LabVIEW to MES communication device includes a job instruction transmission module, a job feedback information transmission module and an interaction state control module; The job instruction transmission module is configured to obtain the second job instruction information from the MES instruction configuration module and transmit the second job instruction information to the LabVIEW system so that the execution unit of the LabVIEW system executes the second job instruction information; the execution unit of the LabVIEW system includes a control module for controlling device operation, a test module for performing test operations, or an acquisition module for performing acquisition operations; The operation feedback information transmission module is configured to receive the operation feedback information of the LabVIEW system and upload the operation feedback information to the MES system; The interactive state control module is configured to: after uploading the operation feedback information to the MES system, clear the second operation instruction information in the MES instruction configuration module, so that the MES system and the LabVIEW system enter the next production cycle.

2. The communication interface device according to claim 1, wherein: The communication interface device is configured with a WebService server by the LabVIEW system and published on a local computer.

3. A production information management system, characterized in that: comprising a LabVIEW system, an MES system, and a communication interface device according to any one of claims 1 to 2; The LabVIEW system and the MES system communicate and exchange data via the communication interface device.

4. The production information management system according to claim 3, characterized in that: The method for the LabVIEW system and the MES system to communicate and exchange data through the communication interface device includes: The MES system sends the first job instruction information to the MES to LabVIEW communication device of the communication interface device; The MES to LabVIEW communication device parses the first job instruction information to obtain the second job instruction information; The LabVIEW to MES communication device obtains the second operation instruction information and sends it to the LabVIEW system; The execution unit of the LabVIEW system executes the second job instruction information, and the LabVIEW system sends the job feedback information obtained by executing the second job instruction information to the LabVIEW-to-MES communication device; The LabVIEW to MES communication device uploads the operation feedback information to the MES system.

5. A communication method between LabVIEW and MES system, characterized in that: Based on the communication interface device according to any one of claims 1-2, the communication method includes: S1: The MES-to-LabVIEW communication device receives first operation instruction information of the MES system and parses the first operation instruction information to obtain second operation instruction information; the LabVIEW-to-MES communication device obtains the second operation instruction information from the MES-to-LabVIEW communication device and sends the second operation instruction information to the LabVIEW system; S2: The LabVIEW to MES communication device receives the operation feedback information of the LabVIEW system and uploads the operation feedback information to the MES system.

6. The communication method according to claim 5, wherein: The MES to LabVIEW communication device includes a workstation function information module, an MES instruction configuration module and an instruction information parsing module; In step S1, the MES to LabVIEW communication device receives first operation instruction information of the MES system and parses the first operation instruction information to obtain second operation instruction information, including: S11: The workstation function information module receives the workstation information sent by the MES system, and sends the workstation information to the MES instruction configuration module; S12: The instruction information parsing module parses the first operation instruction information received from the MES system to obtain parsed first operation instruction information; and sends the parsed first operation instruction information to the MES instruction configuration module; S13: When it is determined that the current operation instruction has been executed, the MES instruction configuration module obtains the second operation instruction information according to the received parsed first operation instruction information and the workstation information.

7. The communication method according to claim 6, wherein: The LabVIEW to MES communication device includes an interactive state control module; The communication method further comprises: S3: After uploading the operation feedback information to the MES system, the interactive state control module clears the second operation instruction information in the MES instruction configuration module, so that the MES system and the LabVIEW system enter the next production cycle.

8. The communication method according to claim 7, wherein: The LabVIEW to MES communication device also includes a job instruction transmission module and a job feedback information transmission module; In step S2, the LabVIEW to MES communication device receives the operation feedback information of the LabVIEW system and uploads the operation feedback information to the MES system, including: The job instruction transmission module obtains the second job instruction information from the MES instruction configuration module, and transmits the second job instruction information to the LabVIEW system so that the execution unit of the LabVIEW system executes the second job instruction information; The operation feedback information transmission module receives the operation feedback information of the LabVIEW system and uploads the operation feedback information to the MES system.

Citation Information

Patent Citations

  • Control system and method making host computer compatible with multiple controllers and stirring stations

    CN105467960A

  • Communication interface device used between MES system and ERP system and communication method thereof

    CN106033558A

  • System and method for carrying out data interaction between ERP and MES

    CN106709612A

  • MES system control method and device, computer equipment and storage medium

    CN109683982A

  • MES data acquisition system compatible with multiple protocols and method thereof

    CN111427321A