Industrial control program integrated development platform, system and equipment

By designing an industrial control program integrated development platform and using the modular design of the development layer and the service layer, the problem of interaction difficulties between tool modules is solved, and a more efficient program development process is achieved.

CN119806479APending Publication Date: 2025-04-11CRRC ZHUZHOU ELECTRIC LOCOMOTIVE RESEARCH INSTITUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311309968.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-10
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The difficulty in interacting between tool modules of the existing industrial control program development platform leads to an increase in program development complexity and a decrease in overall development efficiency.

Method used

Design an industrial control program integrated development platform, including the development layer and the service layer. The development layer includes configuration modules, development modules and debug modules. Through these modules, the shared configuration and communication variables between tool modules are realized, and the global application of one-time configuration is achieved and the interconnection between tools is connected.

Benefits of technology

Through the integrated development platform, the complexity of program development is reduced, the overall development efficiency is improved, and the interconnection and data interaction and sharing between tools are realized.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806479A_ABST
    Figure CN119806479A_ABST
Patent Text Reader

Abstract

The invention provides an industrial control program integrated development platform, system and device, the development platform comprises a development layer and a service layer, the development layer is used for developing a device program for a target device, and the service layer is used for providing an underlying service program to realize communication and interaction between the development layer and the target device. The configuration module is used for generating system configuration, and the configuration module shares the generated system configuration to the development module; the development module is used for providing an algorithm library, a function block library and a driving bus interacting with equipment, generating program variables of equipment programs by importing the system configuration generated by the configuration module and configuring bus configuration of the driving bus, and the development module shares the program variables to the debugging module; the debugging module is used for monitoring program variables based on limitation of system configuration and forcibly adjusting the program variables. According to the method, the development tools are interconnected and intercommunicated, so that data interaction and sharing are better realized, the complexity of program development can be reduced, and the overall development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of industrial system development, and in particular relates to an industrial control program integrated development platform, system and equipment. Background Art

[0002] An industrial control program is a software program used to control and monitor industrial processes. It usually runs in an industrial control system and realizes the automated management of industrial processes by controlling various devices and actuators. The main functions of an industrial control program include data acquisition monitoring, logic control, actuator control, fault diagnosis alarm, data storage and analysis, etc. Among them, data acquisition monitoring can collect and monitor various data in industrial processes in real time, such as temperature, pressure, flow, etc., by connecting to various sensors and instruments. Logic control can process and judge the collected data according to pre-set logic rules and control algorithms, and determine the corresponding control operations. Actuator control can control actuators (such as motors, valves, pumps, etc.) by connecting to them, and adjust the parameters and states in the industrial process. Fault diagnosis and alarm can detect abnormal conditions in the industrial process by analyzing and comparing the collected data, and generate corresponding fault diagnosis and alarm information. Data storage and analysis can store and analyze the collected data for subsequent data processing and decision support.

[0003] Industrial control programs can be developed based on industrial program development platforms and through programming languages ​​(such as ladder diagram, function block diagram, etc.), and run in industrial control systems. It can realize the automated control of industrial processes, improve production efficiency, reduce costs, and ensure the safety and stable operation of industrial processes. A set of tool chain software will be provided in the industrial program development platform of related technologies, including configuration, programming development, debugging and other tools. At present, these tools of various companies are relatively independent, with few connections between tools and relatively simple functions. Different tools need to adapt to different protocols and need to perform different data conversions, which makes it difficult for tools to interact with each other, greatly increasing the complexity of program development and reducing overall development efficiency. Summary of the invention

[0004] The present invention provides an industrial control program integrated development platform, system and equipment to solve the problem that the interaction between tool modules of program development is difficult, which increases the complexity of program development and reduces the overall development efficiency.

[0005] In a first aspect, the present invention provides an industrial control program integrated development platform, the development platform comprising a development layer and a service layer, the development layer is used to develop device programs for target devices, the service layer is used to provide underlying service programs to achieve communication and interaction between the development layer and the target device, the development layer comprises a configuration module, a development module and a debugging module, wherein:

[0006] The configuration module is used to generate a system configuration, which includes a network topology configuration, a device configuration, and a device variable configuration. The configuration module shares the generated system configuration with the development module;

