PLC (Programmable Logic Controller) data interaction method based on Weilentong HMI (Human Machine Interface)

CN119003203APending Publication Date: 2024-11-22HUNAN ZHONGXIAN INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411009581.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

[0004]本发明的目的在于提供一种基于威纶通HMI的PLC数据交互方法,解决了背景技术中所提出的钠电返溶系统PLC与配料系统PLC无法直接通讯实现数据交互,需增加通讯模块和编写PLC通讯程序,这样增加了硬件、时间和人力成本的问题

Benefits of technology

[0013]本发明通过威纶通HMI将两套PLC系统结合起来,利用威纶通HMI的资料传输功能实现两套PLC系统之间的数据交互,无需新增通讯模块,无需编写PLC通讯程序,只需简单参数配置,适用于各种工业控制场景。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003203A_ABST
    Figure CN119003203A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data interaction, and particularly relates to a PLC (programmable logic controller) data interaction method based on a Welan HMI (human machine interface), which comprises the following steps of: 1, connecting a PLC needing data interaction with the Welan HMI through a network cable; step 2, respectively adding PLC (Programmable Logic Controller) equipment in the Weilon HMI project; and 3, calling a data transmission control in a Weilentong HMI project, setting corresponding data transmission parameters, and realizing data interaction of corresponding data areas of the two sets of PLC systems. The two sets of PLC systems are combined through the Welan HMI, data interaction between the two sets of PLC systems is achieved through the data transmission function of the Welan HMI, a communication module does not need to be newly added, a PLC communication program does not need to be written, only simple parameter configuration is needed, and the system is suitable for various industrial control scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data interaction, and in particular to a PLC data interaction method based on Weiluntong HMI. Background Art

[0002] The sodium electrolysis system is a highly automated self-control system in the field of battery materials, including feed control, reaction process control and discharge control. Discharge control is the key control part of the system, which requires data interaction with the batching system to achieve timed, directional and quantitative discharge control;

[0003] In actual application, the sodium electrolysis system uses Siemens 1500 PLC as the position control system and Weiluntong HMI as the position monitoring and operating system. The batching system uses OMRON CJ1 PLC as the position control system. The sodium electrolysis system PLC and the batching system PLC cannot communicate directly to realize data interaction. It is necessary to add a communication module and write a PLC communication program, which increases hardware, time and labor costs. Therefore, a new technical solution needs to be designed to solve it. Summary of the invention

[0004] The purpose of the present invention is to provide a PLC data interaction method based on the Weiluntong HMI, which solves the problem that the sodium electrolysis system PLC and the batching system PLC proposed in the background technology cannot communicate directly to achieve data interaction, and it is necessary to add a communication module and write a PLC communication program, which increases hardware, time and labor costs.

[0005] To achieve the above object, the present invention provides the following technical solution: a PLC data interaction method based on Weiluntong HMI, comprising the following method steps:

[0006] Step 1: Connect the PLC that needs to interact with the data to the Weiluntong HMI via a network cable;

[0007] Step 2: Add PLC devices to the Weiluntong HMI project respectively;

[0008] Step 3: Call the data transmission control in the Weiluntong HMI project, set the corresponding data transmission parameters, and realize the data interaction between the corresponding data areas of the two PLC systems.

[0009] As a preferred implementation of the present invention, in the step 1, the Siemens 1500 PLC and the OMRON CJ1 PLC are connected to the Weiluntong HMI via a network cable.

[0010] As a preferred implementation of the present invention, in the step 2, in the Weiluntong HMI project, open the "Add Device / Server" interface, add the device type: Siemens S7-1200 / 1500 (Ethernet), interface type: Ethernet, set the IP address and port number, and similarly, add the device type: OMRON CJ / CS / CP (Ethernet-FINS / TCP), interface type: Ethernet, set the IP address and port number, and the addition of the PLC device can be completed.

[0011] As a preferred implementation manner of the present invention, in the step three, open the "Data Transmission (Background)" interface, add "Data Transmission (Timed)", set the source data to the Siemens S7-1200 / 1500 (Ethernet) sending data area, set the target data to the OMRON CJ / CS / CP (Ethernet-FINS / TCP) receiving data area, set the interval time, and complete the data transmission from the Siemens 1500PLC sending data area to the OMRON CJ1PLC receiving data area; similarly, add "Data Transmission (Timed)", set the source data to the OMRON CJ / CS / CP (Ethernet-FINS / TCP) sending data area, set the target data to the Siemens S7-1200 / 1500 (Ethernet) receiving data area, set the interval time, and complete the data transmission from the OMRON CJ1 PLC sending data area to the Siemens 1500PLC receiving data area.

