Input Interrupts In Counter Mode - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

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.
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.
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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents