摘要 |
PURPOSE:To use an input, which is not used as an interruption input, as a general input, by providing a data selector, which selects and outputs the input signal of an input terminal or the latch output of a corresponding latch means as output data, correspondingly to each input terminal. CONSTITUTION:Data selectors 51-5n are provided correspondingly to flip flop 21-2n respectively. Q outputs of flip flops 21-2n corresponding to B data input terminals and outputs of photocouplers 11-1n corresponding to A data input terminals are connected to these data selectors 51-5n, and outputs of photocouplers 11-1n or Q outputs of flip flops 21-2n are outputted from Y output terminals in accordance with select data S from a CPU unit 4 of a sequencer. Thus, a desired input terminal is used as the interruption input or the general input, and consequently, input terminals are efficiently used. |