
9
Functions Listed by Purpose
Section 1-3
1-3-3
Receiving Pulse Inputs
Purpose
I/O
used
Function
Description
Receive incremental rotary encoder inputs to calculate length or position.
• Counting at low-
speed frequen-
cies (1 kHz max.)
Built-in
Inputs
Interrupt inputs
0 to 3
Interrupt inputs (Counter
mode)
Max. count frequency of
1 kHz (single-phase
pulses only) in increment
mode or decrement mode
Built-in inputs (bits 00 to 03 of
CIO 2960) can be used as counter
inputs.
The interrupt inputs must be set to
counter mode.
The PVs for interrupt inputs 0 through 3
are stored in A536 through A539,
respectively.
• Counting at high-
speed frequen-
cies (30 kHz or
60 kHz max.)
Built-in
Inputs
High-speed
counters 0 and
1
High-speed counter func-
tions
• Differential phase input
(4x multiplication)
30 kHz (50 kHz)
• Pulse + direction input
60 kHz (100 kHz)
• Up/down pulse input
60 kHz (100 kHz)
• Increment input
60 kHz (100 kHz)
Note
The figures in
parentheses are
for line driver
inputs.
Built-in inputs (bits 02, 03, and 06 to 09
of CIO 2960) can be used as high-
speed counter inputs.
The PV for high-speed counter 0 is
stored in A270 and A271. The PV for
high-speed counter 1 is stored in A272
and A273.
The counters can be operated in ring
mode or linear mode.
Measure a workpiece's
length or position.
(Start counting when a
certain condition is
established or pause
counting when a certain
condition is estab-
lished.)
Built-in
Inputs
High-speed
counters 0 and
1
High-speed Counter Gate
Bits (bits A53108 and
A53109)
The high-speed counter can be started
or stopped (PV held) from the Unit's pro-
gram by turning ON/OFF the High-
speed Counter Gate Bits (bits A53108
and A53109) when the desired condi-
tions are met.
Measure a workpiece's
speed from its position
data (frequency mea-
surement.)
Built-in
Inputs
High-speed
counter 0
PRV(881) HIGH-SPEED
COUNTER PV READ
The PRV(881) instruction can be used
to measure the pulse frequency.
• Range with differential phase inputs:
0 to 50 kHz
• Range with all other input modes:
0 to 100 kHz
PRV2(883) PULSE FRE-
QUENCY CONVERT
PRV2(883) read the pulse frequency
and converts it to a rotational speed
(r/min) or it converts the counter PV to a
total number of rotations. Results are
calculated by the number of pulses/rota-
tion.
Summary of Contents for CJ1M-CPU21
Page 1: ...Cat No W395 E1 03 CJ series Built in I O CJ1M CPU21 22 23 CJ1M CPU Units...
Page 2: ...CJ series Built in I O CJ1M CPU21 22 23 CPU Units Operation Manual Revised August 2004...
Page 3: ...iv...
Page 19: ...xx...
Page 79: ...50 Wiring Examples Section 3 3...
Page 217: ...188 Origin Search and Origin Return Functions Section 6 3...
Page 220: ...191 Built in Outputs Section 7 1...
Page 247: ...218 Built in Outputs Section 7 1...
Page 251: ...222 Combinations of Pulse Control Instructions Appendix A...
Page 255: ...226 Using Pulse Instructions in other CPU Units Appendix B...
Page 263: ...234 Index...
Page 265: ...236 Revision History...