CPM2A/CPM2C High-speed Counters
2-2-2 Input Interrupts In Counter Mode
68
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.
Normal
program
Interrupt
program
Input number
(Note 2)
0 to 65535
00003
(0000
(0000 to FFFF) 1
00004
00005
00006
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.
Counter
input
Counter input
Subroutine
Count
Interrupt
number
number (Note 3)
0
000
FFFF)
001
2
002
3
003
Section
Subroutine
Response
frequency
2 kHz
2-2
Need help?
Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?
Questions and answers