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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


