Software PLC instruction parse execution method

A technology of instruction analysis and execution method, which is applied in the direction of program control and control/regulation system in instruments, sequence/logic controllers, etc. It can solve the problems of difficulty in updating ladder diagram instruction sets, long-term cycle and cost, and achieve coupling The effect of reducing and enhancing scalability

Active Publication Date: 2017-10-24
浙江奇赛其科技有限责任公司
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of conversion from ladder diagram to instruction table, the hardware chip used in the traditional PLC system realizes ladder diagram scanning, which makes it difficult to update the ladder diagram instruction set, and the firmware update of PLC takes a longer period of time and costs

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
  • Software PLC instruction parse execution method
  • Software PLC instruction parse execution method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with accompanying drawing.

[0020] Such as figure 1 As shown, the PLC instruction analysis and execution method of the present invention mainly includes four steps of instruction decoding, instruction execution, logical state management, and function nesting management.

[0021] Step 1. Instruction decoding, read the instruction code according to the order indicated by the instruction pointer, and judge the validity of the instruction and parameters. If the data is found to be illegal or the data is accessed out of bounds, an error will be reported.

[0022] After reading the instruction data according to the instruction pointer, first judge whether the instruction code is a valid instruction supported by the controller; then separate the parameter table that the instruction depends on from the instruction data, and judge whether the parameter is a constant or a variable address, and the variable addr...

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 software PLC instruction parse execution method including four steps of instruction decoding, instruction execution, logical state management, and function nesting management. The invention also discloses a PLC instruction parse execution system comprising an instruction decoding module, an instruction execution module, a logical state management module and a function nesting management module. The coupling between instructions is reduced, the system scalability is enhanced and the system stability and reliability are guaranteed.

Description

technical field [0001] The invention belongs to the field of industrial control, in particular to a software PLC instruction analysis and execution method. Background technique [0002] PLC is a new generation of industrial control device developed on the basis of automatic control technology, microcomputer technology, and communication technology. more and more applications. PLC has been widely used in various industries such as iron and steel, petroleum, chemical industry, electric power, building materials, machinery manufacturing, automobile, light textile, transportation, environmental protection, culture and entertainment at home and abroad. [0003] In the process of conversion from ladder diagram to instruction list, the hardware chip used in the traditional PLC system realizes ladder diagram scanning, which makes it difficult to update the ladder diagram instruction set, and the firmware update of PLC takes a longer period of time and costs. Contents of the inven...

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/05
CPCG05B19/054G05B2219/1103
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