![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414089.webp)
2-2
Section
CPM2A/CPM2C High-speed Counters
68
2-2-2 Input Interrupts In Counter Mode
The four built-in interrupt inputs in the CPM2A/CPM2C’s CPU Unit can be used
in counter mode as inputs of up to 2 kHz. These inputs can be used as either
incrementing counters or decrementing counters, triggering an interrupt (i.e.,
executing an interrupt subroutine) when the count matches the set value.
Counter
input
Normal
program
Interrupt
program
Subroutine
Counter input
Input number
(Note 2)
Count
Interrupt
number
Subroutine
number (Note 3)
Response
frequency
00003
0 to 65535
(0000
FFFF)
0
000
2 kHz
00004
(0000 to FFFF) 1
001
00005
2
002
00006
3
003
Note
1. Input number 00005 and 00006 cannot be used in CPM2C CPU Units with
10 I/O points and CPM2C-S CPU Units.
2. Input numbers 00003 to 00006 can be used for any of the following func-
tions: interrupt inputs, interrupt inputs (counter mode), or quick-response in-
puts. When not being used for any of these, they can be used as ordinary
inputs.
3. Subroutine numbers 000 to 003 are the subroutine numbers for interrupt
programs started up when interrupt inputs or count-up interrupts for inter-
rupt inputs (counter mode) are generated. When not being used for this pur-
pose, they can be used as ordinary inputs.