CN112860560A - Remote debugging method and system for field machine, electronic device and electronic equipment - Google Patents

Remote debugging method and system for field machine, electronic device and electronic equipment Download PDF

Info

Publication number
CN112860560A
CN112860560A CN202110195389.XA CN202110195389A CN112860560A CN 112860560 A CN112860560 A CN 112860560A CN 202110195389 A CN202110195389 A CN 202110195389A CN 112860560 A CN112860560 A CN 112860560A
Authority
CN
China
Prior art keywords
data
debugging
plc
remote
local server
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
Application number
CN202110195389.XA
Other languages
Chinese (zh)
Inventor
谭治铭
梁杰
谭治良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Lianrou Machinery and Equipment Co Ltd
Original Assignee
Guangzhou Lianrou Machinery and Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Lianrou Machinery and Equipment Co Ltd filed Critical Guangzhou Lianrou Machinery and Equipment Co Ltd
Priority to CN202110195389.XA priority Critical patent/CN112860560A/en
Publication of CN112860560A publication Critical patent/CN112860560A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging

Abstract

The application provides a remote debugging method and system of a field machine, an electronic device and electronic equipment, and relates to the technical field of remote control. A method of remote commissioning of a field machine, comprising: the local server scans and reads a data exchange area of the PLC in real time; the remote server acquires the data segment from the local server and generates a debugging interactive page; the remote server responds to the debugging operation of the debugging client on the debugging interactive page to generate debugging data; the local server acquires the debugging data from the remote server and writes the debugging data into the PLC; the PLC changes the machine state according to the modified data. According to the technical scheme of the embodiment of the application, the field machine can be debugged remotely through the interactive page through data translation and visual conversion, the problem processing process is simplified, and the working efficiency is improved.

Description

