A configuration method and device for field equipment, a networking method and a PLC controller

By using the description templates of the equipment type in the industrial automation system to configuration, the problem of large workloads and errors in the traditional method is solved, and the simplification of the configuration and the support of flexible production are realized.

CN117806256BActive Publication Date: 2025-01-28KYLAND TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202311863280.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2025-01-28
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

Traditional industrial automation configuration methods require the introduction of description information files of all equipment in advance, resulting in cumbersome workload, easy to cause configuration errors, and cannot achieve flexible and flexible production process deployment.

Method used

By using the device -based device description template for configuration, only the template required for the equipment required for the engineering is introduced without the need to import the description information file of all devices. After the configuration, the PLC controller is instantiated and initialized by the equipment information based on the device description information to complete the networking.

Benefits of technology

It reduces the difficulty of configuration operation and maintenance, supports flexible production, improves work efficiency, and reduces the occurrence of configuration errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117806256B_ABST
    Figure CN117806256B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a configuration method and device for field equipment, a networking method and a PLC controller, which configure the field equipment according to the device description template of the field equipment type to be configured to obtain the configuration project file; download the project file to the PLC controller; the PLC controller runs the project file and waits for the field equipment to go online; after each field equipment goes online, the device information of the device is instantiated according to the device description information of the device, and each initialized field equipment is started to complete the networking. The technical solution of the embodiment of the present invention completes the field equipment configuration based on the device description template of the field equipment type, and completes the initialization according to the device description information after the equipment goes online, which not only greatly reduces the difficulty of configuration operation and maintenance work, but also facilitates the dynamic expansion of field equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial automation, and in particular to a configuration method and device for field equipment, a networking method and a PLC controller. Background Art

[0002] Figure 1A The traditional industrial automation project deployment process is shown. To complete the configuration in advance using configuration software, it is necessary to clarify the type, role and device capabilities of each device in the industrial automation network. When configuring based on configuration software, it is necessary to import the device description information files of all devices supported by the project in advance so that the configuration software can obtain the device list in advance and have clear definitions and presets for the basic parameters and data range of each device. When performing configuration operations, it is necessary to select and confirm in advance according to the imported device list. During the configuration operation, all devices required for importing the configuration will be selected one by one or in batches, and the relevant settings will be made before compiling and downloading to the controller. After the controller is connected to the field equipment and a communication connection is established, the configured terminal equipment completes industrial production and business processing according to the predetermined logic program.

[0003] This traditional configuration process requires the import of description files of all devices required for project deployment in advance. When the project is complex and has a large number of devices, not only is the workload cumbersome, but the operation of each device is also prone to configuration errors, resulting in recompilation and implementation. For system integrators or engineering design deployers, not only is work efficiency not improved, but errors are also easily introduced. In addition, for industrial automation production lines with intelligent upgrades, when the engineering configuration needs to be adjusted to switch production lines or process flows, traditional configuration methods usually require cold start and reconfiguration compilation and downloading to complete the new process flow configuration, which cannot achieve flexible production process deployment.

[0004] When performing configuration or engineering deployment based on traditional fieldbus, due to low bandwidth and poor real-time performance, it is impossible to obtain a large amount of device description information during device operation, which may affect the normal operation of the production line. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a configuration method and device for field equipment, a networking method and a PLC controller. The technical solution of the embodiment of the present invention completes the field equipment configuration based on the device description template of the field equipment type, and downloads the configured project file to the PLC controller; after the configured field equipment is online, the device description information is obtained, the device is initialized, and then the device is started according to the startup instruction issued by the PLC controller. When the project is configured for the first time, it is only necessary to import the device description template of the device type required by the project, instead of importing the description information files of all devices. This not only greatly reduces the difficulty of configuration operation and maintenance work, but also provides the necessary conditions for flexible production of the project.

[0006] In a first aspect, an embodiment of the present invention provides a method for configuring a field device, comprising: configuring the field device according to a device description template corresponding to the type of field device to be configured; compiling the configuration result, and instantiating the used device description template to obtain a project file of the configuration; and downloading the project file to a PLC controller.

[0007] From the above, by importing only the device description template of the device type required by the project when configuring the project for the first time, instead of importing the description information files of all devices of the required device type, not only the difficulty of configuration operation and maintenance work is greatly reduced, but also the necessary conditions for flexible production of the project are provided.

[0008] In a possible implementation manner of the first aspect, the device description template of each type of field device includes the following information set of the field device of this type: device class information, parameter class information, real-time data class information, and alarm data class information.

[0009] As described above, the device description template includes the device class information, parameter class information, real-time data class information and alarm data class information of the field device of this type, so as to achieve full coverage of the device information data of this type to support any device of this type.

[0010] In a second aspect, an embodiment of the present invention provides a method for networking field equipment, comprising: running an engineering file obtained according to any implementation method of the first aspect; after each field device is online, a PLC controller receives device description information reported by each field device respectively; the PLC controller instantiates the device information of the field device according to the device description information of the field device to complete the initialization of the device; the PLC controller starts running each initialized field device to complete the networking.

[0011] From the above, the project file of the configuration completed by the device description template based on the field device type is obtained. After the configured field device is online, the device description information is obtained to complete the device initialization and realize the field device networking. By using the project file of the configuration completed by the device description template based on the field device type for networking, the dynamic change of the field device is facilitated, providing the necessary conditions for the flexible production of the project.

[0012] In a possible implementation of the second aspect, the method further includes: after each field device is online, obtaining device description information of the device from the device via the broadband industrial bus. In some embodiments, the PLC controller configures a master station of the broadband industrial bus, and each field device is connected to a slave station module of the broadband industrial bus.

[0013] From the above, by utilizing the high bandwidth, high real-time and multi-node characteristics of the broadband industrial bus, detailed device description information of each field device can be obtained from multiple field devices to realize the initialization of the field devices in real time, so as to quickly start the network.

