摘要 |
PROBLEM TO BE SOLVED: To provide an industrial controller allowing an ASIC side to decide whether it is presently during an interrupt or not without using an instruction processed by an MPU such as an interrupt inhibition instruction or an interrupt inhibition release instruction and to execute interrupt inhibition. SOLUTION: An ASIC stop disregard bit for specifying whether to disregard a stop request from the MPU or not is provided in an object code of each instruction constituting a user program. The ASIC has a function of confirming the ASIC stop disregard bit of the object code of the instruction of a processing target when receiving the stop request from the MPU (S11), executing the instruction when the ASIC stop disregard bit is ON (S12), and stopping it when the ASIC stop disregard bit is OFF (S14). The MPU executes an interrupt program on condition that a stop of the ASIC is confirmed. Because the ASIC decides whether to perform the interrupt inhibition or not, processing of the MPU becomes unnecessary to be performed at high speed. COPYRIGHT: (C)2010,JPO&INPIT
|