6 Interrupts
Ladder Program Example
Cyclic Task
P_First_Cycle
2960.04
Reset input
Interrupt Task 142
2960.00
!
Sensor input 1
2960.00
Sensor input 1
2960.01
Sensor input 2
2960.03
Sensor input 3
2960.00
Sensor input 1
2960.01
Sensor input 2
2960.03
Sensor input 3
6-16
2961.00
2961.01
2961.02
2961.03
2961.04
2960.01
2960.03
!
!
Sensor input 2
Sensor input 3
2961.00
2961.01
2961.02
2961.03
2961.04
Interrupt input 2
The MSKS instruction is used
Specifies executing
to specify an interrupt when the
interrupt when input
input turns ON and then it is
turns ON.
used to unmask the interrupt
input.
Interrupt input 2
Unmasks the
interrupt input.
OK output
NG output 1
NG output 2
NG output 3
NG output 4
OK output
NG output 1
NG output 2
NG output 3
NG output 4
CJ2M CPU Unit Pulse I/O Module User's Manual