[0007] The development module is used to provide an algorithm library, a function block library and a drive bus for interacting with the device, generate program variables of the device program and configure the bus configuration of the drive bus by importing the system configuration generated by the configuration module, and the development module shares the program variables with the debugging module;

[0008] The debugging module is used to monitor the program variables and force adjustment of the program variables based on the limitations of the system configuration.

[0009] Optionally, the service layer includes a device discovery service and a device authentication service. The device discovery service is used to execute a device discovery service program to search for and obtain a device description file of the target device via Ethernet. The device description file contains basic device information, device IP information, device MAC information, device board information and device panel data of the target device. The device authentication service is used to execute a device authentication service program to verify the target device through a preset device authentication code, obtain the device target code of the successfully verified target device, and establish a communication connection with the successfully verified target device.

[0010] Optionally, the service layer also includes a device operation service, which establishes a connection with the development module through the UDP protocol, and the device operation service establishes a connection with the target device through the device authentication service. The device operation service is used to provide an operating environment for the device program, and receives the device program through the UDP protocol to run the device program in real time under the operating environment.

[0011] Optionally, the device operation service establishes a connection with the debugging module via a debugging protocol, and the debugging module is further used to export operating variables when the device operation service runs the device program, and monitor and / or forcibly adjust the operating variables.

[0012] Optionally, the service layer further includes a device maintenance service, the development layer further includes a maintenance module, the device maintenance service establishes a connection with the maintenance module through a maintenance protocol, the device maintenance service establishes a connection with the target device through a device authentication service, the configuration module shares the system configuration with the maintenance module, and the development module shares the program variables with the maintenance module;

[0013] The maintenance module is used to create a device maintenance program in combination with the system configuration and the program variables. The device maintenance service receives the device maintenance program through the maintenance protocol to modify the device description file, and transmits the modified device description file to the target device.

[0014] Optionally, the service layer also includes a device cloud service, which establishes a connection with the device maintenance service via a cloud service protocol, and the device cloud service is used to receive and store the device description file and the device maintenance program via the device maintenance service.

[0015] Optionally, the service layer further includes a device diagnostic service, the development layer further includes a diagnostic module, the device diagnostic service establishes a connection with the diagnostic module through a diagnostic calibration protocol, the device diagnostic service establishes a connection with the target device through a device authentication service, the configuration module shares the system configuration with the diagnostic module, and the development module shares the program variables with the diagnostic module;

[0016] The diagnostic module is used to provide a variable database, in which historical operation variable data of different devices are pre-stored, and the diagnostic module is also used to generate calibration data of the target device in combination with the system configuration and the program variables;

[0017] The device diagnostic service is used to execute a device diagnostic service program to obtain device variables of the target device when executing the device program, and transmit the device variables to the diagnostic module;

[0018] The diagnosis module is further used to perform data diagnosis on the device variables after receiving the device variables in combination with the historical operation variable data and the calibration data, and generate a diagnosis result.

[0019] Optionally, the development module supports IEC61131-3 language, C language and C++ language to develop the device program.

[0020] In a second aspect, the present invention further provides an industrial control program integrated development system, which is used to carry the industrial control program integrated development platform as described in the first aspect.

[0021] In a third aspect, the present invention further provides an intelligent device, wherein the device includes the industrial control program integrated development system described in the second aspect.

[0022] The beneficial effects of the present invention are:

[0023] The industrial control program integrated development platform provided by the present invention includes a development layer and a service layer, wherein the development layer is used to develop device programs for target devices, and the service layer is used to provide underlying service programs to realize communication and interaction between the development layer and the target device, and the development layer includes a configuration module, a development module and a debugging module. The configuration module is used to generate a system configuration, and the system configuration includes a network topology configuration, a device configuration and a device variable configuration. The configuration module shares the generated system configuration with the development module. The development module is used to provide an algorithm library, a function block library and a drive bus for interacting with the device, and generates program variables of the device program and configures the bus configuration of the drive bus by importing the system configuration generated by the configuration module. The development module shares the program variables with the debugging module. The debugging module is used to monitor the program variables based on the restrictions of the system configuration and forcibly adjust the program variables. When the above development platform is used for industrial control program development, the development module can be used as the center, and the configuration module and the debugging module can be used as the supporting configuration module, and the configuration and communication variables can be shared between the modules, so as to realize one-time configuration, global applicability, interconnection between tools, better data interaction and sharing, and thus reduce the complexity of program development and improve overall development efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 The platform structure of the industrial control program integrated development platform in the present invention Figure 1 .

