6 Interrupts
6-14
CJ2M CPU Unit Pulse I/O Module User’s Manual
In this example, bent parts are detected in a moving workpiece, such as an IC component. When the
sensor input (terminal IN02, address CIO 2960.02) turns ON, the interrupt task is executed.
1 PLC Setup
Set IN2 to Interrupt Input in the Interrupt Input and Quick-response Input Detailed Settings Dia-
log Box that is accessed from the I/O Module Tab Page.
6-2-7 Application Example
Sensor input (interrupt)
Workpiece
Sensor input 1
Sensor input 2
Sensor input 3
Sensor input
(interrupt input 2)
CIO 2960.02
Sensor input 1
Sensor input 2
Sensor input 3
CIO 2960.00
CIO 2960.01
CIO 2960.03
Reset input
CIO 2960.04
OK output
CIO 2961.00
NG output 1
CIO 2961.01
NG output 2
CIO 2961.02
NG output 3
CIO 2961.03
NG output 4
CIO 2961.04
Interrupt task
processing
Interrupt task
processing
Interrupt task
processing