WO2023050219A1 - System, device, method and storage medium for plc connection - Google Patents

System, device, method and storage medium for plc connection Download PDF

Info

Publication number
WO2023050219A1
WO2023050219A1 PCT/CN2021/121931 CN2021121931W WO2023050219A1 WO 2023050219 A1 WO2023050219 A1 WO 2023050219A1 CN 2021121931 W CN2021121931 W CN 2021121931W WO 2023050219 A1 WO2023050219 A1 WO 2023050219A1
Authority
WO
WIPO (PCT)
Prior art keywords
plc
edge device
communication interface
adapter
intelligent communication
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.)
Ceased
Application number
PCT/CN2021/121931
Other languages
French (fr)
Inventor
Zhenhua Zhou
Wenchao ZOU
Haifeng Wang
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.)
Siemens Ltd China
Siemens AG
Siemens Corp
Original Assignee
Siemens Ltd China
Siemens AG
Siemens Corp
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 Siemens Ltd China, Siemens AG, Siemens Corp filed Critical Siemens Ltd China
Priority to EP21958807.6A priority Critical patent/EP4381699A4/en
Priority to CN202180101316.8A priority patent/CN117751558A/en
Priority to PCT/CN2021/121931 priority patent/WO2023050219A1/en
Priority to US18/695,160 priority patent/US12568143B2/en
Publication of WO2023050219A1 publication Critical patent/WO2023050219A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/04Program control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • 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]

