发明授权
- 专利标题: Programmable controller with ladder diagram macro instructions
- 专利标题(中): 可编程控制器,带梯形图宏指令
-
申请号: US942254申请日: 1992-09-09
-
公开(公告)号: US5295059A公开(公告)日: 1994-03-15
- 发明人: Jeffery W. Brooks , Michael D. Yoke , John J. Kolat, Jr.
- 申请人: Jeffery W. Brooks , Michael D. Yoke , John J. Kolat, Jr.
- 申请人地址: WI Milwaukee
- 专利权人: Allen-Bradley Company, Inc.
- 当前专利权人: Allen-Bradley Company, Inc.
- 当前专利权人地址: WI Milwaukee
- 主分类号: G05B19/05
- IPC分类号: G05B19/05 ; G06F15/46 ; G05B19/00
摘要:
A machine is operated by a programmable controller that executes a ladder logic control program. A custom ladder logic processor is provided for high speed execution of the more common ladder logic instructions and a microprocessor interprets the remaining ladder logic instructions. A first section of memory contains a ladder logic control program in which some of the instructions are macro instructions executable by the ladder logic processor. Each macro instruction specifies an operation code, a first memory file containing data to be processed by the macro instruction, a second memory file containing control data governing the processing, and a storage location for results produced by execution of the macro instruction. Another memory section stores a library file containing a ladder logic software routine for each macro instruction, and stores a directory which identifies a starting location of the macro instruction routine for each operation code. When a macro instruction is encountered in the control program, the corresponding ladder logic software routine is executed. During the execution of the routine data is obtained from the first memory file and the results are placed in the storage location. At the completion of the ladder logic software routine, execution of the control program resumes.