2-1
Section
CPM2A/CPM2C Interrupt Functions
32
Interrupt input
Interrupt input 0
Interrupt is
generated.
Ladder diagram programming
Specified subroutine executed.
INT(89) instruction
Permission to use
interrupt input
Interrupt input 1
Interrupt input 2
Interrupt input 3
PC Setup
DM 6628
(92)
(93)
00003
00004
00005
(See note.)
00006
(See note.)
Note
Input points 00005 and 00006 do not exist in CPM2C CPU Units with only 10 I/O
points or in CPM2C-S CPU Units.
With interrupt inputs (interrupt input mode), the subroutine numbers executed
for the input numbers are fixed.
Input number
Interrupt number
Subroutine number
00003
0
000
00004
1
001
00005 (See note.)
2
002
00006 (See note.)
3
003
The same input number (from 00003 to 00006) cannot be used for more than
one of the following functions: interrupt inputs, interrupt inputs (counter mode),
or quick-response inputs.
With a CPM2A, wire to the input terminals as shown in the following illustration.
Input number 00003: Interrupt input 0
Input number 00004: Interrupt input 1
Input number 00005: Interrupt input 2
Input number 00006: Interrupt input 3
Setting the Interrupt
Input Number
Wiring the Inputs