Definitions

  • the present disclosure relates to industrial technologies, and more particularly, to a system, device, method and computer readable storage medium for programmable logic controller (PLC) connection.
  • PLC programmable logic controller
  • the PLC In order to realize the connection and control of a PLC, such as SIMATIC S7 Series PLC, the PLC is usually configured and deployed by a PLC developing system, such as TIA portal. Then, the PLC developing system connects and controls the PLC through an industrial network, or a third party connects and controls the PLC through the industrial network via open-sourced SNAP7 protocol.
  • a PLC developing system such as TIA portal.
  • PLC connection and control are based on local solutions, which can only be deployed to an edge device or a local industrial computer at most.
  • a system, device, method and computer readable storage medium for PLC connection is provided to improve the universality of PLC connection.
  • the system for PLC connection includes: an automatic converter set on a third-party platform, a local adapter set on a local computer, and at least one intelligent communication interface adapter set on at least one edge device; the local adapter is to access locally stored PLC information; the intelligent communication interface adapter is to access a PLC through a communication protocol connector which is compatible with multiple industrial networks; the automatic converter is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and to obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each edge devices and each PLC.
  • the automatic converter comprises: a registration module is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; a voting system is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and an automatic awareness system is to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
  • the local adapter, the intelligent communication interface adapter and the automatic converter are encapsulated into a micro service container respectively.
  • the third-party platform includes: a cloud based low code platform; the communication protocol is open source SNAP7 protocol; the locally stored PLC information is PLC information in a PLC developing system.
  • the device for PLC connection includes: a registration module is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; a voting system is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and an automatic awareness system is to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
  • the method for PLC connection includes: obtaining information of each edge device and each PLC connected to a network; triggering each edge device and each PLC for connectivity detection according to a set time interval, and obtaining voting performed by each edge device and each PLC on those connected with itself and a state fed back by each edge device and each PLC, so as to obtain the number of votes and states of every edge device and every PLC; determining a PLC to be connected and an edge device to connect to the PLC according to the number of votes and states of every edge device and every PLC, and connecting determined PLC through determined edge device.
  • obtaining information of each edge device and each PLC connected to a network comprises: obtaining information of each edge device through each intelligent communication interface adapter set on each edge device; obtaining locally stored information of PLC through a local adapter set on the local computer, and/or obtaining information of PLC deployed on each edge device through corresponding intelligent communication interface adapter set on each edge device.
  • the third-party platform includes: a cloud based low code platform.
  • Another system for PLC connection includes: at least one memory, to store a computer program; and at least one processor, to call the computer program stored in the at least one memory to perform a method for PLC connection mentioned above.
  • the non-transitory computer-readable storage medium on which a computer program is stored, the computer program is to be executed by a processor to implement a method for PLC connection mentioned above.
  • an automatic converter is set on the third-party platform, a local adapter for accessing PLC information is set on the local computer, and an intelligent communication interface adapter for accessing PLC through industrial network protocol is set on the edge device, so that the automatic converter can obtain the information of each edge device and each PLC through the intelligent communication interface adapter and the local adapter, then trigger each edge device and each PLC to conduct connectivity detection and to vote according to a detection result, and then determine the PLC to be connected and the edge device to connect to the PLC according to the number of votes, then through the determined edge equipment to connect the determined PLC, the universality and effectiveness of PLC connection are improved.
  • Fig. 1 is a schematic diagram illustrating a system for PLC connection according to embodiments of the present disclosure.
  • Fig. 2 is a flow diagram illustrating a PLC connection according to embodiments of the present invention.
  • Fig. 3 is a schematic diagram illustrating another system for PLC connection according to embodiments of the present disclosure.
  • PLC developing system 41 developing kit 50 PLC 60 industrial network 61 Ethernet/IP 62 ProfiNET 63 OPC UA 64 Modbus TCP 65 PowerLink 66 EtherCAT 70 SNAP7 protocol connector S21 ⁇ S23 processes 31 memory 32 processor 33 bus
  • the PLC in order to improve the universality of connecting and controlling the PLC, it is considered to package the connection to the PLC as a service and enable it to be deployed on any third-party platform, such as cloud based platform, such as low code platform, etc. Therefore, in embodiments of the present disclosure, it is considered to build a bridge between the third-party platform and the PLC, that is, an automatic converter is set on the third-party platform, the automatic converter may obtain information of each edge device and each PLC deployed to each edge device, and set a voting mechanism for each edge device and each PLC, select an edge device and a PLC to be connected based on the number of votes obtained through connection detections.
  • Fig. 1 is a schematic diagram illustrating a system for PLC connection according to embodiments of the present disclosure.
  • the system may include an automatic converter 10 set on the third-party platform 1, a local adapter 20 set on the local computer 2, and at least one intelligent communication interface adapter 30 set on at least one edge device 3.
  • the local adapter 20 may be encapsulated as a micro service container, such as a Docker container, to access locally stored PLC information, for example to access PLC information in a PLC developing system 40 through a developing kit 41 of the PLC developing system, such as the openness component of TIA portal.
  • a micro service container such as a Docker container
  • the PLC developing system 40 will initialize and configure a corresponding PLC 50 according to the PLC information to complete the deployment of the PLC 50, and release the PLC information after the deployment is completed. Therefore, the local adapter 20 may obtain the PLC information from the PLC developing system 40 before the PLC information is released by the PLC developing system 40.
  • the intelligent communication interface adapter 30 may be encapsulated as a micro service container, such as a Docker container, to access the corresponding PLC 50 through a communication protocol connector, such as an open source SNAP7 protocol connector 70, which is compatible with multiple industrial networks 60.
  • PLC 50 here may refer to the PLC initialized and configured by the PLC developing system 40.
  • the intelligent communication interface adapter 30 can analyze attribute code of a target protocol carried in a connection request to select the correct industrial protocol.
  • SNAP7 is an open source SIMATIC S7 PLC communication protocol, which can be applied to many different programming languages, such as C/C++, c#, Java, JavaScript, etc.
  • the SNAP7 protocol connector 70 can be fully or partially compatible with industrial networks such as Ethernet/IP 61, ProfiNET 62, OPC UA 63, Modbus TCP 64, PowerLink65, Ethernet for Control Automation Technology (EtherCAT) 66, etc.
  • the automatic converter 10 may be encapsulated as a micro service container, such as a Docker container, to obtain information of each edge device through the intelligent communication interface adapter 30 set on each edge device, and to obtain information of each PLC through the local adapter 20 and/or corresponding intelligent communication interface adapter 30; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each of edge devices and PLCs.
  • the third-party platform may be a cloud based low code platform, such as cloud PaaS (platform as a service) .
  • the automatic converter 10 may include a registration module 11, a voting system 12 and an automatic awareness system 13.
  • the registration module 11 is configured to obtain information of each edge device through the intelligent communication interface adapter 30 set on each edge device, and obtain information of each PLC through the local adapter 20 or corresponding intelligent communication interface adapter 30. Specifically, the information of some PLCs may be obtained locally through the local adapter set on the local computer, and the information of some other PLCs deployed to each edge device may be obtained through the intelligent communication interface adapter set on each edge device. For example, before the PLC developing system 40 deploys a PLC, the information of the PLC may be obtained from the PLC developing system 40 through the local adapter 20. After the PLC developing system 40 deploys the PLC, the information of the PLC deployed on an edge device 3 may be obtained through a corresponding intelligent communication interface adapter 30 set on the edge device 3.
  • information of edge devices and PLCs connected to an intranet may be automatically identified and registered based on the intranet discovery mechanism.
  • the registration mechanism such as setting some devices not to be registered, the device identification and registration may be carried out according to the user's settings.
  • the voting system 12 is configured to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on edge devices or PLCs connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC.
  • the automatic awareness system 13 is configured to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
  • the PLC in the state of ready and with the largest number of votes or the number of votes reaching a first set threshold may be regarded as the PLC to be connected
  • the edge device in the state of ready and with the largest number of votes or the number of votes reaching a second set threshold may be determined as the edge device to connect to the PLC.
  • Fig. 2 is a flow diagram illustrating a PLC connection according to embodiments of the present invention. As shown in Fig. 2, the method may include the following processes through an automatic converter deployed on a third-party platform.
  • the information of each edge device can be obtained through the intelligent communication interface adapter set on each edge device
  • the locally stored information of PLC may be obtained from the local such as the PLC developing system through the local adapter set on the local computer
  • the information of the PLC deployed on each edge device may be obtained through the intelligent communication interface adapter set on each edge device.
  • each edge device and each PLC are triggered for connectivity detection according to a set time interval, and voting performed by each edge device and each PLC on edge devices or PLCs connected with itself and a state fed back by each edge device and each PLC are obtained, so as to obtain the number of votes and states of every edge device and every PLC.
  • a PLC to be connected and an edge device to connect to the PLC are determined according to the number of votes and states of every edge device and every PLC, and determined PLC is connected through determined edge device.
  • the third-party platform may include a cloud based low code platform, etc.
  • a hardware module may include specially designed permanent circuits or logic devices (such as special-purpose processors, such as FPGA or ASIC) to complete specific operations.
  • the hardware module may also include a programmable logic device or circuit temporarily configured by software (such as including a general-purpose processor or other programmable processor) for performing specific operations.
  • a programmable logic device or circuit temporarily configured by software such as including a general-purpose processor or other programmable processor
  • system for PLC connection provided by this implementation manner of the present disclosure may be specifically implemented in various manners.
  • the system for PLC connection may be compiled, by using an application programming interface that complies with a certain regulation, as a plug-in that is installed in an intelligent terminal, or may be encapsulated into an application program for a user to download and use.
  • the system for PLC connection may be implemented in various plug-in forms.
  • the system for PLC connection provided by this implementation manner of the present disclosure may also be implemented by using a specific technology, such as a Flash plug-in technology, a RealPlayer plug-in technology, an MMS plug-in technology, a MIDI staff plug-in technology, or an ActiveX plug-in technology.
  • the method for PLC connection provided by this implementation manner of the present disclosure may be stored in various storage mediums in an instruction storage manner or an instruction set storage manner.
  • These storage mediums include, but are not limited to: a floppy disk, an optical disc, a DVD, a hard disk, a flash memory, a USB flash drive, a CF card, an SD card, an MMC card, an SM card, a memory stick, and an xD card.
  • an operating system operated in a computer can be made, not only by executing program code read by the computer from a storage medium, but also by using an instruction based on the program code, to implement some or all actual operations, so as to implement functions of any embodiment in the foregoing embodiments.
  • Fig. 3 is a schematic diagram illustrating another system for PLC connection according to embodiments of the present disclosure.
  • the system may be used to perform the method shown in figure 2, or to implement the system shown in figure 1.
  • the system may include at least one memory 31and at least one processor 32.
  • some other components may be included, such as communication port, input/output controller, network communication interface, etc. These components communicate through bus 33, etc.
  • At least one memory 31 is configured to store a computer program.
  • the computer program can be understood to include various modules of the system shown in Fig. 1.
  • at least one memory 31 may store an operating system or the like.
  • Operating systems include but are not limited to: Android operating system, Symbian operating system, windows operating system, Linux operating system, etc.
  • At least one processor 32 is configured to call the computer program stored in at least one memory 31 to perform a method for PLC connection described in examples of the present disclosure.
  • the processor 32 can be CPU, processing unit/module, ASIC, logic module or programmable gate array, etc. It can receive and send data through the communication port.
  • the I/O controller has an input device, which is used to input, output and display relevant data.
  • an automatic converter is set on the third-party platform, a local adapter for accessing PLC information is set on the local computer, and an intelligent communication interface adapter for accessing PLC through industrial network protocol is set on the edge device, so that the automatic converter can obtain the information of each edge device and each PLC through the intelligent communication interface adapter and the local adapter, then trigger each edge device and each PLC to conduct connectivity detection and to vote according to a detection result, and then determine the PLC to be connected and the edge device to connect to the PLC according to the number of votes, then through the determined edge equipment to connect the determined PLC, the universality and effectiveness of PLC connection are improved.

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)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