[0014] In a possible implementation manner of the second aspect, the device description information of each field device is generated according to a device description template of the device type and is written into the device in the form of firmware.

[0015] As described above, the device description information generated based on the device description template can be used to instantiate the device information. By writing the device description information into the device in a firmware manner, there is no need to provide a separate device description information file.

[0016] In a possible implementation of the second aspect, it also includes: when running the project file, performing redundant checking and redundant backup on the instantiation template of each field device in the project file; and / or when each field device is initialized, performing redundant checking and redundant backup on the instantiation template of the device based on the device description information reported by the device; and / or when each field device is running, checking the integrity and correctness of the instantiation template of the device based on the operating data of each running field device.

[0017] From the above, by checking and backing up the instantiated template, redundant management of the instantiated template is achieved, so as to synchronize when the dynamic device enters the network.

[0018] In a possible implementation of the second aspect, it also includes: when a new field device is added after the networking is completed, when there is no instantiation template of the device in the running configuration, the instantiation template of the device is obtained from the backup instantiation template library; when there is an instantiation template of the device in the running configuration, the device starts running directly.

[0019] From the above, the dynamic devices can be synchronized to the network without configuration through the backup instantiation template.

[0020] In a third aspect, an embodiment of the present invention provides a configuration device for field equipment, comprising: a device configuration module, used to configure the field equipment according to a device description template corresponding to the type of field equipment to be configured; a configuration compilation module, used to compile the configuration result and instantiate the used device description template to obtain a configured project file; and a configuration download module, used to download the project file to a PLC controller.

[0021] From the above, by importing only the device description template of the device type required by the project when configuring the project for the first time, instead of importing the description information files of all devices of the required device type, not only the difficulty of configuration operation and maintenance work is greatly reduced, but also the necessary conditions for flexible production of the project are provided.

[0022] In a possible implementation manner of the third aspect, the device description template of each type of field device includes the following information set of the field device of this type: device class information, parameter class information, real-time data class information, and alarm data class information.

[0023] As described above, the device description template includes the device class information, parameter class information, real-time data class information and alarm data class information of the field device of this type, so as to achieve full coverage of the device information data of this type to support any device of this type.

[0024] In a fourth aspect, an embodiment of the present invention provides a PLC controller, comprising: a configuration and operation module, used to run the engineering file obtained according to any implementation method of the first aspect; an information acquisition module, used to receive the device description information reported by each field device after each field device is online; a device initialization module, used by the PLC controller to instantiate the device description information of the field device according to the device description information of the field device to complete the initialization of the device; and a device operation module, used by the PLC controller to start and run each initialized field device to complete networking.

[0025] From the above, by importing only the device description template of the device type required by the project when configuring the project for the first time, instead of importing the description information files of all devices, it not only greatly reduces the difficulty of configuration operation and maintenance work, but also provides the necessary conditions for flexible production of the project.

[0026] In a possible implementation of the fourth aspect, the PLC controller is connected to the field equipment via a broadband industrial bus (AUTBUS bus), the PLC controller is configured with a master module of the broadband industrial bus, and the field equipment is connected to a slave module of the broadband industrial bus.

[0027] In a possible implementation manner of the fourth aspect, the device initialization module is further configured to obtain device description information of each field device from the device through a broadband industrial bus after the device is online.

[0028] From the above, by utilizing the high bandwidth, high real-time and multi-node characteristics of the broadband industrial bus, detailed device description information of each field device can be obtained from multiple field devices to realize the initialization of the field devices in real time, so as to quickly start the network.

[0029] In a possible implementation manner of the fourth aspect, the device description information of each field device is generated according to a device description template of the device type and is written into the device in the form of firmware.

[0030] As described above, the device description information generated based on the device description template can be used to instantiate the device information. By writing the device description information into the device in a firmware manner, there is no need to provide a separate device description information file.

[0031] In a possible implementation of the fourth aspect, it also includes: a redundant synchronization module; the redundant synchronization module is used to perform redundant checks and redundant backups on the instantiation templates of each field device in the configured engineering file when running the configured engineering file; and / or the redundant synchronization module is used to perform redundant checks and redundant backups on the instantiation templates of the device when each field device is initialized according to the device description information reported by the device; and / or the redundant synchronization module is used to check the integrity and correctness of the instantiation templates of the device based on its operating data when each field device is running.

[0032] From the above, by checking and backing up the instantiated template, redundant management of the instantiated template is achieved, so as to synchronize when the dynamic device enters the network.

[0033] In a possible implementation of the fourth aspect, the redundant synchronization module is also used to obtain the instantiation template of the device from the backup instantiation template library when there is no instantiation template of the device in the running configuration when a new field device is added after the networking is completed; when there is an instantiation template of the device in the running configuration, the device starts running directly.

[0034] From the above, the dynamic devices can be synchronized to the network without configuration through the backup instantiation template.

[0035] In a fifth aspect, an embodiment of the present invention provides a computing device, including:

[0036] bus;

[0037] A communication interface connected to the bus;

[0038] at least one processor connected to the bus; and

[0039] At least one memory is connected to the bus and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes any implementation of the first aspect or the second aspect of the present invention.

[0040] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having program instructions stored thereon, wherein the program instructions, when executed by a computer, cause the computer to execute any implementation of the first aspect or the second aspect of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1A Schematic diagram of the process deployed for traditional industrial automation projects;

[0042] Figure 1B A schematic diagram of the structure of a control system applied in various embodiments of the present invention;

[0043] Figure 2A A schematic diagram of a flow chart of a configuration method for a field device according to an embodiment of the present invention;

[0044] Figure 2B A schematic diagram of a flow chart of an embodiment of a method for networking field devices of the present invention;

[0045] Figure 3A A schematic diagram of the structure of a control system running in an embodiment of a dynamic networking method for field devices of the present invention;

[0046] Figure 3B A schematic diagram of the flow structure of an embodiment of a method for dynamic networking of field devices of the present invention;

