发明名称 PROGRAMMABLE CONTROLLER
摘要 PROBLEM TO BE SOLVED: To increase the processing efficiency of a compiler corresponding to program language 1EC61131-3, and to achieve a high speed arithmetic operation. SOLUTION: A conventional arithmetic circuit constituted of an accumulator 1, a data memory 2 and an arithmetic circuit 3 is provided with a stack 4 and a stack pointer 5, and when compiling an arithmetic instruction having a plurality of input parameters, all input parameters are stored in the stack once, and the input parameters are extracted one by one from the stack, and an arithmetic operation with the current arithmetic result is performed, and the arithmetic result is updated, and this process is repeated until all the input parameters are extracted, and the final arithmetic result is output. An accumulator for storing the input parameters and the arithmetic results is arranged on the stack, and the stack position of the accumulator is moved by one for an arithmetic operation, and the arithmetic operation is repeated. COPYRIGHT: (C)2007,JPO&INPIT
申请公布号 JP2007183848(A) 申请公布日期 2007.07.19
申请号 JP20060002055 申请日期 2006.01.10
申请人 MEIDENSHA CORP 发明人 FUJII MASATO
分类号 G05B19/05;G06F9/34;G06F9/45 主分类号 G05B19/05
代理机构 代理人
主权项
地址