Examples of the present disclosure provide a system, device, method and computer readable storage medium for PLC connection. The system includes: an automatic converter set on a third-party platform, a local adapter set on a local computer, and at least one intelligent communication interface adapter set on at least one edge device; the local adapter is to access locally stored PLC information; the intelligent communication interface adapter is to access a PLC through a communication protocol connector which is compatible with multiple industrial networks; the automatic converter is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and to obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each edge devices and each PLC. The technical solutions of the present disclosure can improve the universality of PLC connection.

Description

[Title established by the ISA under Rule 37.2] SYSTEM, DEVICE, METHOD AND STORAGE MEDIUM FOR PLC CONNECTION FIELD
The present disclosure relates to industrial technologies, and more particularly, to a system, device, method and computer readable storage medium for programmable logic controller (PLC) connection.
BACKGROUND
In order to realize the connection and control of a PLC, such as SIMATIC S7 Series PLC, the PLC is usually configured and deployed by a PLC developing system, such as TIA portal. Then, the PLC developing system connects and controls the PLC through an industrial network, or a third party connects and controls the PLC through the industrial network via open-sourced SNAP7 protocol.
At present, PLC connection and control are based on local solutions, which can only be deployed to an edge device or a local industrial computer at most.
Therefore, those skilled in the art are also committed to finding other solutions for PLC connection and control.
SUMMARY
According to examples of the present disclosure, a system, device, method and computer readable storage medium for PLC connection is provided to improve the universality of PLC connection.
The system for PLC connection provided by examples of the present disclosure includes: an automatic converter set on a third-party platform, a local adapter set on a local computer, and at least one intelligent communication interface adapter set on at least one edge device; the local adapter is to access locally stored PLC information; the intelligent communication interface adapter is to access a PLC through a communication protocol connector which is compatible with multiple industrial networks; the automatic converter is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and to obtain information of each PLC through the local  adapter and/or corresponding intelligent communication interface adapter; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each edge devices and each PLC.
In an example, the automatic converter comprises: a registration module is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; a voting system is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and an automatic awareness system is to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
In an example, wherein the local adapter, the intelligent communication interface adapter and the automatic converter are encapsulated into a micro service container respectively.
In an example, wherein the third-party platform includes: a cloud based low code platform; the communication protocol is open source SNAP7 protocol; the locally stored PLC information is PLC information in a PLC developing system.
The device for PLC connection provided by examples of the present disclosure includes: a registration module is to obtain information of each edge device through the intelligent communication interface adapter set on each edge device, and obtain information of each PLC through the local adapter and/or corresponding intelligent communication interface adapter; a voting system is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and an automatic awareness system is to determine a PLC to be connected and an  edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
The method for PLC connection provided by examples of the present disclosure includes: obtaining information of each edge device and each PLC connected to a network; triggering each edge device and each PLC for connectivity detection according to a set time interval, and obtaining voting performed by each edge device and each PLC on those connected with itself and a state fed back by each edge device and each PLC, so as to obtain the number of votes and states of every edge device and every PLC; determining a PLC to be connected and an edge device to connect to the PLC according to the number of votes and states of every edge device and every PLC, and connecting determined PLC through determined edge device.
In an example, wherein obtaining information of each edge device and each PLC connected to a network comprises: obtaining information of each edge device through each intelligent communication interface adapter set on each edge device; obtaining locally stored information of PLC through a local adapter set on the local computer, and/or obtaining information of PLC deployed on each edge device through corresponding intelligent communication interface adapter set on each edge device.
In an example, wherein the third-party platform includes: a cloud based low code platform.
Another system for PLC connection provided by examples of the present disclosure includes: at least one memory, to store a computer program; and at least one processor, to call the computer program stored in the at least one memory to perform a method for PLC connection mentioned above.
The non-transitory computer-readable storage medium, on which a computer program is stored, the computer program is to be executed by a processor to implement a method for PLC connection mentioned above.
It can be seen from above mentioned technical solutions in embodiments of the present disclosure, an automatic converter is set on the third-party platform, a local adapter for accessing PLC information is set on the local computer, and an intelligent communication interface adapter for accessing PLC through industrial network protocol is set on the edge  device, so that the automatic converter can obtain the information of each edge device and each PLC through the intelligent communication interface adapter and the local adapter, then trigger each edge device and each PLC to conduct connectivity detection and to vote according to a detection result, and then determine the PLC to be connected and the edge device to connect to the PLC according to the number of votes, then through the determined edge equipment to connect the determined PLC, the universality and effectiveness of PLC connection are improved.
BRIEF DESCRIPTION OF THE DRAWINGS
For a better understanding of the present disclosure, reference should be made to the Detailed Description below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
Fig. 1 is a schematic diagram illustrating a system for PLC connection according to embodiments of the present disclosure.
Fig. 2 is a flow diagram illustrating a PLC connection according to embodiments of the present invention.
Fig. 3 is a schematic diagram illustrating another system for PLC connection according to embodiments of the present disclosure.
The reference numerals are as follows:
Reference numeral Object
1 third-party platform
10 automatic converter
11 registration module
12 voting system
13 automatic awareness system
2 local computer
20 local adapter
3 edge device
30 intelligent communication interface adapter
40 PLC developing system
41 developing kit
50 PLC
60 industrial network
61 Ethernet/IP
62 ProfiNET
63 OPC UA
64 Modbus TCP
65 PowerLink
66 EtherCAT
70 SNAP7 protocol connector
S21~S23 processes
31 memory
32 processor
33 bus
DETAILED DESCRIPTION
In embodiments of the present disclosure, in order to improve the universality of connecting and controlling the PLC, it is considered to package the connection to the PLC as a service and enable it to be deployed on any third-party platform, such as cloud based platform, such as low code platform, etc. Therefore, in embodiments of the present disclosure, it is considered to build a bridge between the third-party platform and the PLC, that is, an automatic converter is set on the third-party platform, the automatic converter may obtain information of each edge device and each PLC deployed to each edge device, and set a voting mechanism for each edge device and each PLC, select an edge device and a PLC to be connected based on the number of votes obtained through connection detections.
Reference will now be made in detail to examples, which are illustrated in the accompanying drawings. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. Also, the figures are illustrations of an example, in which modules or procedures shown in the figures  are not necessarily essential for implementing the present disclosure. In other instances, well-known methods, procedures, components, and circuits have not been described in detail so as not to unnecessarily obscure aspects of the examples.
Fig. 1 is a schematic diagram illustrating a system for PLC connection according to embodiments of the present disclosure. As shown in Fig. 1, the system may include an automatic converter 10 set on the third-party platform 1, a local adapter 20 set on the local computer 2, and at least one intelligent communication interface adapter 30 set on at least one edge device 3.
The local adapter 20 may be encapsulated as a micro service container, such as a Docker container, to access locally stored PLC information, for example to access PLC information in a PLC developing system 40 through a developing kit 41 of the PLC developing system, such as the openness component of TIA portal. Generally, the PLC developing system 40 will initialize and configure a corresponding PLC 50 according to the PLC information to complete the deployment of the PLC 50, and release the PLC information after the deployment is completed. Therefore, the local adapter 20 may obtain the PLC information from the PLC developing system 40 before the PLC information is released by the PLC developing system 40.
The intelligent communication interface adapter 30 may be encapsulated as a micro service container, such as a Docker container, to access the corresponding PLC 50 through a communication protocol connector, such as an open source SNAP7 protocol connector 70, which is compatible with multiple industrial networks 60. PLC 50 here may refer to the PLC initialized and configured by the PLC developing system 40. In an example, the intelligent communication interface adapter 30 can analyze attribute code of a target protocol carried in a connection request to select the correct industrial protocol.
SNAP7 is an open source SIMATIC S7 PLC communication protocol, which can be applied to many different programming languages, such as C/C++, c#, Java, JavaScript, etc. The SNAP7 protocol connector 70 can be fully or partially compatible with industrial networks such as Ethernet/IP 61, ProfiNET 62, OPC UA 63, Modbus TCP 64, PowerLink65, Ethernet for Control Automation Technology (EtherCAT) 66, etc.
The automatic converter 10 may be encapsulated as a micro service container, such as a Docker container, to obtain information of each edge device through the intelligent  communication interface adapter 30 set on each edge device, and to obtain information of each PLC through the local adapter 20 and/or corresponding intelligent communication interface adapter 30; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each of edge devices and PLCs. In an example, the third-party platform may be a cloud based low code platform, such as cloud PaaS (platform as a service) .
In an example, the automatic converter 10 may include a registration module 11, a voting system 12 and an automatic awareness system 13.
The registration module 11 is configured to obtain information of each edge device through the intelligent communication interface adapter 30 set on each edge device, and obtain information of each PLC through the local adapter 20 or corresponding intelligent communication interface adapter 30. Specifically, the information of some PLCs may be obtained locally through the local adapter set on the local computer, and the information of some other PLCs deployed to each edge device may be obtained through the intelligent communication interface adapter set on each edge device. For example, before the PLC developing system 40 deploys a PLC, the information of the PLC may be obtained from the PLC developing system 40 through the local adapter 20. After the PLC developing system 40 deploys the PLC, the information of the PLC deployed on an edge device 3 may be obtained through a corresponding intelligent communication interface adapter 30 set on the edge device 3.
In an example, information of edge devices and PLCs connected to an intranet may be automatically identified and registered based on the intranet discovery mechanism. In addition, if a user sets the registration mechanism, such as setting some devices not to be registered, the device identification and registration may be carried out according to the user's settings.
The voting system 12 is configured to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on edge devices or PLCs connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC.
The automatic awareness system 13 is configured to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device. For example, the PLC in the state of ready and with the largest number of votes or the number of votes reaching a first set threshold may be regarded as the PLC to be connected, and the edge device in the state of ready and with the largest number of votes or the number of votes reaching a second set threshold may be determined as the edge device to connect to the PLC.
The system for PLC connection according to embodiments of the present disclosure is described in detail above, and the method for PLC connection according to embodiments of the present disclosure will be described in detail hereinafter. The method for PLC connection according to embodiments of the present disclosure can be implemented on the system for PLC connection according to embodiments of the present disclosure. For details not disclosed in the embodiments of the method of the present disclosure, please refer to the corresponding description in the embodiments of the system of the present disclosure, which will not be repeated here.
Fig. 2 is a flow diagram illustrating a PLC connection according to embodiments of the present invention. As shown in Fig. 2, the method may include the following processes through an automatic converter deployed on a third-party platform.
At block S21, information of each edge device and each PLC connected to a network is obtained.
At this block, the information of each edge device can be obtained through the intelligent communication interface adapter set on each edge device, the locally stored information of PLC may be obtained from the local such as the PLC developing system through the local adapter set on the local computer, and the information of the PLC deployed on each edge device may be obtained through the intelligent communication interface adapter set on each edge device.
At block S22, each edge device and each PLC are triggered for connectivity detection according to a set time interval, and voting performed by each edge device and each PLC on edge devices or PLCs connected with itself and a state fed back by each edge device  and each PLC are obtained, so as to obtain the number of votes and states of every edge device and every PLC.
At block S23, a PLC to be connected and an edge device to connect to the PLC are determined according to the number of votes and states of every edge device and every PLC, and determined PLC is connected through determined edge device.
In the embodiments, the third-party platform may include a cloud based low code platform, etc.
It should be noted that not all blocks and modules in the above flow and schematic diagrams are necessary, and some blocks or modules can be ignored according to actual needs. The execution sequence of blocks is not fixed and can be adjusted as needed. The division of modules is only functional division for the convenience of describing. In actual implementation, a module can be realized by multiple modules, and the functions of multiple modules can also be realized by one module. These modules can be located in the same device or in different devices.
It can be understood that the hardware modules in above embodiments can be implemented mechanically or electronically. For example, a hardware module may include specially designed permanent circuits or logic devices (such as special-purpose processors, such as FPGA or ASIC) to complete specific operations. The hardware module may also include a programmable logic device or circuit temporarily configured by software (such as including a general-purpose processor or other programmable processor) for performing specific operations. As for the specific use of mechanical mode, or special permanent circuit, or temporarily configured circuit (such as configured by software) to realize the hardware module, it can be determined according to the consideration of cost and time.
In fact, the system for PLC connection provided by this implementation manner of the present disclosure may be specifically implemented in various manners. For example, the system for PLC connection may be compiled, by using an application programming interface that complies with a certain regulation, as a plug-in that is installed in an intelligent terminal, or may be encapsulated into an application program for a user to download and use.
When compiled as a plug-in, the system for PLC connection may be implemented in various plug-in forms. The system for PLC connection provided by this implementation  manner of the present disclosure may also be implemented by using a specific technology, such as a Flash plug-in technology, a RealPlayer plug-in technology, an MMS plug-in technology, a MIDI staff plug-in technology, or an ActiveX plug-in technology.
The method for PLC connection provided by this implementation manner of the present disclosure may be stored in various storage mediums in an instruction storage manner or an instruction set storage manner. These storage mediums include, but are not limited to: a floppy disk, an optical disc, a DVD, a hard disk, a flash memory, a USB flash drive, a CF card, an SD card, an MMC card, an SM card, a memory stick, and an xD card.
Moreover, it should be clear that an operating system operated in a computer can be made, not only by executing program code read by the computer from a storage medium, but also by using an instruction based on the program code, to implement some or all actual operations, so as to implement functions of any embodiment in the foregoing embodiments.
For example, Fig. 3 is a schematic diagram illustrating another system for PLC connection according to embodiments of the present disclosure. The system may be used to perform the method shown in figure 2, or to implement the system shown in figure 1. As shown in figure 3, the system may include at least one memory 31and at least one processor 32. In addition, some other components may be included, such as communication port, input/output controller, network communication interface, etc. These components communicate through bus 33, etc.
At least one memory 31 is configured to store a computer program. In one example, the computer program can be understood to include various modules of the system shown in Fig. 1. In addition, at least one memory 31 may store an operating system or the like. Operating systems include but are not limited to: Android operating system, Symbian operating system, windows operating system, Linux operating system, etc.
At least one processor 32 is configured to call the computer program stored in at least one memory 31 to perform a method for PLC connection described in examples of the present disclosure. The processor 32 can be CPU, processing unit/module, ASIC, logic module or programmable gate array, etc. It can receive and send data through the communication port.
The I/O controller has an input device, which is used to input, output and display relevant data.
It can be seen from above mentioned technical solutions in embodiments of the present disclosure, an automatic converter is set on the third-party platform, a local adapter for accessing PLC information is set on the local computer, and an intelligent communication interface adapter for accessing PLC through industrial network protocol is set on the edge device, so that the automatic converter can obtain the information of each edge device and each PLC through the intelligent communication interface adapter and the local adapter, then trigger each edge device and each PLC to conduct connectivity detection and to vote according to a detection result, and then determine the PLC to be connected and the edge device to connect to the PLC according to the number of votes, then through the determined edge equipment to connect the determined PLC, the universality and effectiveness of PLC connection are improved.
It should be understood that, as used herein, unless the context clearly supports exceptions, the singular forms "a" ( "a" , "an" , "the" ) are intended to include the plural forms. It should also be understood that, "and /or" used herein is intended to include any and all possible combinations of one or more of the associated listed items.
The number of the embodiments of the present disclosure are only used for description, and do not represent the merits of the implementations.
The foregoing description, for purpose of explanation, has been described with reference to specific examples. However, the illustrative discussions above are not intended to be exhaustive or to limit the present disclosure to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings. The examples were chosen and described in order to best explain the principles of the present disclosure and its practical applications, to thereby enable others skilled in the art to best utilize the present disclosure and various examples with various modifications as are suited to the particular use contemplated.

