Rotary TG
Rotary TG
Features
(1) The output is controlled according to the rotational (4) Choose the optimal Sensor from a wide lineup of resolutions
displacement of the shaft. and output types.
Linking to the shaft using a coupling enables direct detection of Select the Sensor to match the requirements for precision, cost,
rotational displacement. and connected circuits.
1
Rotary Encoders Technical Guide
Operating Principles
Item
Classifica- Features Structure Output waveform
tion
• This type of encoder outputs a pulse string
in response to the amount of rotational
displacement of the shaft. A separate
counter counts the number of output
pulses to determine the amount of rotation Detector
based on the count. element Phase A slit Phase B slit
• To detect the amount of rotation from a
certain input shaft position, the count in
the counter is reset at the reference Shaft Emission
Incremental element
Encoders position and the number of pulses from Phase Z
Phase difference: 90˚
that position is added cumulatively by the signal slit Phase A
E6J-C counter. For this reason, the reference
Phase B *
E6A2-C position can be selected as desired, and Rotor plate (disk)
E6B2-C the count for the amount of rotation can be Phase Z
unlimited. When a disk with an optical pattern re- Origin
E6C2-C 1 pitch 360˚ electrical angle
Another important feature is that a circuit volves along with the shaft, light pass-
E6C3-C
can be added to generate twice or four ing through two slits is transmitted or * Even if resolution changes, the
E6D-C
times the number of pulses for one signal blocked accordingly. The light is con- number of phases does not
E6F-C
period, for heightened electrical verted to electrical currents in the de- change.
E6H-C
resolution.* tector elements, which correspond to
Also, the phase-Z signal, which is each slit, and is output as two square
generated once a revolution, can be used waves. The two slits are positioned so
as the origin within a revolution. that the phase difference between the
*When high resolution is necessary, a 4-
square wave outputs is 1/4 pitch.
multiplier circuit is generally used.
(4x output is obtained by differentiating the rise
and fall waveforms of phase A and phase B,
resulting in four times the resolution.)
• This type of encoder outputs in parallel the
rotation angle as an absolute value in 2n
code.
It therefore has one output for each output
code bit, and as the resolution increases, Emission
the value of outputs increases. Rotation Detector element Slits elements
position detection is accomplished by
directly reading the output code.
• When the Encoder is incorporated into a
Absolute En-
machine, the zero position of the input Shaft 23
coders
revolution shaft is fixed, and the rotation 22
angle is always output as a digital value Depends on
E6J-A Rotor plate (disk) the resolution.
with the zero position as the coordinate 21
E6CP-A
origin. When a disk with a pattern rotates, 20
E6C3-A
Data is never corrupted by noise, and light passing through the slits is trans-
E6F-A 1 pitch
returning to the zero position at startup is mitted or blocked according to the pat-
not necessary. tern. The received light is converted to
Furthermore, even when code reading electrical currents in the detector ele-
becomes impossible due to high-speed ments, takes the form of waves, and
rotation, correct data can be read when becomes digital signals.
the rotation speed slows, and correct
rotation data can even be read when the
power is restored after a power failure or
other interruption in the power supply.
2
Rotary Encoders Technical Guide
Classification
Selection Guidelines
When selecting, take into consideration how the mounting method 8 Startup Torque of Shaft
affects the load on the shaft and mechanical life.
How much torque does the drive have?
5 Maximum Permissible Speed
9 Output Circuit Type
Base your selection on the maximum mechanical speed during
use. Select the circuit type based on the device to be connected, the
frequency of the signal, transmission distance, and noise
environment.
For long distance transmission, a line-driver output is
recommended.
3
Rotary Encoders Technical Guide
Explanation of Terms
Resolution Maximum Response Frequency
The pulse count of an incremental signal output when the shaft The maximum frequency at which the signal can respond.
revolves once, or the absolute address count.
Rise and Fall Times of Output
Output Phase The elapsed time from a 10% to 90% change in the output pulse.
The output signal count for an Incremental Encoder. There are 1- 90% 90%
phase models (phase A), 2-phase models (phase A, phase B), and 3-
phase models (phase A, phase B, and phase Z). The phase Z is an 10% 10%
origin signal that is output once a revolution.
Rise time Fall time
Output Phase Difference
When the shaft is rotated, this is the time difference between the rise Output Circuit
or fall of the phase A and phase B signals, expressed as a proportion (1) Open-collector Output
of the period of one signal, or as an electrical angle where one signal An output circuit where the emitter of the output circuit transistor
period equals 360°. is the common and the collector is open.
The difference between phase A and phase B as an electrical angle (2) Voltage Output
is normally 90°. An output circuit where the emitter of the output circuit transistor
Phase A is the common and a resistor is inserted between the collector
and the power supply to convert the output from the collector to a
Phase B voltage.
Difference between 90˚ (3) Line-driver Output
output phases 90˚ An output method that uses a special IC for high-speed, long-
360˚
distance data transmission that complies with the RS-422A
standard. The signal is output as a differential secondary signal,
CW and thus is strong with respect to noise.
The clockwise direction of rotation. Viewed from the end of the shaft, A special IC called a line receiver is used to receive the signal
the shaft rotates clockwise. With an Incremental Encoder, phase A output from a line driver.
normally leads phase B in this rotation direction. With an Absolute (4) Complementary Output
Encoder, this is the direction of code increase. An output circuit with two output transistors (NPN and PNP) on
The reverse of CW rotation is counterclockwise (CCW) rotation. the output.
CW These two output transistors alternately turn ON and OFF
depending on the high or low output signal. When using them, pull
up to the positive power supply voltage level or pull down to 0 V.
The complementary output allows flow-in or flow-out of the output
current and thus the rising and falling speeds of signals are fast.
CCW
This allows a long cable distance.
They can be connected to open-collector input devices (NPN,
PNP).
4
Rotary Encoders Technical Guide
Serial Transmission
In contrast to parallel transmission where multiple bits of data are
simultaneously output, this method outputs data serially on a single
transmission line, enabling the use of fewer wires. The receiving
device converts the signals into parallel signals.
5
Rotary Encoders Technical Guide
6
Rotary Encoders Technical Guide
Interpreting Engineering Data
Bearing Life Cable Extension Characteristics
E6B2-C E6B2-CWZ6C
12 0.6
2
Ws:40N 8 0.4
V OL
1 4 0.2
t LH
0 0
0 1 2 5 10 20 50 100 200
10 20 30 40 50 Cable length (m)
Radial load Wr (N) Measurement Example
Power supply voltage: 5 VDC
Load resistance: 1 kΩ (Output residual voltage is measured
at a 35 mA load current.)
Cable: Special Cable
• This graph shows the relationship between mechanical life and • This graph shows the effect of the output waveform if the cable is extended.
the load applied to the shaft. • Extending the cable length not only changes the startup time, but
• The size of the load during rotation affects the life of the bearings. also increases the output residual voltage.
7
Rotary Encoders Technical Guide
Absolute Encoders
Peripheral device
Cam Positioner SYSMAC Programmable Controller
Rotary
Encoder
model Model H8PS CPM1A CP1H CP1L CP1E DC Input Unit
Example of Connection with H7BX-AW Self-powered Example of Connection with K3HB-C Up/Down Counting
Tachometer Meter
• NPN Open-collector Outputs
Example of E6A2-CS3E 10P/R, 60P/R
Applicable E6C2-CWZ3E, E6F-CWZ5G 600P/R Example of E6A2-CS3C, E6A2-CS5C
Models E6C3-CWZ3EH 10P/R, 60P/R, 600P/R Applicable E6A2-CW3C, E6A2-CW5C
Models E6C2-CWZ6C, E6F-CWZ5G
+12V K3HB-C
Up/Down Counting Meter
8 9 10 11 12 13 14
A B C D E
Brown
1
15 17
Black 2
3
Blue 0V 16 18 4
E6A2 E6C2-CWZ6C 5
POWER 6
1 2 3 4 5 6 7
+12V
H7BX-AW Self-powered Tachometer 0V
Phase A
Example of Connection with H7BX-A Digital Counter Phase B
Example of E6A2-CW3E
• Voltage Outputs
Applicable E6C2-CWZ3E, E6C3-CWZ3EH,
Models E6F-CWZ5G Example of
E6A2-CS3E, E6A2-CW3E
Applicable
E6C2-CWZ3E
+12V Models
Brown 8 9 10 11 12 13 14 K3HB-C
Up/Down Counting Meter
Black A B C D E
15 17
1
White 2
16 18 3
E6A2-CW3 Blue 0V 4
1 2 3 4 5 6 7 E6C2-CWZ3E 5
POWER 6
H7BX-A Digital Counter +12V
0V
Phase A
8
Rotary Encoders Technical Guide
Encoder with NPN Open-collector Output (5/12/24 VDC) Encoder with PNP Open-collector Output (5/12/24 VDC)
High-speed Counter Unit (CN1) High-speed Counter Unit (CN1)
Black (phase A)
B9 (phase A, 24 V) B9 (phase A, 24 V)
Black (phase A)
Encoder A8 (phase A, 0 V) Encoder White (phase B) A8 (phase A, 0 V)
White (phase B) B11 (phase B, 24 V) B11 (phase B, 24 V)
A10 (phase B, 0 V) Orange (phase Z) A10 (phase B, 0 V)
Orange (phase Z) B13 (phase Z, 24 V) B13 (phase Z, 24 V)
A12 (phase Z, 0 V) A12 (phase Z, 0 V)
Brown (+Vcc) Counter 1 Brown (+Vcc) Counter 1
Example: E6C2-CWZ6C Example: E6C2-CWZ5B
NPN Open-collector Outputs Blue (0 V) (COM) PNP Open-collector Output Blue (0 V) (COM)
0V 0V
+24V +24V
Power supply: 24 VDC Power supply: 24 VDC
Note: Connections are as follows if the Encoder power supply is Note: Note: Connections are as follows if the Encoder power
5 V or 24 V. supply is 5 V or 24 V.
Phase A + 5-V power supply ➝ A19, 24 V ➝ B20 Phase A + 5-V power supply ➝ A19, 24 V ➝ B20
Phase B + 5-V power supply ➝ A17, 24 V ➝ B18 Phase B + 5-V power supply ➝ A17, 24 V ➝ B18
Example of
E6B2-CWZ1X, E6C2-CWZ1X
Applicable
E6C3-CWZ3XH, E6H-CWZ3X
Models (3)
Black (phase A +)
B15 (phase A, line driver +)
Black/red (phase A -)
Encoder A15 (phase A, line driver -)
White (phase B +)
B17 (phase B, line driver +)
White/red (phase B -)
A17 (phase B, line driver -)
Orange (phase Z +)
B19 (phase Z, line driver +)
Orange/red (phase Z -)
A19 (phase Z, line driver -)
Brown (5 VDC) Counter 2
Example: E6B2-CWZ1X
with Line-driver Output Blue (0 V) (COM)
0V
+5V
Power supply: 5 VDC
9
Rotary Encoders Technical Guide
10
Rotary Encoders Technical Guide
General Precautions For precautions on individual products, refer to Safety Precautions in individual product information.
4 Connect the power supply and I/O wires. Always turn OFF
the power supply
before wiring.
11
Rotary Encoders Technical Guide
2
Ws:40N
E6C2-C 0 10 20 30 40 50
Chain sprocket
Radial load Wr (N)
Bearing
Coupling Rotary Encoder E6C2-C@
5
4 40N
3
E6C3-C@H Chain sprocket
E6C3-A Bearing
Coupling Rotary Encoder 2
Wr
Encoder Ws
1
Axis
Wr: Radial load
Ws: Thrust load
0 10 20 30 40 50
Radial load Wr (N)
• When inserting the coupling into the shaft, do not tap it with a E6C3-C@H
hammer or apply any other type of shock.
Life (x1010 rotations)
• When attaching or detaching the coupling, do not bend, compress, 3.5 Ws:10N Wr
or pull excessively on the coupling. 3 Encoder Ws
Axis
2.5 Wr: Radial load
Ws: Thrust load
Ws:20N
2
1.5
Ws:30N
Ws:
1 40N
Ws:50N
0.5
Ws:60N
0 20 40 60 80 100
Radial load Wr (N)
12
Rotary Encoders Technical Guide
●Wiring Connecting
• If connecting the cable after securing the Encoder, do not pull on Connection
the cable with a force of 29.4 N or greater. • When extending the cable, check the cable type and response
E6A2-C frequency. Wire resistance and capacitance between wires may
E6J-A/C amplify residual voltage and cause waveform distortions. If the
30 N max. cable is extended, it is recommended to use a line-driver output.
Regardless of the output type, only lengths of 30 m or less comply
with the EMC Directive.
Rotary Encoder Cable To avoid inductive noise, keep the cabling as short as possible
Lock plate (particularly when inputting to an IC).
• If surges occur in the power supply, connect a surge absorber
E6B2-C Rotary Encoder between the power supply and the Encoder. To reduce noise, keep
E6D-C the wiring as short as possible.
• Spurious pulses may be generated when the power is turned ON or
OFF. Wait 0.1 s after turning ON the power before using the
connected device, and stop using the connected device 0.1 s (1 s
for E6CP-A) before turning OFF the power to the Encoder.
Cable 29.4 N max. • Inrush current will flow when the power is turned ON. Take the
value of the inrush current into consideration before using the
Lock plate power supply.
E6C2-C Rotary Encoder
Cable
30 N max.
Lock plate
30 N max.
Lock
plate
Cable
13
Rotary Encoders Technical Guide
Cable Extension Characteristics Extending the Cable When Using a Line-driver Output
• When the cable length is extended, the output waveform startup • Be sure to use shielded twisted-pair cable when extending the
time is lengthened and it affects the phase difference cable for a line-driver output. (Recommended Cable: TKVVBS4P-
characteristics of phases A and B. 02T from Tachii Electric Wire Co.)
• The output waveform startup time changes not only according to Use an RS-422A Receiver for the receiver side.
the length of the cable, but also according to the load resistance • The structure of twisted-pair cable is suitable for RS-422A
and the cable type. transmission. By twisting the two outputs as shown in the following
• Extending the cable length not only changes the startup time, but diagram, electromotive force occurring in the wires is reciprocally
also increases the output residual voltage. canceled, and the noise element of normal mode is eliminated.
<E6B2-CWZ6C> E E
Output rise time tLH (µs)
28
24 1.2 E E
• When using a line-driver output, a power supply of 5 VDC is needed
20 1.0
for the Encoder. The voltage will drop approximately 1 V per 100 m
16 0.8 of cable.
<Using a Line Receiver IC>
12 0.6 Recommended IC: ICs from Texas Instruments Incorporated
AM26C32
8 0.4 0.4
<E6C2-CWZ5B> 0.1
Output residual voltage VOH (V)
Output fall time tHL (µs)
30 1.6
0.05 Output rise time
28 1.4
0
24 1.2 2 5 10 50 100
Cable length (m)
20 1.0
<Connections>
16 0.8
To extend the line receiver, soldering or using a connector is
12 0.6 preferred. Connection through a terminal block should be avoided to
help prevent sneak noise.
8 0.4 There are no standards for the RS-422 connectors. Select them
VOH
tHL carefully.
4 0.2
0 0
1 2 5 10 20 50 100 200
● Operating Environment
Cable length L (m)
Measurement Example Ambient Conditions
Power supply voltage: 12 VDC
Load resistance: 5 mA (Output residual voltage is At low temperatures (0°C or less), the vinyl cable will harden and the
measured at a 35-mA load current.) wires may break if the cable is bent. Do not bend a Standard or Robot
Cable: Special Cable Cable at low temperature.
14
Rotary Encoders Technical Guide
●Others The following diagram shows converting gray code to binary using
programming.
Input to More than One Counter from Encoder
<Ladder Program Example>
(with Voltage Output)
00009
To connect multiple identical counters to one Encoder, use the 20009
following equation to determine the number of counters that can be 00008 20009
20008
connected. 00008 20009
R1(E - V) 00007 20008
Number of connectable counters N = 20007
V·R2 00007 20008
00006 20007
+E 20006
00006 20007
R2
+V 00005 20006
20005
00005 20006
0V
00004 20005 The gray code is converted to
Encoder 20004
00004 20005 binary and placed in IR 200.
output circuit R1 R1 Bits 10 to 15 of IR200 are set
Counter Counter 00003 20004 to 0. (These bits are not used.)
20003
Connectable number N 00003 20004
Yellow 22
Orange 21
Brown
20
Black
0V
15
MEMO
16