78
CPM1/CPM1A Interrupt Functions Section 1-6
CPM1 PCs
CPM1A PCs
Note In incrementing mode, input 00001 can be used as a regular input. When the
reset method is used for the software reset, input 00002 can be used as a
regular input. Also, even when used for the Z-phase signal and software reset,
the input status is reflected inn 00002 of the I/O memory.
High-speed Counter
Settings
The following settings must be made in DM 6642 when using the CPM1/
CPM1A’s high-speed counter function.
00000
00001
24VDC
NC
00002
Mode Input functions Input method Count
frequency
Count
range
Control methods
Up/Down 00000: A-phase input
00001: B-phase input
00002: Z-phase input
Phase-difference,
4× inputs
2.5 kHz max. –32767
to
32767
Target value control:
Up to 16 target values and interrupt
subroutine numbers can be regis-
tered.
Zone comparison control:
Up to 8 sets of upper limit values,
lower limit values, and interrupt
subroutine numbers can be regis-
tered.
Incrementing 00000: Count input
00001: See note.
00002: Reset input
Individual inputs 5.0 kHz max. 0
to
65535
DM 6642
Bits
Function Settings
Incrementing Up/Down Not used
00 to 03 Sets the counter mode:
0: Up/down
4: Incrementing
4 0 0 or 4
04 to 07 Sets the reset method:
0: Z-phase + software reset
1: Software reset
0 or 1 0 or 1 0 or 1
08 to 15 Sets the counter:
00: Counter not being used.
01: Counter being used.
01 01 00