Receiving Pulse Inputs - Omron CJ1M-CPU21 Operation Manual

Cj-series built-in i/o cpu units
Hide thumbs Also See for CJ1M-CPU21:
Table of Contents

Advertisement

Functions Listed by Purpose
1-3-3

Receiving Pulse Inputs

Purpose
Receive incremental rotary encoder inputs to calculate length or position.
• Counting at low-
speed
frequen-
cies (1 kHz max.)
• Counting at high-
speed
frequen-
cies (30 kHz or
60 kHz max.)
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.)
Measure a workpiece's
speed from its position
data (frequency mea-
surement.)
I/O
used
Built-in
Interrupt inputs
Inputs
0 to 3
Built-in
High-speed
Inputs
counters 0 and
1
Built-in
High-speed
Inputs
counters 0 and
1
Built-in
High-speed
Inputs
counter 0
Function
Interrupt inputs (Counter
mode)
Max. count frequency of
1 kHz (single-phase
pulses only) in increment
mode or decrement mode
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.
High-speed Counter Gate
Bits (bits A53108 and
A53109)
PRV(881) HIGH-SPEED
COUNTER PV READ
PRV2(883) PULSE FRE-
QUENCY CONVERT
Section 1-3
Description
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.
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.
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.
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) 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.
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cj1m-cpu23Cj1m-cpu22

Table of Contents