How-to
Four measurements that identify an unmarked rotary encoder
Short answer
An encoder with a worn label is identified by four measured quantities: mechanical envelope, conductor count, supply voltage at the controller terminals, and pulses per revolution measured with a scope against shaft speed. Measure all four before ordering, because a mismatch in any one gives wrong scaling or no signal.

On this page
An encoder whose label has worn away is identified by four measured quantities, and none of them needs the nameplate: the mechanical envelope, the number of conductors in use, the supply voltage at the controller terminals, and the pulses per revolution (PPR) measured against shaft speed. Measure all four before you order anything, because a mismatch in any one either prevents mounting, damages the device, or scales every position and speed reading by the wrong ratio.
The four quantities and where to read them #
| Quantity | How to get it | Where to read it |
|---|---|---|
| Mechanical envelope | Caliper the body diameter, shaft diameter, shaft length; note the mounting method | On the device; record adapter rings and couplings too |
| Channels and wires | Count the conductors actually used | The controller-end terminals, which survive when the encoder end does not |
| Supply voltage | Voltmeter on the encoder supply output | The controller terminals; expect anything from 5 V to 35 V |
| PPR | Scope channel A against a measured shaft speed, or read the controller setup | Scope, counter or drive configuration |
Mechanical fit decides whether the unit mounts at all. The original may sit in an adapter ring or on a coupling, so record how it was fixed, not only the can diameter.
The wire count tells you the output type. Supply and common plus two signal wires suggest a single-channel device; a third signal wire suggests an index (zero) pulse; more conductors suggest A, B and Z with complements. The count at the controller terminals is the reliable number even when the encoder body is unreadable, and identifying which conductor does what is covered in Magnetic Rotary Encoder Wiring Identification on Old Servos.
The supply voltage is a limit, not a preference. Whatever sits at the controller terminals is what the replacement must tolerate: a 5 V-only device on a 24 V supply dies from overvoltage, and a device fed below its range gives unreliable output levels.
Measure the PPR with a scope #
- Isolate and lock out the machine; this work mixes an open cabinet with a shaft you will turn by hand or by motor.
- Identify the encoder supply, signal and common terminals at the controller end and measure the supply voltage there. Record it.
- Restore power with the shaft accessible and connect the oscilloscope to channel A and common.
- Turn the shaft at a known steady speed and measure it in revolutions per minute with a tachometer, or count turns over a timed interval.
- Measure the pulse frequency on the scope.
- Calculate PPR = frequency (Hz) × 60 / shaft speed (rpm).
- Round to the nearest standard value: 500, 600, 1000 or 1024. A result close to but not exactly one of these is usually speed-measurement error.
If the shaft cannot be driven steadily, single-shot capture works instead: trigger the scope on one event, rotate the shaft exactly one revolution, and count the pulses of channel A in the capture, using the index pulse as the revolution marker when one exists. That removes the speed measurement, which is the least exact input. Quadrature wiring at the drive end, once you know the channels, is covered in Wiring a TTL quadrature encoder to drive encoder terminals.
Worked example #
Suppose the scope reads a pulse frequency of 20.0 kHz on channel A and the tachometer reads 1200 rpm. Then:
PPR = 20000 Hz × 60 / 1200 rpm = 1000 pulses per revolution.
That lands exactly on a standard value, so the original is a 1000 PPR unit. Had the tachometer read 1170 rpm, the calculation would give 1026, which rounds to 1024; both inputs sit within a hand-tachometer's error of each other, which is why you round to the standard values before concluding anything. The result is a calculated identification for those inputs, confirmed only by the replacement check below.
When measurement is inconclusive #
The controller configuration usually holds the answer: the PPR entered in the counter card or drive is the value the original encoder produced. Reading that stored value at startup is described in Capturing Serial Absolute Encoder Data at Machine Startup. Identifying the machine itself, for example the conveyor model on a production line, can also lead to the original part specification.
Disassembly is the last resort: open the can and count the marks on the code disc, though that may need a microscope. An encoder manufacturer's evaluation service can characterize a unit you cannot measure in place, and the cleaning and realignment that come with it sometimes restore a unit that looked dead.
Confirm the replacement before production #
- Fit the new encoder with the same coupling and mounting arrangement.
- Verify the supply voltage at the encoder terminals under load.
- Scope channel A (and B, if present) and confirm clean transitions at the frequency the PPR predicts for a known shaft speed.
- Move the machine a measured distance or a counted number of revolutions and compare with the controller reading; counts per revolution must match the configured PPR.
- Rotate in both directions and check the sign of the reading; swap A and B if it runs backwards.
Two traps on aged units: the cable is often the real fault, so test continuity and shield integrity before condemning the encoder, and take the supply reading at the controller, not at the damaged cable end. The output stage, open collector versus push-pull for example, must match the controller input; read that from the datasheet of the candidate replacement, not from the old unit. Keep the old encoder and its measurements until the new one is verified. One deeper walkthrough of wire identification on a small unit is in this knowledge-base article on identifying encoder wires on a 4-wire 100 PPR unit.
If the measured PPR, voltage and channel count produce no match, or the controller input type is unknown, stop and take your four measurements to the encoder or controller manufacturer's official support; an evaluation service is the next step for a unit that cannot be characterized in place.
Questions asked
Why does a replacement encoder read the wrong speed after installation?
The pulses per revolution of the new unit differ from the value configured in the controller, so counts scale by the ratio of the two values. Scope channel A at a known shaft speed and compare the measured frequency with what the configured value predicts, then correct the configuration or the encoder.
Why measure the supply at the controller terminals and not at the encoder?
The cable is often the damaged part, so a reading at the encoder end can show a voltage drop or an open circuit that is not the real supply. The controller terminals carry the voltage the replacement must tolerate, which on installed equipment can be anywhere from 5 V to 35 V.
Can I count pulses over one revolution instead of measuring speed?
Yes, if the scope has a single-shot trigger. Capture the pulses of channel A over exactly one full turn of the shaft, using the index pulse as the revolution marker when one exists, and count the transitions. This avoids the shaft-speed measurement, which is the least exact input.
The wire count fits several encoder types. How do I tell them apart?
Scope the signal wires while turning the shaft slowly. A single channel shows one square wave; quadrature shows two channels offset by a quarter cycle; an index shows one short pulse per revolution. The output stage, such as open collector versus push-pull, is read from the candidate replacement's datasheet and matched to the controller input.