[0047] Figure 4A An example diagram of a device description template of a field device type in an embodiment of a dynamic networking method for field devices of the present invention;

[0048] Figure 4B It is a related working example diagram of a dynamic networking method embodiment of a field device of the present invention based on a device description template of a field device type before engineering configuration;

[0049] Figure 4C This is an example diagram of the use of a device description template in an embodiment of a dynamic networking method for field devices of the present invention;

[0050] Figure 5A A schematic diagram of the structure of a broadband industrial bus network of an embodiment of a method for dynamic networking of field devices of the present invention;

[0051] Figure 5BA schematic diagram of an automated production operation process based on a broadband industrial bus according to an embodiment of a dynamic networking method for field devices of the present invention;

[0052] Figure 5C A schematic flow chart of a redundant synchronization method of an embodiment of a dynamic networking method for field devices of the present invention;

[0053] Fig. 6A A schematic structural diagram of an embodiment of a configuration device for a field device of the present invention;

[0054] Figure 6B It is a structural schematic diagram of a PLC controller embodiment of the present invention;

[0055] Figure 7 A schematic diagram of the structure of an embodiment of a dynamic networking device for field equipment of the present invention;

[0056] Figure 8 1 is a structural diagram of a computing device according to various embodiments of the present invention. DETAILED DESCRIPTION

[0057] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0058] In the following description, the terms "first\second\third, etc." or module A, module B, module C, etc. are only used to distinguish similar objects, or to distinguish different embodiments, and do not represent a specific ordering of the objects. It can be understood that the specific order or sequence can be interchanged where permitted, so that the embodiments of the present invention described here can be implemented in an order other than that illustrated or described here.

[0059] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.

[0060] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein are only for the purpose of describing the embodiments of the present invention and are not intended to limit the present invention.

[0061] The embodiment of the present invention provides a configuration method and device for field equipment, a networking method and a PLC controller. During configuration, the field equipment is configured according to the device description template corresponding to the field equipment type to be configured; the configuration result is compiled, and the used device description template is instantiated to obtain the project file of the configuration; the project file is downloaded to the PLC controller. During networking, the PLC controller runs the project file; after each field equipment is online, the PLC controller receives the device description information reported by each field equipment; the PLC controller instantiates the device information of the field equipment according to the device description information of the field equipment to complete the initialization of the equipment; the PLC controller starts running each initialized field equipment to complete the networking.

[0062] The technical solution of the embodiment of the present invention is used for the networking of field equipment of industrial automation production lines. When configuring the field equipment project, it is not necessary to import the device description information files of all field equipment. It is only necessary to import the device description template files of the corresponding device types according to the equipment types required by the project, thereby reducing the difficulty of configuration operations and maintenance work. When the field equipment is powered on, the device information is instantiated according to the obtained device description information of the field equipment, so that the field equipment can solidify its device properties without relying on the production line, and can dynamically adjust the device properties and capabilities according to the actual production needs, which also provides the necessary conditions for the flexible production of the project.

[0063] The following describes various embodiments of the present invention in conjunction with the accompanying drawings. Figure 1B The application scenarios of the embodiments of the present invention are introduced.

[0064] The embodiments of the present invention are applied to Figure 1B The control system shown includes: a host computer, a PLC controller, a step redundancy device and a broadband industrial bus.

[0065] Among them, there is configuration software on the host computer, which is used to configure the field equipment to be configured. The host computer and PLC controller are independent computer devices; the PLC controller is used for application-level networking of field equipment and logical control of field equipment. The industrial bus is used to realize the physical connection between field equipment and PLC controller. The PLC controller sets the master station module of the industrial bus, and the field equipment is connected to the industrial bus through the slave station of the industrial bus.

[0066] In some embodiments, the industrial bus is a broadband industrial bus (AUTBUS).

[0067] Combine the following Figure 2A An embodiment of a configuration method for a field device according to the present invention is introduced. Figure 2AThe flow of an embodiment of a configuration method for field equipment is shown, including steps S1110 to S1130. This embodiment is run on the configuration software of the host computer.

[0068] S1110: Configure the field device according to the device description template of the field device type to be configured.

[0069] The configuration result is used to configure the field devices therein in an industrial automation process.

[0070] Among them, there are many types of field devices on the industrial automation production line, each type includes multiple devices from different manufacturers and different versions of the same manufacturer. The device description information files describing their specific attributes (such as roles and capabilities) may have differences in names, data types, etc. Configuration based on device description information not only requires a large amount of data to be imported, but is also difficult to maintain.

[0071] In some embodiments, the device description template of each field device type includes the following information sets of the field device of this type: device class information, parameter class information, real-time data class information, and alarm data class information, wherein each data item in each type of information is configured with the standard name and data type of the data item. In order to facilitate all types of device description templates to accurately and uniformly describe information, a basic information template is first defined, which defines basic information such as data types of various basic data items, and the device description template uses these basic data items to define its own data items.

[0072] From the above, configuration is performed based on the device description template defined based on the device type. There is no need to enter the device description information of each field device, which makes configuration convenient. At the same time, the device description template is used to standardize the same type of equipment, avoiding duplication of labor and R&D investment in adapting the same type of equipment from different equipment manufacturers to different industrial automation production processes.

[0073] S1120: Compile the configuration result, and instantiate the used device description template to obtain a configured engineering file.

[0074] The device description template used for configuration is instantiated, and the obtained instantiation module reserves a position for the data item of each specific device of the corresponding type. The reserved position can be realized by a structure, a pointer or a table, and the table can be a two-dimensional table, a linked list, etc. The device description template includes a complete set of information items of each specific device of the corresponding type, and the instantiation module reserves a position for each specific device of the corresponding type, so that the PLC controller can run the project file and support various field devices of each type to access the network.