Remote debugging method and system for field machine, electronic device and electronic equipment
Technical Field
The application relates to the technical field of remote control, in particular to a remote debugging method and system for a field machine, an electronic device and electronic equipment.
Background
Currently, when a fault occurs in the industrial machine equipment on the client side, the after-market solution of the manufacturing enterprise still depends on the traditional way of telephone, mail or door-to-door debugging by engineers. Under the condition that communication between telephone and mail cannot be solved, more engineers are required to go to a client side to debug and remove faults on site, and procedures such as guiding and organizing personnel, checking wiring, detecting various data, debugging on site, processing abnormal conditions and the like are required to be completed. The service process has long time period, high operation and maintenance cost and low working efficiency, and can not meet the requirements of customers at the present stage.
Disclosure of Invention
The application provides a remote debugging method and system for a field machine, an electronic device and electronic equipment, which can check and debug the field machine equipment through a remote client, and improve the working efficiency and the service quality.
According to an aspect of the present application, there is provided a remote commissioning method of a field machine, including: the local server scans and reads a data exchange area of the PLC in real time; the remote server acquires the data segment from the local server and generates a debugging interactive page; the remote server responds to the debugging operation of the debugging client on the debugging interactive page to generate debugging data; the local server acquires the debugging data from the remote server and writes the debugging data into the PLC; the PLC changes the machine state according to the modified data.
According to some embodiments, the real-time scanning and reading of the data exchange area of the programmable logic controller PLC includes: and the local server reads the bottom data of the PLC through a Modbus communication protocol.
According to some embodiments, the remote server obtaining the data segments from the local server and generating a debugging interaction page comprises: the data segment is transmitted to the remote server after being subjected to data definition through a preset packaging format, and the remote server receives and stores the data segment; the local server is connected with the remote server through the Internet, and data transmission is carried out by using an HTTP protocol.
According to some embodiments, the remote server obtains the data segment from the local server and generates a debugging interactive page, further comprising: translating the data segment into a parameter of the debugging interaction page; rendering the parameters into a visual form, wherein the visual form comprises a warning lamp and a button and is displayed on the debugging interaction page; and sending the debugging interactive page to the debugging client.
According to some embodiments, the remote server generates debug data in response to a debug operation of a debug client on the debug interaction page, including: and compiling and converting the debugging data into a PLC readable format.
According to some embodiments, the local server obtaining the debugging data from the remote server and writing the debugging data to the PLC includes: performing data definition on the debugging data through the preset packaging format; and writing the data into the PLC through a Modbus protocol.
According to some embodiments, the PLC changes machine states according to the modified data, including: the PLC receives the debugging data; completing all debugging operations according to the debugging data; changing machine conditions by an electrical control system; and responding a feedback signal to the remote server.
According to an aspect of the present application, there is provided a remote commissioning system of a field machine, including: the programmable logic controller PLC is arranged on the field machine and is used for interacting with the local server and the upper computer to change the state of the machine; the upper computer is interacted with the PLC and displays the state of the PLC through a screen; and the local server is interacted with the PLC and the remote server, acquires debugging data from the remote server and writes the debugging data into the PLC.
According to some embodiments, an enable switch is arranged in the upper computer display screen and used for controlling whether remote debugging is performed or not.
According to some embodiments, further comprising: and arranging a camera for shooting the real-time image of the machine.
According to some embodiments, a camera is provided for capturing live images of the machine, comprising: the local server triggers the shooting function of the camera; and the local server transmits the image data shot by the camera through an HTTP protocol.
According to an aspect of the present application, there is provided a remote commissioning method of a field machine for a remote server, including: receiving and storing the data segment transmitted by the local server; generating a debugging interactive page according to the data segment; acquiring the debugging interactive page and sending the debugging interactive page to a debugging client; and responding to the debugging operation of the debugging client to generate debugging data.
According to some embodiments, generating a debug interaction page from the data segments includes: translating the data segment into preset data through a data corresponding rule, and generating parameters of the debugging interactive page through the preset data; rendering the parameters into a visual form, wherein the visual form comprises a warning lamp and a button and is displayed on the debugging interaction page.
According to some embodiments, the data correspondence rule comprises: establishing a corresponding relation between the address bit of the PLC and a preset data set of the remote server; the preset data set comprises machine types and fault information; and the bottom layer data set read from the PLC address bit by the local server corresponds to the preset data set and is used for judging abnormal data and/or abnormal data segments.
According to some embodiments, translating the data segment into predetermined data by a data correspondence rule comprises: the predetermined data is stored in the remote server.
According to some embodiments, generating debug data in response to a debug operation of the debug client comprises: compiling the debugging data into a PLC readable format; and packaging the debugging data and then sending the debugging data to the local server.
According to an aspect of the present application, there is provided an electronic apparatus including: the receiving module is used for receiving the data segment transmitted by the local server and the debugging operation data of the debugging client; the storage module is used for storing the data segment transmitted from the local server and storing debugging data; the compiling module is used for generating a debugging interactive page according to the data segment transmitted by the local server and generating debugging data according to the debugging operation of the debugging client; and the sending module is used for acquiring the debugging interactive page, sending the debugging interactive page to the debugging client and sending the debugging data to the local server.
According to an aspect of the present application, there is provided an electronic device including: one or more processors; storage means for storing one or more programs; when executed by the one or more processors, cause the one or more processors to implement the method as previously described.
According to the embodiment, the technical scheme of the application can achieve the effect of debugging the field machine remotely through the interactive page by translating and visually converting the data, can directly change the state of the machine, and improves the working efficiency and the service quality.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without exceeding the protection scope of the present application.
Fig. 1 shows a schematic diagram of a remote commissioning system of a field machine according to an example embodiment of the present application.
Fig. 2 illustrates an interactive timing diagram of a method for remote commissioning of a field machine according to an example embodiment of the present application.
Fig. 3 illustrates a debug page block diagram of a remote debug system of a field machine according to an example embodiment of the present application.
Fig. 4 illustrates a remote server workflow diagram of a method for remote commissioning of a field machine according to an exemplary embodiment of the present application.
Fig. 5 shows a block diagram of an electronic device according to an example embodiment of the present application.
Fig. 6 shows a block diagram of an electronic device according to an example embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The same reference numerals denote the same or similar parts in the drawings, and thus, a repetitive description thereof will be omitted.
The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the embodiments of the disclosure can be practiced without one or more of the specific details, or with other means, components, materials, devices, or operations. In such cases, well-known structures, methods, devices, implementations, materials, or operations are not shown or described in detail.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The application provides a remote assistance system based on network for accomplish the debugging to the machine from remote client, need not engineer to the on-the-spot processing, improve work efficiency.
A network-based remote assistance system according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
Fig. 1 shows a schematic diagram of a remote commissioning system of a field machine according to an example embodiment of the present application.
As shown in fig. 1, the system architecture 100 may include terminals 101, 106, a PLC-installed machine 102, server devices 103, 105, and a network 104.
Network 104 may include a medium that provides an internet communication link between server devices 103 and 105 and may include various connection types, such as fiber optic cables, wireless communication links, and the like.
It should be understood that the number of terminals, machines, server devices and networks in fig. 1 is merely illustrative. There may be any number of terminals, machines, server devices and networks, as may be desired.
Server devices 103 and 105 may interact through network 104 to receive or send messages, etc. The terminals 101, 106 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, tablet computers, and the like.
When the remote connection is established, the server device 103 reads the data of the PLC machine 102, and transmits the data to the server device 105 through the network 104; meanwhile, the terminal 101 reads PLC machine 102 data and displays the PLC status through a display screen.
The server device 105 receives the data transmitted from the server 103, and transmits the data to the terminal 106 through compiling processing.
The terminal 106 carries out debugging operation, data are converted by the server 105 and then are sent to the server 103 through the network 104, the server 103 writes the data into the PLC machine 102, and the PLC changes the state of the machine through the electrical control system according to the change of the data; meanwhile, the terminal 101 reads PLC machine 102 data and displays the PLC status through a display screen.
Fig. 2 illustrates an interaction timing diagram of a remote commissioning system of a field machine according to an example embodiment of the present application.
As shown in fig. 2, in S201, a local server or a debugging client initiates a remote debugging application, and sends a request through a network, and after the local server and the debugging client confirm, the remote debugging enable switch of the on-site upper computer is turned on, and remote connection is established.
At S203, the local server scans data of the PLC data exchange area at the machine end in real time.
According to an example embodiment, the local server uses PLC control end software to scan all data of a data exchange area of the PLC in real time, the software is high in running speed, supports a mainstream operating system, and is wide in application range.
According to some embodiments, the local server reads the bottom layer data of the PLC via Modbus communication protocol, and the data format is long data segment in form of 0,1,0,1 … ….
At S205, the local server transmits the scanned data segment to a remote server.
According to some embodiments, the local server and the remote server are connected via the internet, and data transmission is performed using the HTTP protocol.
According to some embodiments, the data segment is transmitted to the remote server after data definition is performed on the data segment through a predetermined packaging format, and the format of the data segment is a long data segment in a 0,1,0,1 … … form; the preset packaging format is to arrange and package the data segments according to a fixed format, and the data segments are encrypted by the preset packaging format and then transmitted.
According to an example embodiment, the remote server receives the data segments transmitted from the local server and saves to the remote server.
At S207, the remote server translates and visually converts the received data segment transmitted from the local server.
According to some embodiments, the remote server performs data translation on the data segments transmitted by the local server package. The remote server translates the data segment with the format of 0,1,0,1 … … transmitted by the local server into preset data according to the data corresponding rule, and generates parameters of different functional components of the debugging interactive page through the preset data, wherein the data of the parameters correspond to the type of the machine suitable for the PLC and the real-time state of the field machine.
The data correspondence rule includes: establishing a corresponding relation between the address bit of the PLC and a preset data set of the remote server; the preset data set comprises machine types and fault information; and the bottom layer data set read from the PLC address bit by the local server corresponds to the preset data set and is used for judging abnormal data and/or abnormal data segments.
The predetermined data is stored in the remote server and marked by using an english alphabet mw plus an N-digit arabic numeral, which is specifically a 5-digit arabic numeral in this embodiment.
For example: the PLC applicable machine types comprise DW, OV, BOX and VD type spring machines, a bottom layer data set and an address bit data section of the PLC are read through the local server, wherein the bottom layer data set comprises a data section set represented by the existing state of the whole machine equipment, the address bit data section is fixedly preset in the PLC, the bottom layer data set and the address bit data section are transmitted to the remote server together, and the remote server is automatically matched with the corresponding machine type according to the address bit data section.
Specifically, for example, the underlying data set is 0,1,0,1,1,1,0,0,0,0, … …,1,1 (composed of binary data), the address bit data segment is 9 (composed of decimal data), and the model corresponding to the address bit data segment is identified as OV. And comparing the bottom layer data set with a preset data set (the preset data set is a binary data segment with the same format as the bottom layer data), and determining abnormal data and/or abnormal data segments in the bottom layer data set. The abnormal data segment is translated to correspond to preset data such as mw11023, the remote server reads the preset data mw11023, the type with a fault is identified to be an OV type, the fault type is trigger wire tightening protection, and information obtained through translation is visually converted and synchronized to a simulation picture.
According to some embodiments, the remote server renders the parameters of the debugging interactive page into a visual form through a visual conversion technology, the visual form comprises a warning lamp and a button, the functional fault or the fault corresponding mechanism of the corresponding machine type is distinguished through the preset data, and the PLC picture displayed by the upper computer is subjected to analog display.
According to an example embodiment, the remote server generates a debugging interactive page according to the data segment, converts the data into a graph or an image simulating a field machine and displays the graph or the image on a screen, and a remote debugging person can visually observe the state of the field machine in real time through a debugging client and synchronously debug the field machine.
At S209, the debug client interacts through a debug page.
According to an example embodiment, the remote server obtains the debugging interactive page and sends the debugging interactive page to the debugging client.
According to some embodiments, a remote debugging person can operate on the debugging page according to a real-time image shot by a camera set on site. The debugging site can read the PLC end data through the upper computer and display the state of the machine, and can also directly debug the machine through the upper computer, and the debugging result is displayed on the debugging page.
According to some embodiments, the real-time image data captured by the camera is transmitted through the HTTP protocol, which is different from a transmission channel of the underlying data.
According to an example embodiment, the remote server generates debug data in response to a debug operation of the debug client.
In S211, after the debugging operation, the remote server pushes the debugging data to the local server.
According to some embodiments, the debugging data is compiled, converted into a PLC readable format, packaged and sent to the local server via the internet. The debugging data can be directly written into a PLC memory through conversion, the PLC performs operation processing, and remote debugging personnel can directly operate and debug according to data change displayed on a screen without rewriting a PLC program and a webpage program.
At S213, the local server receives the data and writes the data to the PLC controller.
According to some embodiments, the debugging data received from the remote server terminal is subjected to data definition through the predetermined packaging format and written into the PLC controller through a Modbus protocol.
At S215, the PLC continuously processes data, and changes a corresponding machine state when control region data of the PLC is changed.
According to some embodiments, the PLC receives the debug data, performs all debug operations based on the debug data, changes machine state via an electrical control system, and responds to a feedback signal to the remote server.
Fig. 3 illustrates a debug page block diagram of a remote debug system of a field machine according to an example embodiment of the present application.
The debug page includes a PLC operation synchronization display area 300 and a debug page option area 330.
The PLC operation synchronization display area 300 simulates a field PLC operation display screen, and displays a PLC operation interface in real time, which may include but is not limited to a simulation machine display area 310 and a debugging function area 320.
The simulated machine display area 310 may be used to display the operation and status of various functional components of the corresponding field machine.
The debug feature area 320 may include a corresponding field machine feature debug button 3201 and a corresponding field machine operational status warning light 3202.
Debug page options area 330 may include debug page operations options 3301.
According to an exemplary embodiment, the functional components of the corresponding field machine displayed in the display area 310 of the simulation machine are translated and visually converted from data transmitted from the local server to display the status of the field machine in synchronization with the PLC operation display.
The function debugging button 3201 may be used to display names of various functional components of the corresponding field machine and may be used for debugging, and is consistent with the function display of the PLC operation display screen.
According to some embodiments, after the remote server receives the data transmitted from the local server in real time, the function buttons on the PLC operation display screen are displayed on a debugging page in a simulated manner through data translation and visual conversion.
According to an example embodiment, after the button is clicked on the debugging page, debugging operation of a corresponding component can be triggered to generate debugging data, the remote server converts the debugging data into data in a PLC readable format, and the data is packaged and transmitted to the local server through the Internet by using an HTTP protocol.
The operation status warning light 3202 is used to display whether each functional component of the corresponding field machine is operating normally.
According to some embodiments, the remote server receives the data transmitted from the local server in real time, and then the data is converted into a visual form through visual compiling, wherein the visual form comprises a warning light for displaying whether each functional component of the field machine is normally operated.
For example, the data received by the corresponding data bit is 1, which represents that the information of the corresponding component of the machine is normal, and the warning light is green.
Debug page operational options 3301 include, but are not limited to, monitor/debug mode selection, archiving, reset, and debug machine selection options for debug software function selection.
For example, the function of selecting a monitoring mode can be used for monitoring the running condition of a field machine in real time, but cannot be debugged remotely; selecting a debugging mode function, and performing remote debugging and adjustment according to the real-time running condition of the field machine; selecting a file function, and storing the state of the field machine and the debugging operation record at the current stage; selecting a reset function, and restoring the state of the field machine to an initial state; and selecting a debugging machine selection function, and selecting a machine which has sent the remote debugging application to carry out remote debugging operation.
Fig. 4 illustrates a remote server workflow diagram of a method for remote commissioning of a field machine according to an exemplary embodiment of the present application.
As shown in fig. 4, the remote server receives and saves the data segment transmitted from the local server S401.
According to some embodiments, the local server and the remote server are connected via the internet, and data transmission is performed using the HTTP protocol.
At S403, the remote server generates a debugging interactive page according to the data segment.
According to some embodiments, the remote server translates the data segments into parameters of the debugging interaction page, and renders the parameters into a visual form through a visual conversion technology, wherein the visual form comprises warning lamps and buttons.
At S405, the remote server sends the debugging interaction page to the debugging client.
According to some embodiments, a remote debugging person can operate on the debugging interactive page according to a real-time image shot by a camera set on site. The debugging site can read the PLC end data through the upper computer and display the state of the machine, and can also directly debug the machine through the upper computer, and the debugging result is displayed on the debugging interactive page.
According to some embodiments, the real-time image data captured by the camera is transmitted through the HTTP protocol, which is different from a transmission channel of the underlying data.
At S407, the remote server generates debug data in response to the debug operation.
According to some embodiments, the debugging data is compiled, converted into a PLC readable format, packaged and sent to the local server via the internet.
Fig. 5 shows a block diagram of an electronic device according to an example embodiment of the present application.
As shown in fig. 5, the electronic device includes a receiving module 501, a storage module 503, a compiling module 505, and a sending module 507.
The receiving module is used for receiving the data segment transmitted by the local server and receiving debugging operation data of the debugging client;
and the storage module is used for storing the data segment transmitted from the local server and storing debugging data.
The compiling module is used for generating a debugging interactive page according to the data segment transmitted by the local server and generating debugging data according to the debugging operation of the debugging client;
and the sending module is used for acquiring the debugging interactive page, sending the debugging interactive page to the debugging client and sending the debugging data to the local server.
According to an example embodiment, a process of obtaining field machine data includes: after the receiving module 501 receives the data segment transmitted from the local server, the storage module 503 stores the data segment; the compiling module 505 retrieves the data segment from the storage module 503, and generates the debugging interactive page according to the data segment by a corresponding technical method; the sending module 507 obtains the debugging interaction page and sends the debugging interaction page to the debugging client.
The process of pushing debug data and the process of acquiring field machine data are reverse processes, and include, for example: the receiving module 501 receives debugging page operation data of the debugging client, and the storage module 503 stores the operation data; the compiling module 505 calls the page operation data from the storage module 503, and generates the debugging data in a PLC readable format by a corresponding technical method; the sending module 507 obtains the debugging data and sends the debugging data to the local server.
The device can bidirectionally transmit data, and remote debugging personnel can know parameters and various fault conditions on the PLC and can debug and process in real time. The device can provide remote debugging service for a plurality of machine equipment simultaneously under the condition that the network speed is not lower than 20 Kb/s. If the network connection is suddenly disconnected, the device can keep real-time operation data, and when the network is recovered, a remote debugging person can continue to operate the previous data.
Fig. 6 shows a block diagram of an electronic device according to an example embodiment of the present application.
As shown in fig. 6, the electronic device 600 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 600 is embodied in the form of a general purpose computing device. The components of the electronic device 600 may include, but are not limited to: at least one processing unit 610, at least one storage unit 620, a bus 630 that connects the various system components (including the storage unit 620 and the processing unit 610), a display unit 640, and the like. Where the storage unit stores program code that may be executed by the processing unit 610 such that the processing unit 610 performs the methods described herein according to various exemplary embodiments of the present application. For example, processing unit 610 may perform a method as shown in fig. 4.
The storage unit 620 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)6201 and/or a cache memory unit 6202, and may further include a read-only memory unit (ROM) 6203.
The memory unit 620 may also include a program/utility 6204 having a set (at least one) of program modules 6205, such program modules 6205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 630 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 600 may also communicate with one or more external devices 700 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 600, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 600 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 650. Also, the electronic device 600 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 660. The network adapter 660 may communicate with other modules of the electronic device 600 via the bus 630. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 600, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or computer program product. Accordingly, this application may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to as a "circuit," module "or" system. Furthermore, the present application may take the form of a computer program product embodied in any tangible expression medium having computer-usable program code embodied in the medium.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable medium that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable medium produce an article of manufacture including instruction means which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the above embodiments, for the sake of brevity, all possible combinations of the features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the features.
According to some embodiments of the application, the field machine is debugged remotely through the interactive page, and the technical scheme of user-defined data conversion and visual compiling is adopted, so that the processing flow of the field machine equipment problem is simplified, and the working efficiency is improved.
The embodiments of the present application are described in detail, and the description of the embodiments is only used to help understand the method and the core idea of the present application. Meanwhile, a person skilled in the art should, according to the idea of the present application, change or modify the embodiments and applications of the present application based on the scope of the present application. In view of the above, the description should not be taken as limiting the application.