Claims (10)

  1. A system for PLC connection, comprises: an automatic converter (10) set on a third-party platform (1) , a local adapter (20) set on a local computer (2) , and at least one intelligent communication interface adapter (30) set on at least one edge device (3) ;
    the local adapter (20) is to access locally stored PLC information;
    the intelligent communication interface adapter (30) is to access a PLC through a communication protocol connector which is compatible with multiple industrial networks;
    the automatic converter (10) is to obtain information of each edge device through the intelligent communication interface adapter (30) set on each edge device, and to obtain information of each PLC through the local adapter (20) and/or corresponding intelligent communication interface adapter (30) ; based on a preset voting mechanism, to trigger each edge device and each PLC for connectivity detection and voting, and select an edge device and a PLC to be connected according to the number of votes of each edge devices and each PLC.
  2. The system according to claim 1, wherein the automatic converter (10) comprises:
    a registration module (11) is to obtain information of each edge device through the intelligent communication interface adapter (30) set on each edge device, and obtain information of each PLC through the local adapter (20) and/or corresponding intelligent communication interface adapter (30) ;
    a voting system (12) is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and
    an automatic awareness system (13) is to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
  3. The system according to claim 2, wherein the local adapter (20) , the intelligent communication interface adapter (30) and the automatic converter (10) are encapsulated into a micro service container respectively.
  4. The system according to claim 2, wherein the third-party platform includes: a cloud based low code platform; the communication protocol is open source SNAP7 protocol; the locally stored PLC information is PLC information in TIA portal.
  5. A device for PLC connection, comprises:
    a registration module (11) is to obtain information of each edge device through the intelligent communication interface adapter (30) set on each edge device, and obtain information of each PLC through the local adapter (20) and/or corresponding intelligent communication interface adapter (30) ;
    a voting system (12) is to trigger each edge device and each PLC for connectivity detection according to a set time interval, obtain voting performed by each edge device and each PLC on those connected with itself, as well as a state fed back by each edge device and each PLC, and obtain the number of votes and states of every edge device and every PLC; and
    an automatic awareness system (13) is to determine a PLC to be connected and an edge device to connect to the PLC according to the number of votes and the state of each edge device and each PLC, and to connect determined PLC through determined edge device.
  6. A method for PLC connection, comprises:
    obtaining information of each edge device and each PLC connected to a network;
    triggering each edge device and each PLC for connectivity detection according to a set time interval, and obtaining voting performed by each edge device and each PLC on those connected with itself and a state fed back by each edge device and each PLC, so as to obtain the number of votes and states of every edge device and every PLC;
    determining a PLC to be connected and an edge device to connect to the PLC according to the number of votes and states of every edge device and every PLC, and connecting determined PLC through determined edge device.
  7. A method for PLC connection, wherein obtaining information of each edge device and each PLC connected to a network comprises:
    obtaining information of each edge device through each intelligent communication interface adapter set on each edge device;
    obtaining locally stored information of PLC through a local adapter set on the local computer, and/or obtaining information of PLC deployed on each edge device through corresponding intelligent communication interface adapter set on each edge device.
  8. The method according to claim 6 or 7, wherein the third-party platform includes: a cloud based low code platform.
  9. A system for PLC connection, comprises:
    at least one memory (31) , to store a computer program; and
    at least one processor (32) , to call the computer program stored in the at least one memory (31) to perform a method for PLC connection according to any one of claims 6 to 8.
  10. A non-transitory computer-readable storage medium, on which a computer program is stored, the computer program is to be executed by a processor to implement a method for PLC connection according to any one of claims 6 to 8.
