摘要 |
PURPOSE:To make a high-speed counting possible independently of the scanning time, by using a count input circuit, a counting circuit, a coincidence detecting circuit, and an output storage circuit as private circuits respectively. CONSTITUTION:A counting device is provided to a sequence controlling part 1 through a gate bus 14. In a count input circuit 2, the counting signal of an input device is inputted to an input terminal IN and is converted to a signal level of the sequence controller. The output of the count input circuit 2 is sent to a counting circuit 3 and is counted. In a set value storage circuit 5, a preset value of the counting circuit 3 is stored on a basis of instruction information of a program memory 11. A coincidence detecting circuit 4 compares always the value of the set value storage circuit 5 with the counted value of the counting circuit 3; and when they coincide with each other, the circuit 4 sends the output signal to an output storage circuit 6. The output storage circuit 6 outputs the stored signal to a device to be controlled. |