[0025] Figure 2 The platform structure of the industrial control program integrated development platform in the present invention Figure 2 .

[0026] Figure 3 The platform structure of the industrial control program integrated development platform in the present invention Figure 3 . DETAILED DESCRIPTION

[0027] The invention discloses an industrial control program integrated development platform.

[0028] Reference Figure 1 The industrial control program integrated development platform includes a development layer and a service layer. The development layer is used to develop device programs for target devices, and the service layer is used to provide underlying service programs to achieve communication and interaction between the development layer and the target device. The development layer includes a configuration module, a development module, and a debugging module, among which:

[0029] The configuration module is used to generate system configuration, which includes network topology configuration, device configuration and device variable configuration. The configuration module shares the generated system configuration with the development module.

[0030] The development module is used to provide an algorithm library, a function block library, and a driver bus that interacts with the device. It generates program variables of the device program and configures the bus configuration of the driver bus by importing the system configuration generated by the configuration module. The development module shares the program variables with the debugging module.

[0031] The debug module is used to monitor program variables and force adjustments to program variables based on system configuration limits.

[0032] In this embodiment, the industrial control program integrated development platform provides various development tools for developing device programs, such as configuration modules, development modules, and debugging modules, and the service layer mainly provides auxiliary development services and programs that match the development tools. Among them, the configuration module is mainly used to generate system configuration, that is, a large amount of configuration information contained in the device program, including network topology configuration, device configuration, and device variable configuration.

[0033] The network topology setting specifically includes device connection mode, device IP address, device communication protocol, etc. The device connection mode is specifically to configure the connection mode between devices, such as Ethernet, serial port, etc. The device IP address is specifically to assign a unique IP address to each target device for network communication. The device communication protocol is the communication protocol between devices, such as Modbus, OPC UA, etc. The device configuration mainly includes device type, device parameters, device variables, etc. The device type is mainly used to select the type of target device, such as PLC, sensor, actuator, etc. The device parameters are the parameters of the target device, such as sampling frequency, communication rate, input and output signal range, etc. The device variable configuration can define the variables of the target device, such as temperature, pressure, speed, etc. Since the development tools such as configuration module, development module, debugging module, etc. are integrated into the underlying framework, such as the codesys underlying framework, the modules can interact and share data arbitrarily, thereby realizing the interconnection between tools, and the configuration module can also share the generated system configuration to the development module.

[0034] The development module supports the development of device programs in IEC61131-3, C, and C++ languages. The development module can also provide algorithm libraries, function block libraries, and driver buses. The algorithm library refers to a set of commonly used algorithm functions or algorithm modules provided in the industrial control program integrated development platform for processing and analyzing device data. For example:

[0035] PID control algorithm: used to achieve closed-loop control and adjust the control output according to the data fed back by the equipment.

[0036] Filtering algorithm: used to smooth device data and remove noise and interference.

[0037] Data processing algorithm: used for statistical analysis and trend prediction of equipment data.

[0038] Function block library refers to a set of commonly used function blocks provided in the industrial control program integrated development platform, which are used to combine and implement control programs. For example:

[0039] Logic function block: includes AND gate, OR gate, NOT gate and other logic operation function blocks, which are used to realize logic judgment and conditional control.

[0040] Mathematical function blocks: including addition, subtraction, multiplication, division and other mathematical operation function blocks, which are used to realize numerical calculation and data processing.

[0041] Timing function block: a function block used to set timing triggers, such as timing start, timing stop, etc.

[0042] The driver bus provides the ability to communicate with devices. Through the driver bus, developers can exchange data and communicate with various types of devices, including sensors, actuators, PLCs, etc. The driver bus is responsible for handling communication protocols, data transmission and device status management, simplifying the complexity of communicating with different devices. The driver bus can also collect data from devices in real time. Developers can configure and control parameters such as the frequency of data collection and the variables collected through the driver bus, thereby achieving real-time acquisition of device data. These data can be used for subsequent data processing, analysis, and the operation of control algorithms.