[0012] Compared with the prior art, the present invention has the following beneficial effects:

[0013] The present invention combines two PLC systems through the Weiluntong HMI and uses the data transmission function of the Weiluntong HMI to realize data interaction between the two PLC systems. There is no need to add a new communication module or write a PLC communication program. Only simple parameter configuration is required, which is suitable for various industrial control scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0015] Figure 1 It is a flow chart of a PLC data interaction method based on Weiluntong HMI of the present invention;

[0016] Figure 2 The present invention provides a flowchart of a Weiluntong HMI project processing of a PLC data interaction method based on Weiluntong HMI. DETAILED DESCRIPTION

[0017] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.

[0018] See also Figure 1-2 The present invention provides a technical solution: a PLC data interaction method based on Weiluntong HMI, comprising the following steps:

[0019] First, connect the PLC that needs to interact with the data to the Weiluntong HMI through a network cable; specifically, connect the Siemens1500PLC and OMRON CJ1 PLC to the Weiluntong HMI through a network cable.

[0020] Then, add PLC devices in the Weinun HMI project respectively; specifically, in the Weinun HMI project, open the "Add Device / Server" interface, add device type: Siemens S7-1200 / 1500 (Ethernet), interface type: Ethernet, set the IP address and port number, and similarly, add device type: OMRON CJ / CS / CP (Ethernet-FINS / TCP), interface type: Ethernet, set the IP address and port number to complete the addition of PLC devices.

[0021] Finally, call the data transmission control in the Weiluntong HMI project, set the corresponding data transmission parameters, and realize the data interaction of the corresponding data areas of the two PLCs. Specifically, open the "Data Transmission (Background)" interface, add "Data Transmission (Timed)", set the source data to the Siemens S7-1200 / 1500 (Ethernet) sending data area, set the target data to the OMRON CJ / CS / CP (Ethernet-FINS / TCP) receiving data area, set the interval time, and the data transmission from the Siemens1500PLC sending data area to the OMRON CJ1 PLC receiving data area can be completed; similarly, add "Data Transmission (Timed)", set the source data to the OMRON CJ / CS / CP (Ethernet-FINS / TCP) sending data area, set the target data to the Siemens S7-1200 / 1500 (Ethernet) receiving data area, set the interval time, and the data transmission from the OMRON CJ1 PLC sending data area to the Siemens 1500PLC receiving data area can be completed.

[0022] In summary, the present invention combines two PLC systems through the Weiluntong HMI and uses the data transmission function of the Weiluntong HMI to realize data interaction between the two PLC systems. There is no need to add a new communication module or write a PLC communication program. Only simple parameter configuration is required, which is suitable for various industrial control scenarios.

Claims

1. A PLC data interaction method based on Weiluntong HMI, characterized in that: The method comprises the following steps: Step 1: Connect the PLC that needs to interact with the data to the Weiluntong HMI via a network cable; Step 2: Add PLC devices to the Weiluntong HMI project respectively; Step 3: Call the data transmission control in the Weiluntong HMI project, set the corresponding data transmission parameters, and realize data interaction between the corresponding data areas of the two PLC systems.

2. A PLC data interaction method based on Weiluntong HMI according to claim 1, characterized in that: In the step 1, Siemens 1500PLC and OMRON CJ1 PLC are connected to the Weiluntong HMI via a network cable.

3. The PLC data interaction method based on Weiluntong HMI according to claim 1 is characterized in that: In step 2, in the Weiluntong HMI project, open the "Add Device / Server" interface, add the device type: Siemens S7-1200 / 1500, interface type: Ethernet, set the IP address and port number. Similarly, add the device type: OMRON CJ / CS / CP, interface type: Ethernet, set the IP address and port number to complete the addition of the PLC device.

4. The PLC data interaction method based on Weiluntong HMI according to claim 1 is characterized in that: In the step 3, open the "Data Transfer" interface, add "Data Transfer", set the source data to the Siemens S7-1200 / 1500 send data area, set the target data to the OMRON CJ / CS / CP receive data area, set the interval time, and complete the data transmission from the Siemens1500PLC send data area to the OMRON CJ1 PLC receive data area; similarly, add "Data Transfer", set the source data to the OMRON CJ / CS / CP send data area, set the target data to the Siemens S7-1200 / 1500 receive data area, set the interval time, and complete the data transmission from the OMRON CJ1 PLC send data area to the Siemens 1500PLC receive data area.