[0075] Table 1 shows the device description template instantiation of a pressure transmitter using a two-dimensional table as an example. In the instantiation template, the data items reserved for both the device of manufacturer A and the device of manufacturer B are reserved. The device description template of the pressure transmitter has 13 items. Because the description information of the device of manufacturer A and the device of manufacturer B is not imported at this time, the actual number of data items of the device description information is unknown. The instantiation template reserves 13 items for the device of manufacturer A and the device of manufacturer B respectively. In the future, no matter what data items the device of manufacturer A and the device of manufacturer B have, they can be imported in the device information instantiation.

[0076] Table 1

[0077]

[0078] S1130: Download the configured project file to the PLC controller.

[0079] Among them, the PLC controller can not only realize the logic of industrial control, but also run the configured engineering files to network the field equipment.

[0080] In some embodiments, the engineering file includes control logic of the PLC controller over the field device.

[0081] In summary, a configuration method embodiment of field equipment facilitates configuration when configuring a project for the first time because only the device description template of the device type required by the project needs to be imported instead of the description information files of all devices, which greatly reduces the difficulty of configuration operation and maintenance work.

[0082] According to the following Figure 2B An embodiment of a method for networking field devices according to the present invention is introduced.

[0083] Figure 2B The flow of an embodiment of a method for networking field devices is shown, including steps S1210 to S1240. This embodiment is run on a field PLC controller and is used to network field devices on an industrial automatic production line to form an application layer network on the industrial automatic production line.

[0084] S1210: The PLC controller runs the engineering file for field device configuration.

[0085] The engineering file is obtained through an implementation of a configuration method for field equipment and downloaded to a PLC controller.

[0086] S1220: After each field device comes online, the PLC controller receives the device description information reported by each field device.

[0087] In some embodiments, the PLC controller obtains the device description information of the device from the online field device through the broadband industrial bus (AUTBUS). The AUTBUS bus has a large bandwidth and can transmit device description information files with large amounts of data; the AUTBUS bus has more than 200 nodes and can connect many field devices.

[0088] The PLC controller is equipped with a master module of a broadband industrial bus, and a slave module of a field device is connected to the broadband industrial bus. The slave module can be on the field device or an independent device.

[0089] In some embodiments, the terminal manufacturer of the field device generates device description information for each field device according to the device description template of the device type, and writes it into the device in the form of firmware. When developing the device, the terminal manufacturer edits the device description template file of the corresponding device type or generates device description information firmware matching the actual terminal device attributes through software, and writes the firmware to provide it to the integrator or other terminal device party together with the device, without having to export the device description information file separately as a file to provide to the system integrator and the end user.

[0090] S1230: The PLC controller instantiates the device information of the field device according to the acquired device description information of the field device, and completes the initialization of the device.

[0091] Among them, the device information instantiation process is actually to associate and concretize the information of an actual device with the instantiation template based on the specified type, and associate the device description information of the actual device at the position reserved for the actual device in the instantiation template of the specified type, so as to achieve the correspondence between the device description information of the actual device and the data items in the device description template. Because the execution logic in the configured engineering file is based on the data items in the device description template, the description information of the actual device is corresponded to the data items in the device description template through the device information instantiation, so that the data of the actual device can be used to perform correct processing in the actual business data collection and control process.

[0092] Continuing with the two-dimensional table as an example, Table 2 shows the instantiation of the device information of the pressure transmitter. The device description information of manufacturer A has 6 items, and the device description information of manufacturer B has 8 items. During the device information instantiation process, in the instantiation template of the pressure transmitter, the corresponding data items in the device description information of manufacturer A are associated with the position reserved for the device of manufacturer A, and the corresponding data items in the device description information of manufacturer B are associated with the position reserved for the device of manufacturer B, so that the device description information of manufacturers A and manufacturer B corresponds to the data items in the device description template, so that the data of manufacturers A and manufacturer B can be used to perform correct processing in the actual business data collection and control process.

[0093] Table 2

[0094]

[0095] In some embodiments, when each field device is initialized, a redundancy check and a redundancy backup are performed on the instantiation template of the device based on the device description information reported by the device. In the initialization phase of the network composed of field devices, the device goes online in a static or dynamic manner, and a redundancy check is performed on the device description template based on the device description information reported by the device after it goes online, confirming that the device description information matches the instantiation template, and completing the redundancy backup of the instantiation template of the device. In other embodiments, an alarm may be issued when an inaccuracy occurs during the check, allowing the user to replace the device or import the device description information in other ways.

[0096] S1240: The PLC controller starts running each initialized field device to complete the networking.

[0097] Among them, the networking is based on the network initialization after the configuration engineering. After the field equipment is running, the PLC controller performs industrial control on the field equipment and completes related industrial operations.

[0098] In some embodiments, when each field device is running, the integrity and correctness of the instantiation template of the device is checked based on the operating data of the field device. This check will not affect the normal operation of the PLC controller or the network. In other embodiments, when an inaccuracy occurs during the check, an alarm can be issued to allow the user to replace the device or otherwise import the device description information in order to re-enter the network.

[0099] In some embodiments, when a new field device is added after the networking is completed, if there is no instantiation template for the device in the running configuration, the instantiation template for the device is obtained from the backup instantiation template library. Among them, when another device of the same type is added after some devices dynamically leave, its instantiation template can be obtained from the backup instantiation template library, so that the device is configured in the configuration. In other embodiments, when a new field device is added after the networking is completed, if there is an instantiation template for the device in the running configuration, the device starts running directly. For example, when some devices are added again after leaving dynamically, their instantiation templates and device information instantiation data are already in the running configuration, and can start running directly. From the above, the dynamic addition and departure of some field devices during the operation of the automated production line will not affect the production process, and there is no need to power off, restart or reconfigure, which greatly improves production efficiency.

