A replacement encoder arrives. The shaft diameter matches, the pulse count matches, and it goes on in ten minutes. Then the machine starts up, and the counter shows nonsense, or the drive throws an error straight away. Nothing is broken. The new encoder simply has a different output type, a different supply voltage, or one channel fewer than the old one.
This happens a lot with incremental encoders. They are the most common choice for speed feedback and relative positioning, and from the outside many of them look the same.
When choosing an incremental encoder, you need to check:
- the application, and whether incremental is the right type at all;
- resolution (PPR), calculated from the machine;
- channels: A, B, Z, and inverted signals;
- output type and supply voltage, matched to the controller;
- signal frequency at maximum speed;
- mechanical design: shaft, housing, mounting;
- sensing technology: optical or magnetic;
- environment and connection.
These depend on each other: PPR affects frequency, frequency affects the best output, and the output affects the cable. So go through them in order.
When an Incremental Encoder Is the Right Choice
An incremental encoder sends a stream of pulses as the shaft turns. The controller counts them. That makes it a good fit for:
- speed feedback on motors, conveyors, and rollers;
- relative positioning with a homing routine, for example on cut-to-length lines, feed axes, and printing machines;
- counting and length measurement, often with a measuring wheel running on the material.
The incremental rotary encoders in the Eltra range cover optical solid shaft, optical hollow shaft, and magnetic designs, with NPN, PNP, push-pull, and line driver outputs.
There is one limitation to keep in mind. An incremental encoder doesn’t know where the shaft is when the power comes on. It only knows how far it has moved since the count started. After a power failure, the machine has to run a homing routine. On most conveyors that’s fine. On a lifting axis or a machine that can’t move freely after a stop, an absolute encoder is the better choice.
AIO Snippet:
To choose an incremental encoder, calculate the required PPR from the measuring step on the machine, decide which channels you need (A, B, Z), and match the output type and supply voltage to the controller. Then check the maximum signal frequency, the shaft and mounting, and whether optical or magnetic sensing suits the environment.
How to Calculate the Required Resolution (PPR)
PPR (pulses per revolution) is the number of pulses each channel produces during one turn of the shaft. Choose it by working back from the machine.
If the encoder drives a measuring wheel or a roller, the linear resolution is:
Linear resolution = travel per revolution / PPR
Example: a measuring wheel with a 200 mm circumference and a 1,000 PPR encoder gives 0.2 mm per pulse.
If you know the resolution you need, turn the formula around:
Required PPR = travel per revolution / required resolution
Example: an axis with a 5 mm pitch lead screw needs 0.05 mm resolution. That’s 5 / 0.05 = 100 counts per revolution.
Now the useful part. Most controllers don’t just count pulses on one channel. They use quadrature evaluation with channels A and B:
- x1: counts one edge per pulse period;
- x2: counts both edges of one channel;
- x4: counts both edges of both channels.
With x4 evaluation, a 1,000 PPR encoder gives 4,000 counts per revolution. In the lead screw example above, a 25 PPR encoder would theoretically be enough for 100 counts. You’d choose more for margin, but you often need far less PPR than expected.
Expert note: Resolution is not accuracy. A 5,000 PPR encoder on a measuring wheel that slips on the material, or on a coupling with some play, won’t give you accurate measurements. The mechanics often limit accuracy long before the encoder does.
Channels: A, B, Z and Inverted Signals
The number of channels decides what the controller can actually do with the signal.
- Channel A only gives speed or simple counting, but no direction.
- Channels A and B are offset by 90°. The controller sees which one comes first and knows the direction of rotation. This is also what makes x2 and x4 evaluation possible.
- Channel Z, the index or reference pulse, appears once per revolution. It’s used for homing and to check that no pulses have been lost.
- Inverted signals (/A, /B, /Z) are sent alongside the normal ones. The receiver looks at the difference between each pair, which cancels out much of the electrical noise picked up along the cable. This is standard with line driver outputs.
| Task | Required channels |
| Speed monitoring, one direction | A |
| Counting with direction | A, B |
| Positioning with homing to index | A, B, Z |
| Long cables or noisy environment | A, B, Z with inverted signals |
When replacing an encoder, check whether the controller actually uses the Z channel. If the homing routine relies on it and the new encoder doesn’t have one, the machine won’t find its reference point.
Output Type and Supply Voltage
This is the part that causes the most trouble with replacements. The output has to match the controller input, both in type and in voltage.
The Eltra range includes four main output types:
- NPN and NPN open collector switch the signal to 0 V. They need an NPN (sinking) input on the controller and work best with short cables.
- PNP and PNP open collector switch to the positive supply. They need a PNP (sourcing) input, which is common on European PLCs.
- Push-pull outputs actively drive the signal both high and low. They work with both NPN and PNP inputs and handle longer cables better than open collector outputs. They usually run at 10–30 V, which is often called HTL level.
- Line driver outputs are differential (RS422 type) with a 5 V signal level. They are the best choice for long cables and high frequencies and are typical for servo drives and motion controllers.
| Output | Signal type | Typical supply | Cable length | Typical controller input |
| NPN / NPN open collector | Single-ended, switches to 0 V | Wide range, model-dependent | Short | NPN (sinking) PLC inputs, counters |
| PNP / PNP open collector | Single-ended, switches to +V | Wide range, model-dependent | Short | PNP (sourcing) PLC inputs |
| Push-pull | Single-ended, actively driven | 10–30 V (HTL) | Medium | Most PLC inputs, counters |
| Line driver | Differential (RS422) | Often 5 V | Long | Servo drives, motion controllers |
Supply voltage needs its own check. Some encoders run on 5 V DC, often line driver versions. Others accept a wide range such as 8–24 V or 10–30 V, depending on the model. Connect a 5 V encoder to a 24 V supply and it may be damaged immediately.
On long cables, the voltage at the encoder can also be noticeably lower than at the power supply. For 5 V encoders, that drop can be enough to cause problems. If the signal is unstable, measure the voltage at the encoder connector.
Check the Maximum Signal Frequency
Every incremental encoder has a maximum output frequency, and every controller input has a maximum counting frequency. If the signal is faster than either limit, pulses get lost. The position then drifts, usually only at high speed.
The frequency per channel is:
f (Hz) = rpm / 60 × PPR
Example: a motor at 3,000 rpm with a 2,500 PPR encoder:
3,000 / 60 × 2,500 = 125,000 Hz = 125 kHz
That’s more than many standard PLC high-speed counter inputs can handle. Check the controller specification before choosing the PPR. If the frequency is too high, there are three options: a lower PPR, a faster input module, or a lower maximum speed.
Two more limits belong to the encoder itself: its maximum output frequency and its maximum mechanical speed. Both must be higher than what the application needs.
Mechanical Design: Shaft, Housing and Mounting
The Eltra incremental range is divided into three groups: optical shaft encoders, optical hollow shaft encoders, and magnetic incremental encoders.
- Solid shaft encoders connect to the machine shaft through a coupling. The coupling takes up small misalignments and protects the encoder bearings.
- Blind or through hollow shaft encoders slide directly onto the machine shaft. They need less axial space and no separate coupling, but they do need a torque arm or stator coupling to stop the housing from turning.
Then check:
- shaft or bore diameter: it has to match exactly;
- housing size: from compact miniature encoders to larger industrial housings, depending on the space available;
- flange type for solid shaft encoders, or torque arm / stator coupling for hollow shaft encoders;
- maximum mechanical speed and allowable shaft loads.
Optical or Magnetic Incremental Encoder
Optical encoders use an infrared LED and a coded disc. As the disc turns, the light is interrupted, and the detector produces the pulses. This gives high resolution and good accuracy, which is why optical encoders are the usual choice for precise positioning in clean conditions.
Magnetic encoders use a magnetic ring or disc with alternating poles and a Hall-effect or magnetoresistive sensor. They are more tolerant of dust, oil, condensation, and vibration, and they are often more compact. Resolution and accuracy are usually lower than with optical models, but for speed feedback and many positioning tasks they are more than enough.
So the choice depends on two questions: how fine does the resolution need to be, and how harsh is the environment? A printing machine in a clean hall suits an optical encoder. A conveyor in a sawmill suits a magnetic one.
Environment and Connection
Check the conditions at the actual mounting point:
- IP rating for dust and water. Washdown areas and outdoor equipment need higher protection.
- Operating temperature, including the heat that comes from the motor itself.
- Vibration and shock, especially on presses, crushers, and mobile machinery.
- Electrical noise near frequency inverters and large motors. Differential outputs and shielded cables help a lot here.
Then the connection:
- cable or connector, for example M12 or M23;
- axial or radial outlet, depending on the space around the encoder;
- cable length, matched to the output type.
How to Choose: Step-by-Step
- Confirm that incremental is the right type: homing after a power loss must be acceptable.
- Define the required measuring step and calculate the PPR, taking quadrature evaluation into account.
- Decide which channels are needed: A, A/B, Z, and inverted signals.
- Match the output type to the controller input.
- Check the supply voltage.
- Calculate the signal frequency and compare it with the controller’s input limit.
- Choose the shaft type, diameter, housing, and mounting.
- Choose optical or magnetic sensing, and the protection rating.
- Select the connection type and cable length.
When replacing an encoder, start from the full order code on the label. Two encoders with the same PPR can differ in output type, supply voltage, channels, shaft, and connector.
Common Mistakes When Choosing an Incremental Encoder
- Choosing by PPR and shaft size only: the encoder fits, but the output or voltage doesn’t match.
- Mixing up NPN, PNP, push-pull, and line driver outputs: the controller reads wrong values or nothing at all.
- Using a 5 V line driver encoder on a 24 V supply: the encoder can be damaged instantly.
- Choosing a PPR that’s too high: the signal frequency exceeds the counter input, and pulses are lost.
- Forgetting the Z channel: the machine can’t home to the index pulse.
- Using single-ended outputs on long cables near VFDs: interference causes counting errors.
- Ordering the wrong bore diameter: the hollow shaft encoder doesn’t fit.
- Using an optical encoder in a very dirty or wet location without suitable protection: it fails early.
Expert Insight:
“When choosing an incremental encoder, start with what the controller needs: the measuring step, the channels, and the input type. Calculate the PPR and check that the signal frequency stays within the controller’s limits. Then match the supply voltage, shaft, and sensing technology to the machine and its environment.”