PCT/CN2021/121931 2021-09-29 2021-09-29 System, device, method and storage medium for plc connection Ceased WO2023050219A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP21958807.6A EP4381699A4 (en) 2021-09-29 2021-09-29 System, device, method and storage medium for plc connection
CN202180101316.8A CN117751558A (en) 2021-09-29 2021-09-29 PLC connection system, device, method and storage medium
PCT/CN2021/121931 WO2023050219A1 (en) 2021-09-29 2021-09-29 System, device, method and storage medium for plc connection
US18/695,160 US12568143B2 (en) 2021-09-29 2021-09-29 System, device, method and storage medium for PLC connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/121931 WO2023050219A1 (en) 2021-09-29 2021-09-29 System, device, method and storage medium for plc connection

Publications (1)

Publication Number Publication Date
WO2023050219A1 true WO2023050219A1 (en) 2023-04-06

Family

ID=85781086

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/121931 Ceased WO2023050219A1 (en) 2021-09-29 2021-09-29 System, device, method and storage medium for plc connection

Country Status (4)

Country Link
US (1) US12568143B2 (en)
EP (1) EP4381699A4 (en)
CN (1) CN117751558A (en)
WO (1) WO2023050219A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116382189A (en) * 2023-04-25 2023-07-04 河钢数字技术股份有限公司 PLC control system, method and IO diversity combining device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4125257A1 (en) * 2021-07-30 2023-02-01 Siemens Aktiengesellschaft A method of communicating with a microservice in an industrial facility

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462571A (en) * 2017-09-06 2019-03-12 发那科株式会社 Edge Server and management server
CN110650084A (en) * 2019-08-26 2020-01-03 山东省科学院自动化研究所 A kind of industrial Internet of things intelligent gateway, networking system and data processing method
US20210168662A1 (en) * 2019-12-02 2021-06-03 At&T Intellectual Property I, L.P. Hierarchical and intelligent distributed controllers for an access network
CN113176730A (en) * 2020-01-27 2021-07-27 Abb瑞士股份有限公司 Determining control parameters for an industrial automation device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3249481B1 (en) * 2016-05-25 2019-10-02 Siemens Aktiengesellschaft System, industrial controller and method configured to execute a closed loop control on data for cloud based applications
US10573147B1 (en) * 2018-09-04 2020-02-25 Abb Schweiz Ag Technologies for managing safety at industrial sites
EP3696629B1 (en) * 2019-02-12 2025-07-23 Siemens Aktiengesellschaft Method for monitoring an industrial installation, computer program, computer-readable medium and system
US12464041B2 (en) * 2019-02-13 2025-11-04 Telefonaktiebolaget Lm Ericsson (Publ) Industrial automation with 5G and beyond
EP3798878B1 (en) * 2019-09-24 2022-11-09 Siemens Aktiengesellschaft System and method for secure execution of an automation program in a cloud computation environment
EP3917114A1 (en) * 2020-05-27 2021-12-01 Siemens Aktiengesellschaft Method, device and system for establishing connectivity between industrial environment and computing platform

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462571A (en) * 2017-09-06 2019-03-12 发那科株式会社 Edge Server and management server
CN110650084A (en) * 2019-08-26 2020-01-03 山东省科学院自动化研究所 A kind of industrial Internet of things intelligent gateway, networking system and data processing method
US20210168662A1 (en) * 2019-12-02 2021-06-03 At&T Intellectual Property I, L.P. Hierarchical and intelligent distributed controllers for an access network
CN113176730A (en) * 2020-01-27 2021-07-27 Abb瑞士股份有限公司 Determining control parameters for an industrial automation device
US20210232123A1 (en) * 2020-01-27 2021-07-29 Abb Schweiz Ag Determining control parameters for an industrial auatomation device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4381699A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116382189A (en) * 2023-04-25 2023-07-04 河钢数字技术股份有限公司 PLC control system, method and IO diversity combining device

