Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for moving intelligent algorithm of upper computer down to PLC and PLC device

An intelligent algorithm and bit-computer technology, applied in the field of PLC control, can solve the problems of instability, PLC devices cannot independently execute algorithm programs, and high operating environment requirements, reduce operating environment requirements, eliminate network risks, and save money The effect of storage space

Inactive Publication Date: 2019-01-18
GUANGDONG UNIV OF TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, to realize the operation of the intelligent algorithm in the PLC device, it is necessary to rely on the complex communication as an intermediate link to achieve the upload and release of PLC instructions, and the reading of data depends entirely on the database in the host computer. , the PLC device cannot independently execute the entire algorithm program
Therefore, the execution of the algorithm on the PLC device brings many unstable factors, and has high requirements for the operating environment

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 system for moving intelligent algorithm of upper computer down to PLC and PLC device
  • Method and system for moving intelligent algorithm of upper computer down to PLC and PLC device
  • Method and system for moving intelligent algorithm of upper computer down to PLC and PLC device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0048] The method of moving down the upper computer intelligent algorithm to PLC in the present embodiment, such as figure 1 As shown, the following steps are included: the step of moving data down, the upper computer 1 converts the format of the data required for the operation of the intelligent algorithm into the data storage format of the PLC device 2 according to the coding rules, and then packs the converted data into the required data package, and the required data package is sent to the user data storage module storage of PLC device 2;

[0049] The step of moving the algorithm down, the PLC device 2 edits the intelligent algorithm into a ladder diagram through the ladder diagram program, and encapsulates it into an algorithm function module;

[0050] In the decoding setting step, the PLC device 2 sets a decoding rule corresponding to the encoding rule, and edits the decoding rule into a ladder diagram through a ladder diagram program and encapsulates it into a data deco...

Embodiment 2

[0084] Such as Figure 4 It is part of the protocol table for encoding and decoding in the real-time data of the high-voltage inverter, which contains plain codes, passwords and related information. Before the execution of the algorithm, the required data must be processed first, that is, according to Figure 4 According to the rules corresponding to the plain code and the password, the required data is coded into a 16-bit binary form; then the processed data is stored in the user data storage module of the PLC device 2 to achieve the purpose of saving space. The encoding rules can be realized by using high-level programming languages ​​such as Java. In the PLC device 2, according to the general language of the PLC device 2 - the ladder diagram, the decoding rules (that is, the corresponding rules between passwords and plain codes) are used to realize the data processing. At this time, the data can be processed to be called by the algorithm. format. Finally, the algorithm p...

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 discloses a method and system for moving intelligent algorithm of upper computer down to PLC and PLC device. The method includes such steps: the step of moving data downward: convertingdata format required by intelligent algorithm to data storage format of PLC device according to encoding rule, packaging the converted data into required data packets, and sending the required data packets to user data storage module of PLC device for storage; the step of moving The algorithm downward: editing the intelligent algorithm into ladder diagram through ladder diagram program by the PLCdevice, and encapsulating the ladder diagram into algorithm function module. The method can be executed independently in PLC device, which is safe, stable and reliable. The data needed for the intelligent algorithm running need not be stored in the host computer, and the data packets stored in the host computer are directly called, so that the PLC device can independently execute the correspondingintelligent algorithm, which not only reduces the requirements for communication, but also basically eliminates the network risks brought by the host computer, and greatly reduces the requirements for the running environment.

Description

technical field [0001] The invention relates to the field of PLC control, in particular to a method, a system and a PLC device for moving down an upper computer intelligent algorithm to a PLC. Background technique [0002] PLC devices are widely used in various industrial process control and various mechatronics equipment control. Because the storage space of the PLC device is small and there is no database, the source of the data required for algorithm operation is usually the database of the host computer. Therefore, the operation of the algorithm program is issued by the host computer, uploading and issuing between the host computer and the PLC device through communication, and finally the actual execution is carried out by the PLC device. Therefore, to realize the operation of the intelligent algorithm in the PLC device, it is necessary to rely on the complex communication as an intermediate link to achieve the upload and release of PLC instructions, and the reading of ...

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
IPC IPC(8): G06F8/41G06F8/52G05B19/05
CPCG06F8/44G05B19/056G06F8/52
Inventor 刘强陈勇坤黄泽辉宋源林德豪
Owner GUANGDONG UNIV OF TECH