[0100] In summary, an embodiment of a method for networking field equipment obtains a project file completed by a device description template based on a field device type, obtains device description information after the configured field device is online, completes the device initialization, and implements field device networking. By using a project file configured by a device description template based on a field device type for networking, dynamic changes of field devices are facilitated, providing necessary conditions for flexible production of engineering.

[0101] An embodiment of a dynamic networking method for field devices is described below in conjunction with the accompanying drawings.

[0102] An implementation method of a dynamic networking method for field equipment is a detailed implementation method that combines an implementation method of a configuration method for field equipment and an implementation method of a networking method for field equipment. It has all the advantages of an implementation method of a configuration method for field equipment and an implementation method of a networking method for field equipment, and performs redundancy checks and backups on the instantiation templates of the equipment, dynamically adds field equipment to obtain the instantiation templates that need to be updated from the backup, so that the equipment can instantiate the equipment information and start running without reconfiguring.

[0103] First, a control system for running an embodiment of a dynamic networking method for field devices is introduced.

[0104] Figure 3A The structure of the control system is shown, including: a host computer, a PLC controller, a synchronous redundant device and a broadband industrial bus.

[0105] The control system is Figure 1B The control system shown adds a synchronous redundancy device, which performs synchronous redundancy management on field equipment. The synchronous redundancy device can be a module independent of the PLC controller on the computing system where the PLC controller is located, or it can be a module on another computing system that shares the same site with the PLC controller and is deployed synchronously. Figure 3B The flowchart of an embodiment of a method for dynamic networking of field devices is shown, which includes steps S3010 to S3130.

[0106] Among them, steps S3010 to S3050 and step S3130 are run on the host computer where the configuration tool is installed to obtain the configured project files; steps S3060 to S3110 are run on the PLC controller to perform networking based on the project files; step S3120 is run on the synchronous redundant device to perform redundancy check and backup on the instantiated templates in the configuration.

[0107] S3010: Import the device description template, that is, use the configuration tool to import the device description template on the host computer.

[0108] Among them, the device description template of each field device type to be configured is imported. The device description template of each field device type includes the following information sets of the field device of this type: device class information, parameter class information, real-time data class information and alarm data class information. These information are defined based on the corresponding standard format with standard names, data types and information lengths. There can be several field devices of each field device type, but there is only one device description template imported for this type. Figure 4A An example of a device description template for a field device type is shown, in which the name, data type, and length of each data item in the device class information, parameter class information, real-time data class information, and alarm data class information are defined, and some data items also include range information.

[0109] Figure 4B The relevant work of the device description template based on the field device type before engineering configuration is shown, including: editing the device description template AX of each field device type according to the basic information template, and importing the basic information template and the device description template AX of each field device type together when importing.

[0110] Figure 4C The main purpose of the device description template in the present invention is shown.

[0111] For system integrators, during engineering configuration, do not import the device description information files of all field devices involved in the project. You only need to import the device description template files of the field device types related to the project. The device type template instantiation is completed during configuration compilation.

[0112] For the terminal party, when developing the equipment, the device description template file corresponding to the field device type is edited or the firmware of the device description information matching the actual terminal device attributes is generated through software, and the firmware is written and provided to the integrator or other terminal device parties together with the field device. There is no need to export the device description information file separately as a file to provide to the system integrator and the project user. For the project user, there is no need to maintain and manage the device description information file of each device on the production line, which reduces the construction cost and improves the efficiency of operation and maintenance.

[0113] S3020: Create a new project, that is, create a new configuration project on the host computer through the configuration software to obtain the configuration project file.

[0114] Among them, the project configures the field equipment, obtains the engineering files to network the field equipment for industrial control.

[0115] S3030: Device configuration, i.e. configuring the field devices to be configured through configuration software on the host computer.

[0116] The imported device description templates of various types of field devices are used for configuration, and there is no need to configure according to the device description information of the actual field devices.

[0117] S3040: Configuration compilation, that is, compiling the configuration code through the configuration software on the host computer to obtain the configuration project file.

[0118] In the compilation process, the device description template of each configured designated field device is instantiated to obtain the instantiation template of the field device, and the basis is provided for the instantiation of the device information of the corresponding type of device according to the instantiation template of the type of device.

[0119] S3050: Configuration download, that is, the host computer downloads the configuration project file to the PLC controller for configuring and connecting the field equipment to the network.

[0120] S3060: Configuration startup, that is, the PLC controller runs the configured project file and waits for the device to go online and access the network.

[0121] Wherein, step S3090 is also called at startup to perform redundancy check and redundant backup on the instantiated templates of each field device.

[0122] S3070: Device initialization, that is, the PLC controller obtains the device description information of the field device through the wide industrial bus, and initializes the online field device accordingly.

[0123] Among them, after the field device is online, the field device uploads its device description information to the PLC controller through the broadband industrial bus (the broadband industrial bus is AUTBUS). The device description information reflects the role and production capacity of the device in the industrial automation production process. This information is used to instantiate the device information of the instantiation template of the field device, that is, to confirm the actual capacity of the device in the current project. After the PLC controller confirms that the device description information instantiation is completed, it notifies the device to start running.

[0124] Figure 5A The structure of the broadband industrial bus network is shown. The PLC controller is the master station of the broadband industrial bus, the field equipment is the slave station of the broadband industrial bus, and the master station of the broadband industrial bus allocates bandwidth to each slave station.

[0125] When initializing the field device, step S3090 is also called to perform redundancy check and redundancy backup on the instantiation template of each field device based on the device description information.

[0126] S3080: Equipment operation, that is, the PLC controller starts the field equipment to start running according to the real-time cycle.

[0127] When the field device is running, step S3090 is also called to confirm the integrity and correctness of the instantiation template of the field device based on the operation data of the field device.