[0043] The driver bus can control the state and behavior of the device. Developers can send instructions and parameters through the driver bus to control the start, stop, adjustment and other operations of the device. The driver bus is responsible for passing control instructions to the corresponding device and monitoring the status feedback of the device to ensure that the device is controlled as expected. As an intermediate layer, the driver bus connects the development module and the target device, realizing data exchange and communication between the two. Through the driver bus, the development module can directly access and control the target device to achieve system integration and collaborative work. The driver bus provides a unified interface and protocol, which simplifies the workload of system development and maintenance. In short, the driver bus provided by the development module plays a role in connecting and managing devices in the industrial control program integrated development platform, realizes data exchange, communication and control with the device, and provides developers with a convenient development environment and tools.

[0044] In this embodiment, the specific process of using the development module for program development is as follows: In the industrial control program integrated development platform, select the option of importing the system configuration, and select the system configuration file generated by the configuration module for import. Generate program variables of the device program according to the device parameters and functional requirements defined in the system configuration. According to the type and function of the device, corresponding variables such as temperature, pressure, speed, etc. can be created. These variables will be used for data processing and control of the device program. According to the device connection mode and communication protocol defined in the system configuration, configure the bus configuration of the drive bus. According to the connection mode of the device, a suitable drive bus can be selected and corresponding communication parameters such as the IP address, port number, communication rate, etc. of the device can be configured. These configurations will be used for communication and data exchange between the drive bus and the device. Develop the device program according to the generated program variables and the bus configuration of the drive bus. In the device program, program variables can be used to implement data processing and control algorithms. Through the bus configuration of the drive bus, the device program can communicate and control with the device.

[0045] The debugging module can obtain the restrictions on program variables in the system configuration based on the system configuration file. These restrictions may include information such as the data type, value range, and unit of the variable. Monitor whether the program variables meet the restrictions of the system configuration. Program variables can be checked and verified in a programming way. For example, check whether the data type of the variable is correct and whether the value of the variable is within the allowed range. If the program variable does not meet the restrictions of the system configuration, it needs to be adjusted forcibly. Depending on the specific situation, the following measures can be taken: Modify the value of the program variable according to the requirements of the system configuration to make it meet the restrictions. Or generate error or warning information to prompt the developer to make corresponding adjustments.

[0046] In one embodiment, referring to Figure 2 The service layer includes device discovery service and device authentication service. The device discovery service is used to execute the device discovery service program to search and obtain the device description file of the target device through Ethernet. The device description file contains the basic device information, device IP information, device MAC information, device board information and device panel data of the target device. The device authentication service is used to execute the device authentication service program to verify the target device through the preset device authentication code, and obtain the device target code of the successfully verified target device, and establish a communication connection with the successfully verified target device.

[0047] In this embodiment, the device discovery service is a service that searches and obtains the device description file of the target device through Ethernet. The device discovery service program sends a search request through Ethernet broadcast or multicast to find the target device. The search request may contain a specific identifier or protocol for identifying the target device. After receiving the search request, if the target device meets the conditions of the request, it will send a device description file as a response. The device description file contains basic information of the target device, such as device model, manufacturer, etc. The device description file is a structured file that contains detailed information of the target device. It can include the device's IP address, MAC address, device board information, device panel data, etc. The format of the device description file can adopt a standard description language, such as XML or JSON.

[0048] Device authentication service is a service that verifies the target device through a preset device authentication code and establishes a communication connection. The device authentication code is a pre-set string of characters or numbers used to verify the identity of the target device. The authentication code can be unique, and each device has its own authentication code. The device authentication service program communicates with the target device and sends an authentication request, asking the target device to provide an authentication code. The target device compares the authentication request with its own authentication code. If the authentication code provided by the target device matches the preset authentication code, the authentication is successful. The authentication service program obtains the device target code of the target device for subsequent communication connections. After the device authentication is successful, the authentication service program establishes a communication connection with the target device. In this way, other system components or applications can exchange data and control the target device through this connection. Through the device discovery service and device authentication service, the industrial control program integrated development platform can automatically discover and identify the target device and ensure a secure and reliable communication connection with the target device. These services provide convenient device management and control means and improve the scalability and security of the system.

