Method and device for monitoring data, storage medium and electronic device

A technology for data and real-time monitoring, applied in the computer field

Inactive Publication Date: 2019-08-16
北京龙鼎源科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a data monitoring method and device, a storage medium and an electronic device to at least solve the problem in the related art that two sets of codes need to be maintained for reading and writing operations inside the PLC through a special monitoring module

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for monitoring data, storage medium and electronic device
  • Method and device for monitoring data, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0017] In this embodiment, a data monitoring method is provided, figure 1 is a flow chart of a data monitoring method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:

[0018] Step S102, after compiling the project to be compiled, serialize the compiled project into a local file;

example

[0019] Among them, the project compilation process of this step in a specific application scenario can be according to firmware library->global variables->user POU->task 1 program instance collection->task 1->task 2 program instance collection->task 2->Task 3 program instance set->Task 3->... process to execute.

[0020] After the compilation is successful, the serialization of the user project into a local file is to prepare for the start of project storage monitoring.

[0021] Step S104, accessing the local file and collecting address information of project variables in different work units from the currently executed project body, wherein the address information includes offset and length;

[0022] Step S106 is to monitor the engineering variables corresponding to the address information in real time according to the address information during the operation of the programmable logic controller PLC.

[0023] Through the above steps S102 to S104, after compiling the project ...

Embodiment 2

[0068] In this embodiment, a data monitoring device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

[0069] figure 2 is a schematic structural diagram of a data monitoring device according to an embodiment of the present invention, such as figure 2 As shown, the device includes: a first processing module 22, configured to serialize the compiled project into a local file after compiling the project to be compiled; a second processing module 24, coupled to the first processing module 22, for To access local files and collect the address information...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device for monitoring data, a storage medium and an electronic device, wherein the method comprises the steps of: compiling a project to be compiled and then serializing the compiled project into a local file; accessing the local file and collecting address information of project variables in different worksheets from a project body which is executed at present, wherein the address information comprises offset and length; and monitoring the project variables corresponding to the address information in real time according to the address information in an operating process of a PLC (Programmable Logic Controller). The method and the device of the invention solve the problem that two sets of codes need to be maintained when read-write operation is performed on the inside of the PLC through a special monitoring module in related technologies.

Description

technical field [0001] The invention relates to the field of computers, in particular to a data monitoring method and device, a storage medium and an electronic device. Background technique [0002] With the widespread application of Programmable Logic Controller (PLC) technology, PLC programming software has also become an indispensable part of PLC development technology. The control logic of the PLC control system is completed by programming software, as long as the application program is modified, it can meet the needs of different control fields. Therefore, the PLC programming software has the functions of real-time monitoring and debugging to check the correctness and completeness of the program design and has a very wide versatility. [0003] Now the mainstream and complete PLC programming software is made abroad. Many of them use special monitoring modules to read and write inside the PLC, and some read and write real-time operations through PLC address data, and sim...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/05G05B19/048
CPCG05B19/048G05B19/056G05B19/058G05B2219/13004G05B2219/14006
Inventor 高明
Owner 北京龙鼎源科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products