[0128] Figure 5B The process of automated production operation based on broadband industrial bus is shown. In the equipment initialization stage, the master station of broadband industrial bus broadcasts information such as bus cycle and bus working mode, and the slave station of broadband industrial bus corresponding to the online field equipment establishes communication with the master station of broadband industrial bus according to the information; the online field equipment reports the device description information of each field equipment through broadband industrial bus, which is used for PLC controller to instantiate the device information. The PLC controller instantiates the device information of the field equipment, and then broadcasts and synchronizes and starts the online field equipment through broadband industrial bus; in the startup stage, the PLC controller completes the device information confirmation, and notifies the online field equipment to start running through the broadband industrial bus; in the operation stage, the field equipment reports real-time operation data to the PLC controller through broadband industrial bus. In the process of realizing flexible production or dynamic networking, the industrial automation production line needs sufficient bandwidth to complete the timely and accurate dynamic reporting of field equipment information, and it cannot affect the normal industrial automation production. The low bandwidth and poor real-time performance of traditional field bus make it difficult to meet the needs of flexible production, and the complex networking caused by the need for switches of real-time Ethernet cannot meet the flexible needs of flexible production for network equipment and networking. Broadband industrial buses provide a communication method with large enough bandwidth and good enough real-time performance, and network field devices can be plug-and-play, which can meet this demand.

[0129] Among them, up to this step, the on-site equipment has completed networking.

[0130] S3090: Confirm that a field device has left or joined, that is, the redundant synchronization device confirms that a field device has dynamically left or joined.

[0131] Among them, there is no need to rebuild the configuration after some non-critical field devices dynamically leave or join, and the PLC controller can complete industrial control in terms of control logic.

[0132] Some of these devices have their data deleted from the currently used configuration when they are dynamically left.

[0133] S3100: Configuration reconstruction check, that is, the redundant synchronization device confirms and checks whether reconfiguration is required.

[0134] Among them, critical field devices are not allowed to leave, and their departure will cause the control logic of the PLC controller to fail to work, requiring reconfiguration; the departure of non-critical field devices does not affect the control logic of the PLC controller (the logic has multiple branches to continue working by running different branches when non-critical devices leave), so no reconfiguration is required.

[0135] S3120: Determine whether recompilation is required, that is, the redundant synchronization device determines whether reconfiguration is required. If recompilation is required, step S3130 is executed, and if not, step S3120 is executed, and the redundant synchronization process is performed online.

[0136] S3120: Redundant synchronization processing, that is, the redundant synchronization device performs redundant synchronization processing.

[0137] Among them, this step is called when the configuration is started to complete the redundancy check and backup of the instantiation template of the field equipment; it is called when the device information is instantiated, and the redundancy check and backup of the instantiation template are performed based on the device description information; it is called when the field device is running, and the integrity and correctness of the instantiation template are confirmed based on the operating data of the field device; when the field device is dynamically connected to the network and there is no reconstruction of the configuration compilation, the instantiation template is synchronized, and the device initialization is notified to allow the dynamically added device to connect to the network.

[0138] For a detailed description of this step, please refer to the redundant synchronization method in an embodiment of a dynamic networking method for field devices.

[0139] S3130: Open the project, that is, open the original configuration project file through the configuration software on the host computer and reconfigure it.

[0140] Combine the following Figure 5C A redundant synchronization method of an embodiment of a dynamic networking method for field devices is introduced. The redundant synchronization method is a detailed implementation of step S3120 of an embodiment of a dynamic networking method for field devices.

[0141] Figure 5C The flowchart of a redundant synchronization method of an embodiment of a dynamic networking method of field devices is shown, including steps S510 to S560.

[0142] S510: Template instantiation redundant processing.

[0143] When the PLC controller runs the downloaded configuration project file, the template instantiation redundancy processing of this step is performed, and step S520 is called to perform redundancy check on the instantiated template data and step S530 is called to perform redundant backup on the instantiated template data.

[0144] S520: Instantiated template redundancy check.

[0145] When the PLC controller runs the downloaded configuration project file, this step is called by the template instantiation redundancy processing of step S510 to perform a redundancy check on the instantiated template, mainly to check the definition attributes of the data items themselves.

[0146] Among them, in the network initialization stage (also the device initialization stage), the field equipment goes online in a static or dynamic manner, and the PLC controller completes the device information instantiation based on the device description information reported by the field equipment after going online, and performs a redundancy check on the instantiation template based on the device description information to confirm the matching of the instantiation template.

[0147] S530: Template instantiation redundant backup.

[0148] When the PLC controller runs the downloaded configuration project file, this step is called by the template instantiation redundancy processing of step S510 to perform redundant backup of the instantiated template.

[0149] Among them, in the network initialization stage (also the device initialization stage), the field equipment goes online in a static or dynamic manner, and after the PLC controller confirms that the instantiated template matches the reported device description information, it performs redundant backup of the instantiated template.

[0150] When the network field equipment changes dynamically, the instantiation template and other processing can be restored based on the backup information.

[0151] S540: Runtime synchronization processing.

[0152] Among them, when the field equipment is running, the template instantiation redundancy check and backup processing based on the field equipment type will not affect the normal operation of PLC control or broadband industrial bus network. After the device information is instantiated, it will be processed in real-time cycle operation. It is necessary to confirm the integrity and correctness of the instantiated template based on the operating data of the field equipment. The integrity and correctness of the instantiated template are confirmed by calling step S520.

[0153] Among them, when the network field device is dynamically added and there is no need to update the instantiation template, this step notifies the PLC controller to synchronously delete the device information instantiation data, and also calls step S3080 of an embodiment of a dynamic networking method for field devices to start the operation of the field device.

[0154] S550: Determine whether the instantiation template needs to be updated.

[0155] Among them, the network field equipment changes dynamically, and the instantiated template in the networking is checked. If there is no update of the instantiated template, step S540 is executed, and the PLC controller synchronously deletes the device information instantiation data and starts the operation of the field equipment; if there is no update of the instantiated template, step S560 is executed, then the backup instantiated template is obtained, and the device information instantiation of the device is completed, and then the device is started.