[0049] In one embodiment, referring to Figure 2 ,The service layer also includes the device operation service, which establishes a connection with the ,development module through the UDP protocol, and the device operation service establishes a connection with the ,target device through the device authentication service, and the device operation service is used to provide the ,operation environment of the device program, and receives the device program through the UDP protocol to ,run the device program in real time under the operation environment.

[0050] In this embodiment, the device operation service is an important technology in the industrial control program integrated development platform, which provides the operating environment of the device program and establishes a connection with the development module and the target device through the UDP protocol. The device operation service uses the UDP protocol to establish a connection with the development module. The UDP protocol is a connectionless transmission protocol that provides fast data transmission and real-time performance, which is suitable for the needs of real-time operation of device programs. The device operation service establishes a connection with the target device through the device authentication service. After the device authentication service completes the authentication of the target device, the device operation service can use the established connection to communicate with the target device. The device operation service provides the operating environment of the device program. It may include components such as an operating system, a runtime library, and a device driver to support the normal operation of the device program. The device operation service is responsible for managing and maintaining the operating environment of the device program to ensure that the device program can run in real time in a stable environment.

[0051] The device operation service receives the device program through the UDP protocol. The development module sends the device program to the device operation service through the UDP protocol. After receiving the device program, the device operation service loads it into the device program's operating environment and starts running the device program in real time. The device operation service is responsible for managing the running status of the device program, including operations such as start, stop, and pause. The device operation service ensures that the device program can run in real time by providing a real-time operating environment. Real-time performance is a key requirement in the industrial control program integrated development platform, because the device program usually needs to process and control real-time data. The device operation service provides a low-latency and high-responsiveness device program operating environment by optimizing the operating environment and real-time scheduling algorithm. Based on the device operation service, the industrial control program integrated development platform can realize the real-time operation of the device program and conduct efficient data exchange and communication with the development module and the target device. The device operation service provides a stable operating environment and real-time support to ensure that the device program can run and control reliably in the industrial control program integrated development platform.

[0052] In one embodiment, referring to Figure 2 ,The device operation service establishes a connection with the debugging module through the debugging protocol. ,The debugging module is also used to export the operation variables when the device operation service runs the device program, and monitor and / or force the adjustment of the operation variables.

[0053] In this embodiment, the device operation service uses a specific debugging protocol to establish a connection with the debugging module. The debugging protocol is a communication protocol used for debugging and monitoring device programs, which allows the device operation service to communicate with the debugging module in a two-way manner. When the device program is running, various variables such as sensor data, control parameters, status information, etc. are generated. These variables are called running variables, which reflect the real-time status and data of the device program. The device operation service communicates with the debugging module through the debugging protocol and derives the running variables from the running environment of the device program. In this way, the debugging module can obtain real-time data and status information when the device program is running.

[0054] The debugging module can monitor the exported operation variables to understand the operation status of the device program in real time. By monitoring the operation variables, the debugging module can check the correctness, performance and stability of the device program, and perform fault diagnosis and debugging. The debugging module can also force adjustments to the exported operation variables. By modifying the values ​​of the operation variables, the debugging module can simulate different working scenarios and test conditions to verify the behavior and response of the device program. This is very useful for debugging, testing and verifying the functions and performance of the device program. Through the connection with the debugging module and the export, monitoring and adjustment of the operation variables, the device operation service provides the debugging and monitoring functions of the device program. The debugging module can obtain the operation status of the device program in real time and perform related debugging, testing and verification operations. This technology helps to improve the quality and reliability of the device program and speed up the process of fault diagnosis and debugging.

[0055] In one embodiment, referring to Figure 2 The service layer also includes device maintenance services, and the development layer also includes maintenance modules. The device maintenance service establishes a connection with the maintenance module through a maintenance protocol. The device maintenance service establishes a connection with the target device through a device authentication service. The configuration module shares the system configuration with the maintenance module, and the development module shares the program variables with the maintenance module. The maintenance module is used to create a device maintenance program by combining the system configuration and the program variables. The device maintenance service receives the device maintenance program through the maintenance protocol to modify the device description file, and transmits the modified device description file to the target device.