Claims (18)

1. A method of remote commissioning of a field machine, comprising:
the local server scans and reads a data exchange area of the PLC in real time;
the remote server acquires the data segment from the local server and generates a debugging interactive page;
the remote server responds to the debugging operation of the debugging client on the debugging interactive page to generate debugging data;
the local server acquires the debugging data from the remote server and writes the debugging data into the PLC;
the PLC changes the machine state according to the modified data.
2. The method of claim 1, wherein the real-time scanning and reading of the data exchange area of the PLC comprises:
and the local server reads the bottom data of the PLC through a Modbus communication protocol.
3. The method of claim 1, wherein the remote server obtaining the data segments from the local server and generating the debug interaction page comprises:
the data segment is transmitted to the remote server after being subjected to data definition through a preset packaging format, and the remote server receives and stores the data segment;
the local server is connected with the remote server through the Internet, and data transmission is carried out by using an HTTP protocol.
4. The method of claim 1, wherein a remote server obtains data segments from the local server and generates a debug interaction page, further comprising:
translating the data segment into a parameter of the debugging interaction page;
rendering the parameters into a visual form, wherein the visual form comprises a warning lamp and a button and is displayed on the debugging interaction page;
and sending the debugging interactive page to the debugging client.
5. The method of claim 1, wherein the remote server generates debug data in response to a debug operation by a debug client at the debug interaction page, comprising:
and compiling and converting the debugging data into a PLC readable format.
6. The method of claim 1, wherein the local server obtaining the debug data from the remote server and writing the debug data to the PLC comprises:
performing data definition on the debugging data through the preset packaging format;
and writing the data into the PLC through a Modbus protocol.
7. The method of claim 1, wherein the PLC changes machine state based on the modified data, comprising:
the PLC receives the debugging data;
completing all debugging operations according to the debugging data;
changing machine conditions by an electrical control system;
and responding a feedback signal to the remote server.
8. A remote commissioning system for a field machine, comprising:
the programmable logic controller PLC is arranged on the field machine and is used for interacting with the local server and the upper computer to change the state of the machine;
the upper computer is interacted with the PLC and displays the state of the PLC through a screen;
and the local server is interacted with the PLC and the remote server, acquires debugging data from the remote server and writes the debugging data into the PLC.
9. The remote debugging system of claim 8, wherein an enable switch is disposed in the display screen of the upper computer for controlling whether remote debugging is performed.
10. The remote debugging system of claim 8, further comprising:
and arranging a camera for shooting the real-time image of the machine.
11. The remote debugging system of claim 10, wherein a camera is provided for capturing the real-time images of the machine, and the system comprises:
the local server triggers the shooting function of the camera;
and the local server transmits the image data shot by the camera through an HTTP protocol.
12. A remote debugging method of a field machine, which is used for a remote server, is characterized by comprising the following steps:
receiving and storing the data segment transmitted by the local server;
generating a debugging interactive page according to the data segment;
acquiring the debugging interactive page and sending the debugging interactive page to a debugging client;
and responding to the debugging operation of the debugging client to generate debugging data.
13. The method of claim 12, wherein generating a debug interaction page from the data segments comprises:
translating the data segment into preset data through a data corresponding rule, and generating parameters of the debugging interactive page through the preset data;
rendering the parameters into a visual form, wherein the visual form comprises a warning lamp and a button and is displayed on the debugging interaction page.
14. The method of claim 13, wherein the data correspondence rule comprises:
establishing a corresponding relation between the address bit of the PLC and a preset data set of the remote server;
the preset data set comprises machine types and fault information;
and the bottom layer data set read from the PLC address bit by the local server corresponds to the preset data set and is used for judging abnormal data and/or abnormal data segments.
15. The method of claim 13, wherein translating the data segment into predetermined data via a data mapping rule comprises:
the predetermined data is stored in the remote server.
16. The method of claim 12, wherein generating debug data in response to the debug operation of the debug client comprises:
compiling the debugging data into a PLC readable format;
and packaging the debugging data and then sending the debugging data to the local server.
17. An electronic device, comprising:
the receiving module is used for receiving the data segment transmitted by the local server and receiving debugging operation data of the debugging client;
the storage module is used for storing the data segment transmitted from the local server and storing debugging data;
the compiling module is used for generating a debugging interactive page according to the data segment transmitted by the local server and generating debugging data according to the debugging operation of the debugging client;
and the sending module is used for acquiring the debugging interactive page, sending the debugging interactive page to the debugging client and sending the debugging data to the local server.
18. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 12-16.
CN202110195389.XA 2021-02-20 2021-02-20 Remote debugging method and system for field machine, electronic device and electronic equipment Pending CN112860560A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110195389.XA CN112860560A (en) 2021-02-20 2021-02-20 Remote debugging method and system for field machine, electronic device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110195389.XA CN112860560A (en) 2021-02-20 2021-02-20 Remote debugging method and system for field machine, electronic device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112860560A true CN112860560A (en) 2021-05-28