Also Published As

Publication number Publication date
US20240396970A1 (en) 2024-11-28
EP4381699A4 (en) 2025-04-30
CN117751558A (en) 2024-03-22
US12568143B2 (en) 2026-03-03
EP4381699A1 (en) 2024-06-12

Similar Documents

Publication Publication Date Title
CN112104654B (en) Multi-protocol automatic identification and conversion method, storage medium and intelligent gateway
WO2023050219A1 (en) System, device, method and storage medium for plc connection
CN107995068A (en) Network port testing method and equipment
WO2023044631A1 (en) A device, system, method and storage medium for ai application deployment
CN112492052A (en) Remote debugging method and device for intelligent networked vehicle data
CN107924171A (en) From device, the control method from device, message handling program and recording medium
US20190166202A1 (en) Control device, control method, and non-transitory computer-readable recording medium
US20190384771A1 (en) Extracting device, extracting method and storage medium, and abnormality detecting device and abnormality detecting method
EP3561741A1 (en) Method and apparatus for optimised remote management of programmable logic controllers
CN113037880B (en) Gateway IP address configuration method and device, gateway and readable storage medium
CN113220229B (en) Online I/O undisturbed configuration method for distributed control system
CN114338457B (en) Test system, method, device, equipment and medium for network card switching effectiveness
US20170244791A1 (en) Network system and method for transmitting data in a network system
EP3822799B1 (en) Address identification method, apparatus and system, and storage medium, processor and terminal
CN112992142B (en) Voice message reply method, device, equipment and medium
CN118041892B (en) Address allocation method for energy storage system, energy storage system and readable storage medium
CN116126608B (en) Test fixture system and method for multi-serial port monitoring host
EP3416005A1 (en) Safety controller with cyber-secure maintenance override
CN112929212B (en) Configuration method and device of directional board card and processing equipment
CN107577546B (en) Information processing method and device and electronic equipment
US20180052805A1 (en) Microcontroller with a diagnosis module and method for accessing said module of said microcontroller
CN111694300A (en) Automatic configuration method and device for control panel input and output ports
CN110727216B (en) Data reading method and device of encoder and data reading device
CN113014527A (en) Protocol conversion device on communication manager and protocol conversion method thereof
EP2922001A1 (en) Verification and certification of an electronic component

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21958807

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180101316.8

Country of ref document: CN

ENP Entry into the national phase

Ref document number: 2021958807

Country of ref document: EP

Effective date: 20240305

WWE Wipo information: entry into national phase

Ref document number: 18695160

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWG Wipo information: grant in national office

Ref document number: 18695160

Country of ref document: US