6 Interrupts
6-2-7
Application Example
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.
Sensor input 1
Sensor input 3
Sensor input 2
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-14
Sensor input
Sensor input (interrupt)
(interrupt input 2)
CIO 2960.02
Workpiece
Sensor input 1
CIO 2960.00
Sensor input 2
CIO 2960.01
Sensor input 3
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
Interrupt task
processing
processing
CJ2M CPU Unit Pulse I/O Module User's Manual
Interrupt task
processing