[0156] S560: Obtain the backup instantiation template, and call step S3070 of an implementation method of a dynamic networking method for field devices, obtain device description information from the field device to instantiate the device information, and then start running the device through step S3080 of an implementation method of a dynamic networking method for field devices.

[0157] In summary, an embodiment of a dynamic networking method for field equipment is based on device description template configuration. When the dynamic field equipment is running, the instantiation template of the device is backed up. The field equipment is dynamically added to obtain the instantiation template that needs to be updated from the backup, so that the device information can be instantiated and started without reconfiguration. The dynamic addition and departure of some field equipment during the operation of the automated production line will not affect the production process, and there is no need to power off, restart or reconfigure, which greatly improves production efficiency.

[0158] Combine the following Fig. 6A An embodiment of a configuration device for field equipment is introduced.

[0159] An embodiment of a configuration device for a field device executes the method of an embodiment of a configuration method for a field device, and has all the advantages thereof.

[0160] Fig. 6A The structure of an embodiment of a configuration device for field equipment is shown, including: an equipment configuration module 6110 , a configuration compilation module 6120 , and a configuration download module 6130 .

[0161] The device configuration module 6110 is used to configure the field device according to the device description template of the field device type to be configured. For its method and advantages, please refer to step S1110 of an embodiment of a method for configuring a field device.

[0162] The configuration compiling module 6120 is used to compile the configuration result and instantiate the used device description template to obtain the configured engineering file. Please refer to step S1120 of the embodiment of a configuration method for field equipment for its method and advantages.

[0163] The configuration download module 6130 is used to download the configuration project file to the PLC controller. Please refer to step S1130 of an embodiment of a configuration method for field equipment for its method and advantages.

[0164] Combine the following Figure 6B A PLC controller embodiment is introduced.

[0165] A PLC controller embodiment executes the method of an embodiment of a method for networking field devices, with all its advantages.

[0166] Figure 6BThe structure of a PLC controller embodiment is shown, including: a configuration and operation module 6210, an information acquisition module 6220, a device initialization module 6230, and a device operation module 6240.

[0167] The configuration operation module 6210 is used to operate the configuration engineering file obtained according to the method described in the embodiment of a method for configuring a field device. For its method and advantages, please refer to step S1210 of the embodiment of a method for networking a field device.

[0168] The information acquisition module 6220 is used for the PLC controller to receive the device description information reported by each field device after each field device is online. For its method and advantages, please refer to step S1220 of an embodiment of a field device networking method.

[0169] The device initialization module 6230 is used to instantiate the device information of each field device according to the device description information of the device after the device is online, and complete the initialization of the device. For its method and advantages, please refer to step S1230 of an embodiment of a field device networking method.

[0170] The device operation module 6240 is used to start and operate each initialized field device to complete networking. For its method and advantages, please refer to step S1240 of an embodiment of a field device networking method.

[0171] Combine the following Figure 7 An embodiment of a dynamic networking device for field equipment is introduced.

[0172] A dynamic networking device embodiment executes the method of a dynamic networking method embodiment of field devices, with all its advantages.

[0173] Figure 7 The structure of a dynamic networking device for field equipment is shown, including: a template import module 7110, a project creation module 7120, an equipment configuration module 7130, a configuration compilation module 7140, a configuration download module 7150, a configuration startup module 7210, an equipment initialization module 7220, an equipment operation module 7230, a dynamic confirmation module 7240, and a redundant synchronization module 7250.

[0174] Among them, the board import module 7110, the project creation module 7120, the equipment configuration module 7130, the configuration compilation module 7140 and the configuration download module 7150 are in the configuration device of the host computer; the configuration startup module 7210, the equipment initialization module 7220, the equipment operation module 7230, and the dynamic confirmation module 7240 are in the PLC controller; the redundant synchronization module 7250 is in the synchronous redundant device.

[0175] The template importing module 7110 is used to import the device description template. For its working method and advantages, please refer to step S3010 of an embodiment of a method for dynamic networking of field devices.

[0176] The project creation module 7120 is used to create a new project, that is, to create a new configuration project on the configuration software to obtain the configured project file. For its working method and advantages, please refer to step S3020 of an embodiment of a dynamic networking method for field devices.

[0177] The project creation module 7120 is also used to open the project when the dynamically connected field device needs to be reconfigured, that is, to open the original configured project file. For its working method and advantages, please refer to step S3130 of an embodiment of a dynamic networking method for field devices.

[0178] The device configuration module 7130 is used for device configuration, that is, to configure the field device to be configured. For its working method and advantages, please refer to step S3030 of an embodiment of a method for dynamic networking of field devices.

[0179] The configuration compilation module 7140 is used for configuration compilation, that is, compiling the configuration code and instantiating the module to obtain the configuration project file. For its working method and advantages, please refer to step S3040 of an embodiment of a dynamic networking method for field devices.

[0180] The configuration download module 7150 downloads the configuration, that is, downloads the configuration project file to the PLC controller for configuring the field device to join the network. For its working method and advantages, please refer to step S3050 of an embodiment of a dynamic networking method for field devices.

[0181] The configuration startup module 7210 is used for the PLC controller to run the configured engineering file and wait for the device to be online. For its working method and advantages, please refer to step S3060 of an embodiment of a dynamic networking method for field devices.

[0182] The device initialization module 7220 is used by the PLC controller to obtain the device description file of the online field device and instantiate the device information to complete the field device initialization. For its working method and advantages, please refer to step S3070 of an embodiment of a dynamic networking method for field devices.

[0183] The device operation module 7230 is used for the PLC controller to start operating the field device according to the real-time cycle. For its working method and advantages, please refer to step S3080 of an embodiment of a dynamic networking method for field devices.

[0184] The dynamic confirmation module 7240 is used by the PLC controller to confirm the leaving or joining of the field device, perform configuration reconstruction check, and determine whether recompilation is required. For its working method and advantages, please refer to steps S3090, S3100 and S3110 of an embodiment of a dynamic networking method for field devices.

