摘要 |
PURPOSE:To transfer a microinstruction to a microprocessor and to carry out a bit arithmetic instruction via a bit arithmetic processing part, by identifying at a high speed and with high efficiency a program which is written in a ladder language and in a sequence control action procedure based on the bit arithmetic instruction and the microinstruction. CONSTITUTION:A program including a bit arithmetic instruction and a microinstruction corresponding to a process more complicated than said arithmetic instruction is stored in a memory 2 of a programmable controller. At the same time, a microprocessor 1 receives an interruption request from an instruction control part 4 and reads out the microinstruction to carry it out. An instruction identifying part 3 reads a program instruction out of the memory 2 and identifies whether this instruction is equal to a bit arithmetic instruction or a microinstruction. If a microinstruction is identified, an interruption request is outputted to the processor 1 from the part 4. Then the microinstruction is transferred to the processor 1 and the bit arithmetic instruction is carried out at a bit arithmetic processing part 6.
|