[0056] In this embodiment, the device maintenance service is a key service technology in the industrial control program integrated development platform, which establishes a connection with the maintenance module through a maintenance protocol, and uses the maintenance module to combine system configuration and program variables to create a device maintenance program. The device maintenance service uses a specific maintenance protocol to establish a connection with the maintenance module. The maintenance protocol is a communication protocol for device maintenance and configuration, which allows the device maintenance service to communicate with the maintenance module in a two-way manner. The device maintenance program is created by the maintenance module in combination with the system configuration and program variables. The maintenance module uses the system configuration and program variables to generate the device maintenance program, which can be used to modify the device description file and perform other maintenance operations.

[0057] The configuration module shares the system configuration with the maintenance module. The configuration module is responsible for managing the configuration information of the system, such as device parameters, communication configuration, etc. It transmits the system configuration information to the maintenance module for use by the maintenance module. The development module shares the program variables with the maintenance module. The development module is responsible for managing the development and programming of device programs, and it transmits the program variables to the maintenance module for use by the maintenance module. Program variables may include sensor data, control parameters, status information, etc. The device maintenance service receives the device maintenance program through the maintenance protocol. The device maintenance program generated by the maintenance module may include modification operations on the device description file. After receiving the device maintenance program, the device maintenance service executes the modification operations therein and transmits the modified device description file to the target device.

[0058] Through the combination of device maintenance services and maintenance modules, the industrial control program integrated development platform can achieve maintenance and configuration of devices. The maintenance module can generate device maintenance programs based on system configuration and program variables, and transfer the modified device description files to the target device through the device maintenance service. This technology can help system administrators and maintenance personnel flexibly configure and maintain devices, improving the manageability and maintainability of the system.

[0059] In one embodiment, referring to Figure 2 ,The service layer also includes a device cloud service, which establishes a connection with the ,device maintenance service through a cloud service protocol, and the device cloud service is used to receive and store ,device description files and device maintenance programs through the ,device maintenance service.

[0060] In this embodiment, the device cloud service uses a specific cloud service protocol to establish a connection with the device maintenance service. The cloud service protocol is a protocol used for communication between devices and cloud services, which allows the device cloud service to communicate with the device maintenance service in both directions. The device cloud service receives the device description file through the device maintenance service. The device description file contains various information about the device, such as device configuration, parameter settings, communication protocol, etc. The device cloud service stores the received device description file in the cloud for subsequent management and analysis. The device cloud service receives the device maintenance program through the device maintenance service. The device maintenance program is generated by the maintenance module and is used to modify the device description file and perform other maintenance operations. The device cloud service stores the received device maintenance program in the cloud for future use.

[0061] The device cloud service needs to ensure the security of the received device description files and device maintenance programs. It may use encryption technology to protect the confidentiality of data, and take access control and authentication measures to ensure the integrity and availability of data. The device cloud service provides management and analysis functions for device description files and device maintenance programs. It can query, retrieve and analyze device description files and device maintenance programs stored in the cloud to support remote management and fault diagnosis of devices. Through the combination of device cloud services and device maintenance services, the industrial control program integrated development platform can realize the remote storage and management of device description files and device maintenance programs. The device cloud service provides a reliable data storage and management platform, providing convenient and flexible operation methods for equipment maintenance and management personnel. This technology helps to improve the remote manageability and maintainability of equipment, and supports data-driven decision making and fault diagnosis.

[0062] In one embodiment, referring to Figure 2 , the service layer also includes device diagnostic services, and the development layer also includes diagnostic modules. The device diagnostic service establishes a connection with the diagnostic module through the diagnostic calibration protocol, and the device diagnostic service establishes a connection with the target device through the device authentication service. The configuration module shares the system configuration with the diagnostic module, and the development module shares the program variables with the diagnostic module. The diagnostic module is used to provide a variable database, which pre-stores the historical operating variable data of different devices. The diagnostic module is also used to generate calibration data for the target device in combination with the system configuration and program variables. The device diagnostic service is used to execute the device diagnostic service program to obtain the device variables of the target device when executing the device program, and transmit the device variables to the diagnostic module. The diagnostic module is also used to perform data diagnosis on the device variables in combination with the historical operating variable data and calibration data after receiving the device variables, and generate diagnostic results.