[0185] The redundant synchronization module 7250 is used by the PLC controller to execute a redundant synchronization method of an embodiment of a dynamic networking method for field devices. For its working method and advantages, please refer to the redundant synchronization method of an embodiment of a dynamic networking method for field devices.

[0186] The embodiment of the present invention further provides a computing device, Figure 8 Detailed introduction.

[0187] The computing device 800 includes a processor 810 , a memory 820 , a communication interface 830 , and a bus 840 .

[0188] It should be understood that the communication interface 830 in the computing device 800 shown in this figure can be used to communicate with other devices.

[0189] The processor 810 may be connected to a memory 820. The memory 820 may be used to store the program code and data. Therefore, the memory 820 may be a storage unit inside the processor 810, or an external storage unit independent of the processor 810, or a component including a storage unit inside the processor 810 and an external storage unit independent of the processor 810.

[0190] Optionally, the computing device 800 may further include a bus 840. The memory 820 and the communication interface 830 may be connected to the processor 810 via the bus 840. The bus 840 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 840 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the figure is represented by only one line, but it does not mean that there is only one bus or one type of bus.

[0191] It should be understood that in the embodiment of the present invention, the processor 810 may adopt a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Alternatively, the processor 810 may adopt one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present invention.

[0192] The memory 820 may include a read-only memory and a random access memory, and provides instructions and data to the processor 810. A portion of the processor 810 may also include a nonvolatile random access memory. For example, the processor 810 may also store information on the device type.

[0193] When the computing device 800 is running, the processor 810 executes the computer-executable instructions in the memory 820 to perform the operation steps of each method embodiment.

[0194] It should be understood that the computing device 800 according to an embodiment of the present invention can correspond to the corresponding subjects in the methods according to the various embodiments of the present invention, and the above-mentioned and other operations and / or functions of each module in the computing device 800 are respectively for implementing the corresponding processes of each method of the present embodiment. For the sake of brevity, they will not be repeated here.

[0195] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0196] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0197] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0198] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0199] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0200] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0201] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, it is used to execute the operating steps of each method embodiment.

[0202] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0203] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0204] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0205] Computer program code for performing the operations of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0206] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, all of which belong to the scope of protection of the present invention.

Claims

1. A method for dynamic networking of field devices, characterized in that: include: The host computer of the control system configures the field devices according to the device description template corresponding to the field device type to be configured. The devices of each field device type include devices of different manufacturers of the same type and devices of different versions of the same manufacturer. The host computer compiles the result of the configuration, and instantiates the device description template used in the compilation process to obtain the engineering file of the configuration; wherein the instantiated template obtained by the template instantiation reserves a position for the data item of each specific device of the corresponding type; The host computer downloads the engineering file to the PLC controller of the control system; The PLC controller runs the engineering file, and at the same time, the synchronous redundancy device in the control system performs redundancy check and redundancy backup on the instantiation template of each field device in the engineering file; After each field device comes online, the PLC controller receives the device description information reported by each field device; The PLC controller instantiates the device information of the field device according to the device description information of the field device, and completes the initialization of the device; The PLC controller starts and runs each initialized field device to complete the networking; When a field device is dynamically added after the PLC controller completes networking, if there is no instantiation template for the device in the running configuration, the synchronous redundancy device obtains the instantiation template for the device from the backup instantiation template library; if there is an instantiation template for the device in the running configuration, the PLC controller directly starts the device.

2. The method according to claim 1, characterized in that: The device description template of each type of field device includes the following information sets of the field device of this type: device class information, parameter class information, real-time data class information and alarm data class information.

3. The method according to claim 1, characterized in that: Also includes: After each field device comes online, the PLC controller obtains the device description information reported by the field device through the broadband industrial bus, and the PLC controller configures the master station of the broadband industrial bus.

4. The method according to claim 1, characterized in that: The device description information of each field device is generated according to the device description template of the device type and written into the device in the form of firmware.

5. The method according to claim 1, characterized in that: Also includes: When each field device is initialized, a redundancy check and redundancy backup are performed on the instantiation template of the device according to the device description information reported by the device; and / or When each field device is running, the instantiated template of the device is checked based on the operating data of the field device.

6. A dynamic networking device for field equipment, characterized in that: include: The device configuration module is used for the host computer of the control system to configure the field device according to the device description template corresponding to the field device type to be configured. Each field device type includes devices of different manufacturers of the same type and devices of different versions of the same manufacturer; A configuration compilation module, used for compiling the configuration result by the host computer, and instantiating the device description template used in the compilation process to obtain a configuration project file, wherein the instantiated template obtained by the template instantiation reserves a position for the data item of each specific device of the corresponding type; A configuration download module, used for downloading the project file from the host computer to the PLC controller of the control system; A configuration and operation module, used for running the project file by the PLC controller; An information acquisition module, used for receiving device description information reported by each field device respectively by the PLC controller after each field device is online; A device initialization module, used for the PLC controller to instantiate the device description information of the field device according to the device description information of the field device, so as to complete the initialization of the device; The device operation module is used to start and operate each initialized field device by the PLC controller to complete the networking; A synchronous redundancy module, used for performing redundant check and redundant backup of instantiated templates of each field device in the engineering file by a synchronous redundancy device in the control system when the PLC controller runs the engineering file; The synchronous redundancy module is also used to obtain the instantiation template of the device from the backup instantiation template library when a field device is dynamically added after the PLC controller completes networking and there is no instantiation template of the device in the running configuration.

7. The device according to claim 6, characterized in that: The PLC controller is connected to the field devices via a broadband industrial bus.

Citation Information

Patent Citations

  • Configuration method and device of device to be monitored and monitoring system

    CN103607330A

  • Device monitoring method and apparatus, storage medium and computer device

    CN108509311A

  • HMI configuration system and method based on binary files

    CN111880793A