首页> 外国专利> Programmable controller with ladder diagram macro instructions

Programmable controller with ladder diagram macro instructions

机译:带有梯形图宏指令的可编程控制器

摘要

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. IMAGE
机译:机器由执行梯形逻辑控制程序的可编程控制器操作。提供了一个定制的梯形逻辑处理器,用于高速执行更常见的梯形逻辑指令,而微处理器则解释其余的梯形逻辑指令。存储器的第一部分包含梯形逻辑控制程序,其中一些指令是可由梯形逻辑处理器执行的宏指令。每个宏指令指定一个操作代码,一个包含要由该宏指令处理的数据的第一存储文件,一个包含控制该处理的控制数据的第二存储文件以及一个通过执行该宏指令产生的结果的存储位置。另一个存储部分存储一个库文件,该文件包含每个宏指令的梯形逻辑软件例程,并存储一个目录,该目录标识每个操作代码的宏指令例程的起始位置。当在控制程序中遇到宏指令时,将执行相应的梯形逻辑软件例程。在执行例行程序期间,将从第一个存储文件中获取数据,并将结果放置在存储位置中。梯形逻辑软件例程完成后,控制程序将继续执行。 <图像>

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号