6-2
Interrupt Inputs
6-2-1
Overview
Interrupt inputs can be used in either Direct Mode or Counter Mode.
Interrupt Input in Direct Mode:
A corresponding interrupt task can be executed when an Pulse I/O Module input turns ON or turns OFF.
The PLC Setup or MSKS(690) instruction determines whether the interrupt is triggered when the input
turns ON or when it turns OFF.
Interrupt Input in Counter Mode:
A corresponding interrupt task can be executed when the number of times the Pulse I/O Module input
turns ON or turns OFF reaches the set value (A532 to A535 and A544 to A547) in Increment Mode, or
when it reaches zero in Decrement Mode.
The number of the interrupt tasks started by interrupt inputs must be between 140 and 147.
Interrupt input
Cycle
CJ2M CPU Unit Pulse I/O Module User's Manual
Pulse I/O Module
CJ2M CPU Unit
Connecting
Cable
Cyclic task
(ladder program)
Interrupt occurs.
END
I/O refresh
Connector-Terminal Block
Conversion Unit
Interrupt input turns ON or OFF (Direct Mode)
Or when the ON or OFF count is
counted out (for Increment or
Decrement Mode)
Interrupt task
Ladder program
END
6 Interrupts
6
6-3