[0063] In this embodiment, the device diagnostic service uses a specific diagnostic calibration protocol to establish a connection with the diagnostic module. The diagnostic calibration protocol is a communication protocol for device diagnosis and data transmission, which allows the device diagnostic service to communicate with the diagnostic module in a two-way manner. The diagnostic module provides a variable database in which historical operating variable data of different devices are pre-stored. These historical operating variable data can be used to compare and analyze with the real-time variables of the target device to perform device diagnosis. The diagnostic module generates calibration data for the target device in combination with the system configuration and program variables. The calibration data is generated based on the characteristics and operating conditions of the device, and it can be used to compare and analyze the real-time variables of the target device with the historical operating variable data to perform device diagnosis.

[0064] The configuration module shares the system configuration with the diagnostic module. The configuration module is responsible for managing the system configuration information, such as device parameters, communication configuration, etc. It transmits the system configuration information to the diagnostic module for use by the diagnostic module. The development module shares the program variables with the diagnostic module. The development module is responsible for managing the development and programming of the device program, and it transmits the program variables to the diagnostic module for use by the diagnostic module. Program variables can include sensor data, control parameters, status information, etc.

[0065] The device diagnostic service executes the device diagnostic service program to obtain the device variables of the target device when the device program is executed. The device diagnostic service establishes a connection with the target device through the device authentication service and obtains the real-time device variables from the target device.

[0066] After the diagnostic module receives the device variables, it will compare and analyze the received device variables with the historical operating variable data. The historical operating variable data is the variable data recorded during the normal operation of the device, which represents the typical performance of the device under different operating conditions. By comparing with the historical operating variable data, the diagnostic module can detect whether the device variables are within the normal range and whether there are abnormalities or abnormal trends. The diagnostic module will compare the received device variables with the calibration data. The calibration data is generated based on the characteristics and operating conditions of the device, and they represent the theoretical performance of the device under different operating conditions. By comparing with the calibration data, the diagnostic module can evaluate whether the actual performance of the device meets expectations and whether there are deviations or instabilities.

[0067] Based on the comparison and analysis of historical operating variable data and the comparison with calibration data, the diagnostic module can judge the operating status and performance of the target device. It can detect whether the device is in normal working condition, whether there are faults or abnormal conditions, and whether the performance of the device reaches the expected level. The diagnostic module generates corresponding diagnostic results based on the comparison and analysis results of the device variables and the judgment of the operating status and performance. The diagnostic results can include information such as the health status of the device, the type and location of the fault, and the performance evaluation. These diagnostic results can be used for equipment maintenance and troubleshooting, as well as system operation optimization and improvement. By combining historical operating variable data and calibration data to perform data diagnosis on the device variables, the diagnostic module can achieve real-time monitoring and diagnosis of the target device. This technology helps to improve the reliability and maintainability of the equipment, reduce downtime, and support predictive maintenance and optimize operation and maintenance decisions. Through the combination of equipment diagnostic services and diagnostic modules, the industrial control program integrated development platform can achieve real-time diagnosis and fault detection of equipment. The diagnostic module uses historical operating variable data and calibration data to analyze and compare the real-time variables of the target device to determine the operating status and performance of the device. This technology helps improve equipment reliability and maintainability and supports failure prediction and preventive maintenance.

[0068] In one embodiment, referring to Figure 3 ,The industrial control program integrated development system also includes a ,device cloud platform, which establishes communication and interactive ,connections with the development layer and the service layer respectively. ,The device cloud platform provides a reliable data storage and ,management platform. The protocols, data, accounts and other information in the development layer and ,service layer can be stored in the device cloud platform.

[0069] The present invention also discloses an industrial control program integrated development system, which is a hardware system used to carry the industrial control program integrated development platform in any one of the above implementation modes.

[0070] The invention also discloses an intelligent device, which includes an industrial control program integrated development system.

[0071] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of protection of the present application is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present application as above, which are not provided in detail for the sake of simplicity.

[0072] One or more embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the present application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present application should be included in the protection scope of the present application.

Claims

1. An industrial control program integrated development platform, the development platform includes a development layer and a service layer, characterized in that: The development layer is used to develop device programs for the target device, and the service layer is used to provide underlying service programs to achieve communication and interaction between the development layer and the target device. The development layer includes a configuration module, a development module, and a debugging module, wherein: The configuration module is used to generate a system configuration, which includes a network topology configuration, a device configuration, and a device variable configuration. The configuration module shares the generated system configuration with the development module; The development module is used to provide an algorithm library, a function block library and a drive bus for interacting with the device, generate program variables of the device program and configure the bus configuration of the drive bus by importing the system configuration generated by the configuration module, and the development module shares the program variables with the debugging module; The debugging module is used to monitor the program variables and force adjustment of the program variables based on the limitations of the system configuration.

2. The industrial control program integrated development platform according to claim 1, characterized in that: The service layer includes a device discovery service and a device authentication service. The device discovery service is used to execute a device discovery service program to search for and obtain a device description file of the target device through Ethernet. The device description file contains basic device information, device IP information, device MAC information, device board information and device panel data of the target device. The device authentication service is used to execute a device authentication service program to verify the target device through a preset device authentication code, obtain the device target code of the successfully verified target device, and establish a communication connection with the successfully verified target device.

3. The industrial control program integrated development platform according to claim 2, characterized in that: The service layer also includes a device operation service, which establishes a connection with the development module through the UDP protocol. The device operation service establishes a connection with the target device through the device authentication service. The device operation service is used to provide an operating environment for the device program, and receives the device program through the UDP protocol to run the device program in real time under the operating environment.

4. The industrial control program integrated development platform according to claim 3, characterized in that: The device operation service establishes a connection with the debugging module through a debugging protocol. The debugging module is also used to export the operation variables when the device operation service runs the device program, and monitor and / or forcibly adjust the operation variables.

5. The industrial control program integrated development platform according to claim 2, characterized in that: The service layer further includes a device maintenance service, the development layer further includes a maintenance module, the device maintenance service establishes a connection with the maintenance module through a maintenance protocol, the device maintenance service establishes a connection with the target device through a device authentication service, the configuration module shares the system configuration with the maintenance module, and the development module shares the program variables with the maintenance module; The maintenance module is used to create a device maintenance program in combination with the system configuration and the program variables. The device maintenance service receives the device maintenance program through the maintenance protocol to modify the device description file, and transmits the modified device description file to the target device.

6. The industrial control program integrated development platform according to claim 5, characterized in that: The service layer also includes a device cloud service, which establishes a connection with the device maintenance service through a cloud service protocol, and the device cloud service is used to receive and store the device description file and the device maintenance program through the device maintenance service.

7. The industrial control program integrated development platform according to claim 2, characterized in that: The service layer further includes a device diagnostic service, the development layer further includes a diagnostic module, the device diagnostic service establishes a connection with the diagnostic module through a diagnostic calibration protocol, the device diagnostic service establishes a connection with the target device through a device authentication service, the configuration module shares the system configuration with the diagnostic module, and the development module shares the program variables with the diagnostic module; The diagnostic module is used to provide a variable database, in which historical operation variable data of different devices are pre-stored, and the diagnostic module is also used to generate calibration data of the target device in combination with the system configuration and the program variables; The device diagnostic service is used to execute a device diagnostic service program to obtain device variables of the target device when executing the device program, and transmit the device variables to the diagnostic module; The diagnosis module is further used to perform data diagnosis on the device variables after receiving the device variables in combination with the historical operation variable data and the calibration data, and generate a diagnosis result.

8. The industrial control program integrated development platform according to claim 1, characterized in that: The development module supports IEC61131-3 language, C language and C++ language to develop the device program.

9. An industrial control program integrated development system, characterized in that: The system is used to carry the industrial control program integrated development platform described in any one of claims 1 to 8.

10. A smart device, characterized in that: The device includes the industrial control program integrated development system described in claim 9.