CN117970863A - Remote management device configuration method, remote management device, and readable storage medium - Google Patents
Remote management device configuration method, remote management device, and readable storage medium Download PDFInfo
- Publication number
- CN117970863A CN117970863A CN202410129960.1A CN202410129960A CN117970863A CN 117970863 A CN117970863 A CN 117970863A CN 202410129960 A CN202410129960 A CN 202410129960A CN 117970863 A CN117970863 A CN 117970863A
- Authority
- CN
- China
- Prior art keywords
- data
- remote management
- configuration
- parameter information
- plc
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 80
- 238000007726 management method Methods 0.000 claims description 134
- 238000003745 diagnosis Methods 0.000 claims description 30
- 238000013523 data management Methods 0.000 claims description 23
- 230000006870 function Effects 0.000 claims description 23
- 238000007781 pre-processing Methods 0.000 claims description 14
- 230000000737 periodic effect Effects 0.000 claims description 10
- 230000008569 process Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 9
- 238000012545 processing Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011423 initialization method Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/054—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/10—Plc systems
- G05B2219/11—Plc I-O input output
- G05B2219/1138—Configuration of I-O
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
Abstract
The application discloses a remote management device configuration method, remote management device and readable storage medium, relating to the technical field of industrial automation, wherein the remote management device configuration method comprises the following steps: judging whether first parameter information sent by an upper computer is received or not when PLC configuration information in remote management equipment is invalid; if yes, the first parameter information is issued to an application layer; and if not, the second parameter information sent by the PLC host is issued to the application layer, wherein the data types of the first parameter information and the second parameter information comprise configuration data. The application can solve the technical problem that the parameter configuration efficiency of the remote management equipment is affected when the PLC host and the remote management equipment are not matched in the prior art.
Description
Technical Field
The present application relates to the field of industrial automation technology, and in particular, to a remote management device configuration method, a remote management device, and a computer readable storage medium.
Background
With the rapid development of industrial automation technology, various types of PLC (Programmable Logic Controller ) hosts are beginning to be applied to industrial control scenarios, and the massive use of remote IO (Input/Output) devices increases the demands for management and configuration of remote management devices (e.g., remote IO devices). When configuring a remote management device, parameters of the remote management device connected to the remote management device are typically configured through a PLC host.
Because relevant constraint conditions respectively corresponding to different manufacturers and different types of PLC hosts are inconsistent, configuration parameters of one remote IO device cannot be adapted to different types of PLC hosts. Because the types of the PLC hosts are quite various, when the remote IO devices are matched with the PLC hosts to be used in an industrial control scene, the implementation modes of the configuration parameters issued on the different types of the PLC hosts are inconsistent, so that the compatibility of the PLC hosts and the remote IO devices is poor, and even the phenomenon that the PLC hosts cannot configure the remote IO devices occurs.
Disclosure of Invention
The application mainly aims to provide a remote management device configuration method, remote management device and computer readable storage medium, and aims to solve the technical problem that parameter configuration efficiency of the remote management device is affected when a PLC host is not matched with the remote management device.
In order to achieve the above object, the present application provides a remote management device configuration method applied to a remote management device, where the remote management device is connected to an upper computer and a PLC host respectively, the remote management device configuration method includes:
Judging whether first parameter information sent by an upper computer is received or not when PLC configuration information in remote management equipment is invalid;
If yes, the first parameter information is issued to an application layer;
And if not, the second parameter information sent by the PLC host is issued to the application layer, wherein the data types of the first parameter information and the second parameter information comprise configuration data.
Optionally, before the step of determining whether the first parameter information sent by the upper computer is received when the PLC configuration information in the remote management device is invalid, the method further includes:
acquiring module information of the remote management equipment;
Generating a periodic data space, wherein the periodic data space at least comprises a configuration parameter table and a process table, and the configuration parameter table is used for storing the module information;
judging whether PLC configuration information in the remote management equipment is valid or not;
and if the PLC configuration information is valid, backing up the PLC configuration information to a flash memory space.
Optionally, the remote management device configuration method further includes:
When the second parameter information sent by the PLC host is not received, determining the data type of the first parameter information sent by the upper computer;
If the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
If the data type is configuration data, the configuration data is issued to the application layer and backed up to the flash memory space;
And if the data type is real-time data, the real-time data is issued to the application layer.
Optionally, the remote management device is further connected to a web end, and the remote management device configuration method further includes:
When the second parameter information sent by the PLC host is not received, determining the data type of third parameter information sent by the web terminal;
If the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
If the data type is configuration data, judging whether the configuration data sent by the PLC host is valid or not;
If the configuration data is valid, discarding the configuration data sent by the web terminal;
And if not, the configuration data sent by the web terminal is issued to the application layer and backed up to the flash memory space.
Optionally, after the step of determining the data type of the third parameter information sent by the web end, the method further includes:
if the data type is real-time data, judging whether the real-time data sent by the PLC host is valid or not;
If the real-time data is effective, discarding the real-time data sent by the web terminal;
and if not, transmitting the real-time data transmitted by the web terminal to the application layer.
The application also provides a remote management equipment configuration method, which is applied to the data preprocessing equipment, wherein one end of the data preprocessing equipment is connected with the remote management equipment, and the other end of the data preprocessing equipment is respectively connected with the upper computer, the PLC host and the web end, and the remote management equipment configuration method comprises the following steps:
when receiving data to be transmitted by the remote management equipment, determining the data type of the data to be transmitted;
if the data type is a diagnosis data request, backing up log information corresponding to the diagnosis data request in a flash memory space;
And if the data type is configuration data or real-time data, the configuration data or the real-time data is sent to an upper computer, a PLC host and/or a web terminal.
The present application also provides a remote management apparatus including:
the first functional module is connected with the upper computer and is used for receiving first parameter information sent by the upper computer;
The second functional module is connected with the PLC host and is used for receiving second parameter information sent by the PLC;
The third functional module is connected with the web end and is used for receiving third parameter information sent by the web end;
the data management module is respectively connected with the first functional module, the second functional module and the third functional module and is used for transmitting the parameter information in each functional module to an application layer.
Optionally, the data management module includes a flash memory space and a RAM space, wherein the flash memory space is used for storing backup configuration data and log information, and the RAM space is used for storing real-time data.
Optionally, the remote management device further includes an application layer, where the application layer includes:
the diagnosis function module is used for receiving the log information issued by the data management module;
the configuration function module is used for receiving the configuration data issued by the data management module;
and the real-time data module is used for receiving the real-time data issued by the data management module.
The application also provides an electronic device, which is entity equipment, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the remote management device configuration method as described above.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing a remote management apparatus configuration method, which when executed by a processor implements the steps of the remote management apparatus configuration method as described above.
The application also provides a computer program product comprising a computer program which when executed by a processor implements the steps of a remote management device configuration method as described above.
The application provides a remote management device configuration method, remote management device and computer readable storage medium, in the remote management device configuration method, firstly, when PLC configuration information in the remote management device is invalid, whether first parameter information sent by an upper computer is received or not is judged, if yes, the first parameter information is sent to an application layer, and otherwise, second parameter information sent by a PLC host is sent to the application layer, wherein the data types of the first parameter information and the second parameter information comprise configuration data.
According to the technical scheme, the remote management equipment is connected with the upper computer and the PLC host respectively, parameter information sent by the upper computer or the PLC host is received when parameter configuration is needed, and the parameter information is sent to the application layer to realize parameter configuration.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic flow chart of an embodiment of a remote management device configuration method applied to a remote management device;
FIG. 2 is a flowchart illustrating steps performed when second parameter information of the PCL host is not received in an embodiment of a remote management device configuration method according to the present application;
FIG. 3 is a schematic flow chart of an embodiment of a remote management device configuration method applied to a data preprocessing device;
fig. 4 is a schematic diagram of a composition structure of a remote management device according to an embodiment of the present application;
FIG. 5 is a schematic diagram of the composition structure of a data management module according to an embodiment of the present application;
Fig. 6 is a schematic device structure diagram of a hardware operating environment related to a remote management device configuration method in an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that embodiments of the application may be practiced in other embodiments, which depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the embodiments of the present application with unnecessary detail.
It should be noted that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
It should also be appreciated that references to "one embodiment" or "some embodiments" or the like described in the specification of an embodiment of the present application mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the embodiment of the application, along with the rapid development of industrial automation technology, the PLC hosts are all in charge of each other, the requirement for management and configuration of the remote IO devices is increased due to the fact that the related constraint conditions of all the PLC hosts are inconsistent, and the parameter configuration of the remote IO devices cannot be adapted to all the PLC hosts, so that parameters corresponding to the PLC hosts need to be carried out on the remote IO devices. The variety of the PLC hosts is quite various, and the implementation modes of the configuration parameters issued on various PLC hosts are quite non-uniform when the remote IO devices are matched with the PLC hosts for use, and even the phenomenon that standard configuration management functions cannot be realized on some PLC hosts occurs. Therefore, a solution is needed to solve the problem that the third party PLC cannot configure, manage, monitor and diagnose the universal remote IO.
The embodiment of the application provides a remote management device configuration method, a remote management device and a computer readable storage medium, and specifically, the following embodiment is used for explaining, and first describes the remote management device configuration method in the embodiment of the application.
Referring to fig. 1, in a first embodiment of the remote management device configuration method of the present application, the remote management device configuration method is applied to a remote management device, the remote management device is respectively connected to a host computer and a PLC host, and the remote management device configuration method includes:
step S10, judging whether first parameter information sent by an upper computer is received or not when PLC configuration information in remote management equipment is invalid;
In the technical solution of the embodiment of the present application, the remote management device may be a remote IO device, or may be a servo driver, a frequency converter, an actuator, or an intelligent sensor. The remote management device comprises a plurality of functional modules, and illustratively, the remote management device comprises a first functional module, a configuration data link of an upper computer and a second functional module, wherein the configuration data link of the upper computer is used for receiving first parameter information sent by the upper computer, and the data link between the PLC hosts (or main controllers) is provided. The first functional module CAN interact data with the PC upper computer or the touch screen through communication links such as USB, serial ports, TCP/IP, 232, 485, CAN, modbus and the like. The second functional module can realize a data interaction function with the PLC or the main controller through an industrial bus. The PLC configuration information in the remote management device may be obtained through the first functional module or may be obtained through the second functional module, which is not limited herein.
In another possible embodiment, the remote management device may also be remotely connected to a device with an HMI (Human MACHINE INTERFACE, human-machine interaction) interface or a touch screen, so as to further enrich the parameter configuration and data management channels of the remote management device.
It can be understood that after the remote management device is powered on, whether the existing PLC configuration information is valid is first determined, and if so, the PLC configuration information is directly backed up to the Flash memory space applied in advance. If the PLC configuration information is invalid, whether the first module receives the first parameter information sent by the upper computer is judged, so that the PLC configuration information of the message is obtained under the condition that the PLC configuration information is invalid.
Step S20, if yes, the first parameter information is issued to an application layer;
in step S20, when it is determined that the first module has received the first parameter information sent by the upper computer, the configuration data in the first parameter information may be used as data for performing parameter configuration on the remote IO device, and sent to the configuration function module in the application layer, so as to complete the parameter configuration process on the remote IO device.
Step S30, if not, the second parameter information sent by the PLC host is issued to the application layer, wherein the data types of the first parameter information and the second parameter information comprise configuration data.
In step S30, when the first functional module does not receive the first parameter information sent by the upper computer, it may be first determined whether the second functional module receives the second parameter information sent by the PLC host, and when the second functional module receives the second parameter information sent by the PLC host, the second functional module uses the second parameter information as data for performing parameter configuration on the remote IO device, and issues the data to the configuration functional module in the application layer, so as to complete the parameter configuration process on the remote IO device. It can be understood that if the second function module does not receive the second parameter information or the second parameter information received by the second function module is invalid, the parameter configuration cannot be performed.
In addition, it should be noted that the first parameter information and the second parameter information may be one or more of configuration data, diagnostic data request, or real-time data, and the descriptions of "first" and "second" are merely sources of the parameter information, and the content of the first parameter information and the content of the second parameter information have substantially no obvious category distinction.
According to the technical scheme, the remote management equipment is connected with the upper computer and the PLC host, parameter information sent by the upper computer or the PLC host is received when parameter configuration is needed, and the parameter information is sent to the application layer to realize parameter configuration.
In some possible embodiments, before the step of determining whether the first parameter information sent by the upper computer is received when the PLC configuration information in the remote management device is invalid, the method may further include:
Step A10, module information of the remote management equipment is obtained;
Step A20, generating a periodic data space, wherein the periodic data space at least comprises a configuration parameter table and a process table, and the configuration parameter table is used for storing the module information;
Step A30, judging whether PLC configuration information in the remote management equipment is valid or not;
And step A40, if the PLC configuration information is valid, backing up the PLC configuration information to a flash memory space.
In the embodiment of the application, after the remote management device is powered on and started, before judging whether the configuration information of the PLC device is effective, the information of a module ID (Identity document, identity) corresponding to the remote management device needs to be acquired, wherein the module ID comprises information such as a product ID, a single board ID, a chip ID and the like. After the module ID information is acquired, a corresponding periodic data space is generated, wherein the periodic data space comprises a configuration parameter table and a process table, the configuration parameter table is used for storing module information, configuration information and the like, and the process table is used for storing log information, interactive data, real-time data and the like in the using process of the equipment.
After the module ID information is obtained and the storage space is allocated, a piece of storage space is applied from the Flash space for storing the log and the configuration information, and whether the PLC configuration information is effective is judged. Whether the PLC configuration information is valid mainly depends on whether the PLC configuration information in the current remote IO device can be normally executed as an instruction, whether the working requirement of the currently connected PLC host can be met, if not, the PLC configuration information is determined to be invalid, and parameter information sent by the first functional module or the second functional module needs to be continuously acquired to perform parameter configuration on the remote IO device.
The technical scheme of the embodiment of the application provides an initialization method after the remote management equipment is started, which is mainly used for initializing the module ID information of the remote management equipment, opening up a corresponding storage space, and only needing to backup the PLC configuration information without continuously executing parameter configuration steps under the condition that the PLC configuration information is effective.
In some possible embodiments, referring to fig. 2, the remote management device configuration method may further include:
Step S40, when the second parameter information sent by the PLC host is not received, determining the data type of the first parameter information sent by the upper computer;
step S41, if the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
step S42, if the data type is configuration data, the configuration data is issued to the application layer and backed up to the flash memory space;
step S43, if the data type is real-time data, the real-time data is issued to the application layer.
It should be noted that, in the embodiment of the present application, the situation that the second parameter information sent by the PLC host is not received may be caused by that the PLC host is not adapted to the remote management device (remote IO device), so that the parameter configuration cannot be performed on the remote IO device by the PLC host. In this case, the remote management device may acquire the parameter information through the first functional module connected to the upper computer, where the remote management device may be connected to the upper computer wirelessly or by wire, and the remote management device and the upper computer are not necessarily located at the same location, so as to implement remote parameter configuration for the remote IO device. In addition, in step S40 to step S43, when the data type is not the configuration data, the method is not required to be executed when the PLC configuration information is invalid, and the user can remotely send a diagnostic data request, real-time data and the like to the remote IO device through the upper computer or the web terminal according to the requirement, so as to realize the data interaction with the remote IO device.
Specifically, the data type of the first parameter information may be one of a diagnostic data request, configuration data and real-time data, where the diagnostic data request is an instruction output by a user through an upper computer, a PLC host, a web end, or the like and used for requesting diagnostic information to a remote IO device, the configuration data is used for performing parameter configuration on the remote IO device, and the real-time data is interactable data generated in the influence of the PLC host and the remote IO device, and is equivalent to periodic data refreshed in real time. When the first parameter information belongs to different data types, the adopted processing modes are different, wherein when a diagnosis data request is received, the corresponding log information is required to be read from the logs stored in the flash memory space and fed back to a user; when the configuration data is received, the configuration data is issued to a configuration function module in the application layer to complete parameter configuration; when the real-time data is received, the real-time data is issued to a real-time data module in an application layer, and the real-time data is fed back to a user.
In addition, when the data types are configuration data and real-time data, the data types need to be stored in the Flash memory space in a backup manner in addition to being sent to the application layer.
In the embodiment of the application, the method for realizing parameter configuration, log uploading, acquisition of diagnostic information and the like by the upper computer remotely connected with the remote IO equipment is provided under the condition that the PLC host cannot perform parameter configuration, diagnosis data request and real-time data request for the remote IO equipment, the configuration flexibility, integrity, tightness and diagnosis efficiency of the remote IO equipment are effectively improved, the development requirement of a future remote IO system can be well met, and the functions of complete and rapid configuration diagnosis and the like can be continuously performed on complex modules.
In some possible embodiments, the remote management device is further connected to a web end, and referring to fig. 2, the remote management device configuration method may further include:
Step S50, when the second parameter information sent by the PLC host is not received, determining the data type of the third parameter information sent by the web terminal;
Step S51, if the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
step S52, if the data type is configuration data, judging whether the configuration data sent by the PLC host is valid or not;
Step S53, if the configuration data sent by the web terminal is valid, the configuration data sent by the web terminal is abandoned;
And step S54, if invalid, the configuration data sent by the web terminal is issued to the application layer and backed up to the flash memory space.
In the embodiment of the application, the remote management equipment can also be connected with the web end remotely through the third functional module, and particularly, the remote management equipment and the web end server are in data communication and transmission in a wireless connection mode, so that the remote parameter configuration, diagnosis, log uploading and the like of the remote IO equipment are realized, the flexibility of configuration and control of the remote IO equipment is further improved through the web end, and a user can manage the remote IO equipment at any time and any place. When the upper computer and the web terminal both transmit the parameter information of the same data type, the priority of the upper computer is higher than that of the web terminal. In the execution sequence of steps S50 to S54, steps S40 to S43 are executed in parallel. Specifically, the data type of the third parameter information may be one of a diagnostic data request and configuration data, and when the third parameter information belongs to different data types, the adopted processing mode is different, wherein when the diagnostic data request is received, the corresponding log information needs to be read from the log stored in the flash memory space and fed back to the user; when the configuration data is received, whether the first functional module acquires the configuration data sent by the PLC host or not and whether the configuration data is valid or not is required to be judged, and when the configuration data sent by the PLC host is valid, the step S53 is executed and the step S42 is executed in a return mode based on the configuration data sent by the PLC host; and if the configuration data sent by the PLC host is invalid, step S54 is executed to issue the configuration data to the configuration function module in the application layer to complete the parameter configuration.
Further, in a possible embodiment, after the step of determining the data type of the third parameter information sent by the web side, referring to fig. 2, the method may further include:
Step S55, if the data type is real-time data, judging whether the real-time data sent by the PLC host is valid or not;
step S56, if the real-time data sent by the web terminal is valid, discarding the real-time data sent by the web terminal;
and step S57, if the real-time data sent by the web terminal is invalid, the real-time data is sent to the application layer.
When the data type is real-time data, the processing mode is similar to the configuration data, whether the first functional module acquires the real-time data sent by the PLC host or not and whether the real-time data is valid is judged, and when the real-time data sent by the PLC host is valid, the step S56 is executed based on the real-time data sent by the PLC host, and the step S43 is executed in a return mode; and if the configuration data sent by the PLC host is invalid, step S57 is executed to issue the real-time data to the real-time function module in the application layer to feed back the real-time data to the user.
The embodiment of the application provides a method for carrying out parameter configuration and data management of remote IO equipment on the remote IO equipment through an upper computer and a web terminal, which further improves the flexibility of the remote IO equipment, and can remotely send corresponding parameter information to the remote IO equipment in the form of the web terminal when the parameter configuration, log uploading and the acquisition of diagnostic information of the remote IO equipment cannot be normally carried out in other channels. And when the upper computer and the web end simultaneously send parameter information of the same data type, a data selection and data discarding method according to priority order is provided, so that collision is avoided.
In addition, the embodiment of the application also provides a configuration method of the remote management device, which is applied to the data preprocessing device, wherein one end of the data preprocessing device is connected with the remote management device, and the other end of the data preprocessing device is respectively connected with the upper computer, the PLC host and the web end, and referring to fig. 3, the configuration method of the remote management device comprises the following steps:
step A10, when receiving data to be transmitted by the remote management equipment, determining the data type of the data to be transmitted;
step A20, if the data type is a diagnosis data request, backing up log information corresponding to the diagnosis data request in a flash memory space;
And step A30, if the data type is configuration data or real-time data, the configuration data or the real-time data is sent to an upper computer, a PLC host and/or a web terminal.
The foregoing embodiments mainly describe a data management method when the remote management device receives parameter information sent by other devices through each functional module, and the embodiments mainly describe a method for preprocessing data when the remote management device sends own data to the other devices, where the other devices include one or more of a host computer, a PLC host, a web terminal, a touch screen device, or an HMI device. It CAN be understood that the data preprocessing device is located between the communication links of the remote management device and other devices, and before the remote management device needs to send data, the data is processed by the data preprocessing device and then output to the communication links of the industrial bus, the USB (Universal Serial Bus ), the serial port, the TCP (Transmission Control Protocol )/IP (Internet Protocol internet protocol), 232, 485, the CAN (Controller Area Network, the control local area network bus) or the Modbus (serial communication protocol) to complete data interaction with other devices.
Specifically, firstly, data sent by a remote IO device is received through the data preprocessing device, then the type of the data to be sent is judged, when the data to be sent is a diagnosis data request, log information corresponding to the diagnosis data request is backed up in a Flash memory space, and when the data to be sent is configuration data or real-time data, the configuration data or the real-time data is directly transmitted to links (including an industrial bus and other communication links in a wired or wireless form) with other devices, so that data interaction is completed.
In addition, an embodiment of the present application further provides a remote management device, referring to fig. 4, where the remote management device includes:
the first functional module is connected with the upper computer and is used for receiving first parameter information sent by the upper computer;
The second functional module is connected with the PLC host and is used for receiving second parameter information sent by the PLC;
The third functional module is connected with the web end and is used for receiving third parameter information sent by the web end;
the data management module is respectively connected with the first functional module, the second functional module and the third functional module and is used for transmitting the parameter information in each functional module to an application layer.
It should be noted that, the first functional module may perform data interaction with the upper computer or the touch screen through a communication link such as USB, serial port, TCP/IP, 232, 485, CAN, modbus, etc., so as to obtain configuration data and diagnostic data request input by the user through the upper computer or the touch screen, the second functional module may implement a data interaction function with the PLC host or the master controller through an industrial bus, and the third functional module may establish data interaction with the web terminal (server) through TCP/IP communication, so that the user may implement parameter configuration and data management for the remote management device in any place where there is a network. The information of periodic data, aperiodic data, configuration data, diagnosis data, upgrade data, log files and the like of the whole remote management device can be configured and read through the three functional modules.
In addition, the data management module is mainly used for further processing and managing parameter information, data and the like received by each functional module, and comprises the functions of judging whether the parameter information and the data are valid, determining the data type and the like, and sending the parameter information received from each functional module to the module of the application layer, so that the functions of parameter configuration, diagnosis information request, real-time data feedback and the like of the remote management equipment are realized.
Further, in a possible embodiment, referring to fig. 5, the data management module includes a Flash space (i.e., a Flash space) for storing backup configuration data and log information, and a RAM (Random Access Memory ) space for storing real-time data, which is equivalent to a ROM (Read-Only Memory).
Further, in a possible embodiment, referring to fig. 4, the remote management device further includes an application layer, where the application layer includes:
the diagnosis function module is used for receiving the log information issued by the data management module;
the configuration function module is used for receiving the configuration data issued by the data management module;
and the real-time data module is used for receiving the real-time data issued by the data management module.
It can be understood that the application layer includes a plurality of modules for executing the actual landing function, specifically includes a diagnostic function module for implementing the diagnostic function, a configuration function module for performing parameter configuration, and a real-time data module for real-time verse interaction, where the three modules are all connected with the data management module, and directly receive parameter information (including log information, configuration data, and real-time data) issued by the data management module.
The remote management equipment provided by the application solves the technical problem that the parameter configuration efficiency of the remote management equipment is affected when the PLC host and the remote management equipment are not matched in the prior art by adopting the remote management equipment configuration method in the embodiment. Compared with the prior art, the remote management device configuration apparatus provided by the embodiment of the present application has the same advantages as the remote management device configuration method provided by the above embodiment, and other technical features of the remote management device configuration apparatus are the same as those disclosed in the method of the previous embodiment, which is not described herein.
In addition, an embodiment of the present application further provides an electronic device, including: at least one processor; and a memory communicatively linked to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the remote management device configuration method in the first embodiment.
Referring now to fig. 6, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal DIGITAL ASSISTANT, personal digital assistants), PADs (tablet computers), PMPs (Portable MEDIA PLAYER, portable multimedia players), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 6, the electronic apparatus may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which may perform various appropriate actions and processes according to a program stored in a read only memory 1002 (ROM) or a program loaded from a storage device 1003 into a random access memory 1004 (RAM, random access memory). In the RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1004, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also linked to bus 1005.
In general, the following systems may be linked to the I/O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, and the like; output devices 1008 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage device 1003 including, for example, a magnetic tape, a hard disk, and the like; and communication means 1009. The communication means 1009 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the application adopts the remote management equipment configuration method in the embodiment, and solves the technical problem that the parameter configuration efficiency of the remote management equipment is affected when the PLC host and the remote management equipment are not matched in the prior art. Compared with the prior art, the electronic device provided by the embodiment of the present application has the same beneficial effects as the remote management device configuration method provided by the first embodiment, and other technical features of the electronic device are the same as the features disclosed by the method of the previous embodiment, which are not described in detail herein.
In addition, the embodiment of the application further provides a computer readable storage medium, which can be a nonvolatile computer readable storage medium, and a computer program is stored on the computer readable storage medium, and the computer program is executed by a processor to implement the remote management device configuration method provided in any one of the above embodiments.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiments of the present application have been described in detail, the embodiments of the present application are not limited to the above-described embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the embodiments of the present application, and these equivalent modifications or substitutions are included in the scope of the embodiments of the present application as defined in the appended claims.
Claims (10)
1. The remote management equipment configuration method is characterized by being applied to remote management equipment, wherein the remote management equipment is respectively connected with an upper computer and a PLC host, and the remote management equipment configuration method comprises the following steps:
Judging whether first parameter information sent by an upper computer is received or not when PLC configuration information in remote management equipment is invalid;
If yes, the first parameter information is issued to an application layer;
And if not, the second parameter information sent by the PLC host is issued to the application layer, wherein the data types of the first parameter information and the second parameter information comprise configuration data.
2. The remote management apparatus configuration method according to claim 1, wherein, when the PLC configuration information in the remote management apparatus is invalid, before the step of determining whether the first parameter information transmitted by the host computer is received, the method further comprises:
acquiring module information of the remote management equipment;
Generating a periodic data space, wherein the periodic data space at least comprises a configuration parameter table and a process table, and the configuration parameter table is used for storing the module information;
judging whether PLC configuration information in the remote management equipment is valid or not;
and if the PLC configuration information is valid, backing up the PLC configuration information to a flash memory space.
3. The remote management apparatus configuration method according to claim 2, wherein the remote management apparatus configuration method further comprises:
When the second parameter information sent by the PLC host is not received, determining the data type of the first parameter information sent by the upper computer;
If the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
If the data type is configuration data, the configuration data is issued to the application layer and backed up to the flash memory space;
And if the data type is real-time data, the real-time data is issued to the application layer.
4. The remote management apparatus configuration method according to claim 3, wherein the remote management apparatus is further connected to a web side, the remote management apparatus configuration method further comprising:
When the second parameter information sent by the PLC host is not received, determining the data type of third parameter information sent by the web terminal;
If the data type is a diagnosis data request, returning log information corresponding to the diagnosis data request from the flash memory space;
If the data type is configuration data, judging whether the configuration data sent by the PLC host is valid or not;
If the configuration data is valid, discarding the configuration data sent by the web terminal;
And if not, the configuration data sent by the web terminal is issued to the application layer and backed up to the flash memory space.
5. The remote management apparatus configuration method according to claim 4, wherein after the step of determining the data type of the third parameter information transmitted by the web side, the method further comprises:
if the data type is real-time data, judging whether the real-time data sent by the PLC host is valid or not;
If the real-time data is effective, discarding the real-time data sent by the web terminal;
and if not, transmitting the real-time data transmitted by the web terminal to the application layer.
6. The configuration method of the remote management equipment is characterized by being applied to the data preprocessing equipment, wherein one end of the data preprocessing equipment is connected with the remote management equipment, and the other end of the data preprocessing equipment is respectively connected with an upper computer, a PLC host and a web end, and the configuration method of the remote management equipment comprises the following steps:
when receiving data to be transmitted by the remote management equipment, determining the data type of the data to be transmitted;
if the data type is a diagnosis data request, backing up log information corresponding to the diagnosis data request in a flash memory space;
And if the data type is configuration data or real-time data, the configuration data or the real-time data is sent to an upper computer, a PLC host and/or a web terminal.
7. A remote management apparatus, characterized in that the remote management apparatus comprises:
the first functional module is connected with the upper computer and is used for receiving first parameter information sent by the upper computer;
The second functional module is connected with the PLC host and is used for receiving second parameter information sent by the PLC;
The third functional module is connected with the web end and is used for receiving third parameter information sent by the web end;
the data management module is respectively connected with the first functional module, the second functional module and the third functional module and is used for transmitting the parameter information in each functional module to an application layer.
8. The remote management device of claim 7, wherein the data management module comprises a flash memory space for storing backed-up configuration data and log information and a RAM space for storing real-time data.
9. The remote management device of claim 7, wherein the remote management device further comprises an application layer, the application layer comprising:
the diagnosis function module is used for receiving the log information issued by the data management module;
the configuration function module is used for receiving the configuration data issued by the data management module;
and the real-time data module is used for receiving the real-time data issued by the data management module.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for realizing the remote management device configuration method, the program for realizing the remote management device configuration method being executed by a processor to realize the steps of the remote management device configuration method according to any one of claims 1 to 5 or claim 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410129960.1A CN117970863A (en) | 2024-01-29 | 2024-01-29 | Remote management device configuration method, remote management device, and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410129960.1A CN117970863A (en) | 2024-01-29 | 2024-01-29 | Remote management device configuration method, remote management device, and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117970863A true CN117970863A (en) | 2024-05-03 |
Family
ID=90857137
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410129960.1A Pending CN117970863A (en) | 2024-01-29 | 2024-01-29 | Remote management device configuration method, remote management device, and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117970863A (en) |
-
2024
- 2024-01-29 CN CN202410129960.1A patent/CN117970863A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107273083B (en) | Interaction method, device, equipment and storage medium between terminal equipment | |
CN113608812B (en) | Remote control method, device, system and storage medium | |
CN110266701B (en) | Intelligent device data transmission method, device, medium and electronic device | |
CN112764817A (en) | Equipment function awakening method and device | |
CN104678798A (en) | Method for operating a field device | |
JP7382298B2 (en) | Methods, systems, devices and vehicle controllers for parking processing | |
CN116436794A (en) | OPC real-time data integration and control method based on Internet of things model | |
CN109901664B (en) | Method, apparatus, system, device and readable storage medium for providing clock signal | |
CN117970863A (en) | Remote management device configuration method, remote management device, and readable storage medium | |
CN112860559A (en) | Upgrade test system and method | |
CN115118587B (en) | Method and device for creating connector | |
CN115098301B (en) | Snapshot generation method and system for stateful application in cloud primary scene | |
CN103529816A (en) | Qt-based upper computer control system | |
US20180059640A1 (en) | Techniques for event driven scheduling in a welding or cutting system | |
CN108848182B (en) | Updating method of BMC firmware, related equipment and system | |
US11417156B2 (en) | Method and system for managing a maintenance task of a motor vehicle | |
CN111124907A (en) | Mobile phone game testing method and device and server | |
CN112416641A (en) | Controlled end node restart detection method in master-slave architecture and master control end node | |
CN114579222A (en) | Screen control method, automobile data recorder and storage medium | |
CN111953803A (en) | BMC starting method, equipment, system and storage medium | |
CN105867954B (en) | system data updating method, electronic equipment and system | |
CN117251220B (en) | Display initialization control method and related device | |
CN214042112U (en) | Upgrade test system | |
CN117939507A (en) | WiFi simulation method and device for android simulator and computer equipment | |
CN117251180A (en) | Method, device, equipment and storage medium for writing configuration words of vehicle controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |