2-2
Section
CPM2A/CPM2C High-speed Counters
70
Interrupt
input
Counter (2 kHz) 0
Counter (2 kHz) 1
Counter (2 kHz) 2
Counter (2 kHz) 3
PC Setup
DM 6628
Interrupt input (counter mode)
Interrupt generated
Ladder diagram program
INT(89)
INTERRUPT
CONTROL
instruction
Specified subroutine executed.
(Used only for count-up interrupts.)
SBN(92)
RET(93)
Change SV (increment/
decrement)
Counter SV
Counter 0
Counter 1
Counter 2
Counter 3
SR 240
SR 241
SR 242
SR 243
INI(61)
MODE CONTROL
instruction
Change PV
Every scan
Immediately
Counter SV
Counter 0
Counter 1
Counter 2
Counter 3
SR 244
SR 245
SR 246
SR 247
PRV(62)
HIGH-SPEED COUNTER
PV READ instruction
Read counter PV
With interrupt inputs in counter mode, the subroutine to be executed is deter-
mined by the interrupt corresponding to the input number.
Input number
Interrupt number
Subroutine number
00003
0
000
00004
1
001
00005*
2
002
00006*
3
003
Note
*Input numbers 00005 and 00006 cannot be used for CPM2C CPU Units with 10
I/O points and for CPM2C-S CPU Units.
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.
Setting the Interrupt
Input Number