Family

ID=75988489

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110195389.XA Pending CN112860560A (en) 2021-02-20 2021-02-20 Remote debugging method and system for field machine, electronic device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112860560A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114578783A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801752A (en) * 2011-05-26 2012-11-28 株洲南车时代电气股份有限公司 Device and method for monitoring and debugging data of train network equipment in real time
CN110209107A (en) * 2019-05-10 2019-09-06 宁波安信数控技术有限公司 A kind of method and system by DTU remote debugging PLC device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801752A (en) * 2011-05-26 2012-11-28 株洲南车时代电气股份有限公司 Device and method for monitoring and debugging data of train network equipment in real time
CN110209107A (en) * 2019-05-10 2019-09-06 宁波安信数控技术有限公司 A kind of method and system by DTU remote debugging PLC device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114578783A (en) * 2021-12-28 2022-06-03 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field equipment
CN114578783B (en) * 2021-12-28 2024-04-09 上海繁易信息科技股份有限公司 Remote debugging method and system for industrial field device

Similar Documents

Publication Publication Date Title
WO2018044579A1 (en) Control and safety system maintenance training simulator
CN105357030B (en) Offline restoration methods, the device and system of a kind of terminal device on test platform
CN104426990A (en) Control method and control device
CN111710032B (en) Method, device, equipment and medium for constructing three-dimensional model of transformer substation
CN112860560A (en) Remote debugging method and system for field machine, electronic device and electronic equipment
CN112202613B (en) Optical cable fault processing method, device, equipment and computer readable storage medium
CN113508349B (en) 360 ° assistance for QCS gantry with mixed reality and machine learning techniques
CN112051833A (en) Simulation system and method for touch screen of diagnostic apparatus
JP2006350681A (en) Operation procedure support system for plant monitoring control device
CN112765018B (en) Instrument and meter debugging system and method
CN115220974A (en) Dynamic checking system, method, device and medium for network information of operating system
CN114745313A (en) Terminal remote testing method and device, electronic equipment and readable medium
CN112526966B (en) Automatic test method and system for HIL (high-performance liquid chromatography) of controller
CN113961504A (en) Mobile terminal group control method, device, system, server and storage medium
US10671037B2 (en) Machine maintenance using a machine controller and a service computer
CN101819419B (en) Active plc intelligent liquid crystal display
CN107015815B (en) Device for simulating safety control display equipment of nuclear power station
CN106792193A (en) A kind of repair system and restorative procedure based on Android TVs
KR20220067695A (en) Apparatus and method for managing parts of vacuum equipment
CN110978051A (en) Robot simulation device, robot simulation system, robot simulation method, readable medium, and electronic apparatus
KR100406031B1 (en) The exchange simulation method using the oms and thereof system
CN111708684B (en) Recording method and device for page access and computer system
CN115407691A (en) Signal switching method and system and automatic testing method and system applying same
US20160142104A1 (en) Method of communications in a network interconnecting at least two power generators, and corresponding interfacing device
CN114157841A (en) Control equipment rapid positioning method and device

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