A practical, engineer-friendly guide for motion control, packaging, and automation teams

If your machine needs to know exactly how far a shaft has turned—to place a label, index a turret, set a blade depth, or wind to an exact length—you reach for a rotary encoder. It’s the quiet feedback device that turns rotation into rock-solid digital information your controller can trust.

What Is a Rotary Encoder
Rotary Encoder

This deep dive explains rotary encoders in plain language: what they are, how they work, where they shine, how to read the datasheet, and how to choose the right model for a slitter rewinder, laminator, CNC axis, robot joint, conveyor, or a digital length-meter counter on a roll-to-roll line. You’ll also get wiring patterns, mounting tips, and a buyer’s checklist you can paste into your specifications.

1) The one-sentence definition

A rotary encoder is an electromechanical sensor that converts shaft angle and rotation into electrical signals—either a stream of pulses (incremental) or a unique codeword for each angle (absolute). Encoders bolt to a motor or shaft, “read” a marked wheel using optical, magnetic, capacitive, or mechanical sensing, and feed your PLC/drive with position, direction, and speed.

2) How a rotary encoder works (without the jargon)

Picture a thin disc—called a codewheel—fixed to a shaft. Around the disc are repeating marks: transparent/opaque windows (optical), alternating magnetic poles (magnetic), or interleaved plates (capacitive). A stationary sensor watches those marks while the shaft spins:

meter counter
  • Incremental mode: every mark that passes creates a pulse. You count pulses to know how much you moved and read which channel leads to know the direction.
  • Absolute mode: the wheel carries multiple concentric tracks. Their pattern forms a multi-bit word (often Gray code) that tells you the exact angle immediately—no homing required.

Why it matters: Your control loop can close on real position, not guesses. That’s the difference between perfect registration and chasing drift all shift long.

3) Incremental vs. Absolute—pick the right philosophy

Incremental encoders

  • Outputs: Two square-wave channels A and B in quadrature (90° phase shift) plus optional Z index (one tick per turn).
  • What you get: Relative motion—displacement, direction, and speed.
  • Startup: Doesn’t “know” where it is after power-up until you home (or see Z).
  • Why people love them: Simple, fast, cost-effective, great for velocity loops, web length, and cut-to-length.

Absolute encoders

  • Outputs: Multi-bit binary/Gray on parallel pins or a serial link (SSI, BiSS, CANopen, EtherCAT, Profinet, etc.).
  • What you get: Exact position on power-up; no homing move; no lost counts on outages.
  • Variants: Single-turn (0–360°) and multi-turn (keeps track of revolutions with gears or internal counters).
  • Why people choose them: Safety-critical axes, robots, high-end CNC, telescope/antenna pointing—anywhere you must never lose position.

Quick rule: If you can afford to home at startup and mostly need speed/relative position, go incremental. If position must be known immediately and always, go absolute.

4) Sensing technologies—how encoders “see” motion

Optical

A tiny LED shines through a slotted disc; a photodiode array reads the pattern.

  • Pros: Very high resolution (tens to hundreds of thousands of pulses/rev), precise, immune to EMI.
  • Cons: Needs a clear optical path; dust/oil can reduce signal; LED ages; slightly higher current draw.

Magnetic

A magnetized wheel (N/S/N/S…) spins above Hall-effect or magnetoresistive sensors.

  • Pros: Rugged, tolerates dirt, grease, moisture, and vibration; fully sealable.
  • Cons: Usually lower maximum resolution than fine optical discs; avoid strong stray fields.

Capacitive

Interleaved rotor/stator plates modulate capacitance; electronics demodulate angle.

  • Pros: Low power, programmable line counts, sealed, no LEDs to age, excellent blend of accuracy + robustness.
  • Cons: Newer tech; fewer off-the-shelf variants than optical/magnetic; needs tight internal geometry.

Mechanical (contact)

Conductive pads on a disc swipe spring contacts.

  • Pros: Ultra-low cost; good for consumer knobs.
  • Cons: Wear, bounce, limited life/speed—rare in serious industrial feedback.

5) The specs that actually matter

5.1 Resolution

  • Incremental: PPR (pulses per revolution). With quadrature (count rising + falling edges of A and B), controllers often show CPR = 4×PPR.
    Example: 1000 PPR ⇒ 4000 counts/rev in ×4 decoding.
  • Absolute: Bits per turn. 12-bit = 4096 positions/turn; 16-bit = 65,536; 20-bit and higher exist. Multi-turn encoders add extra bits for turn count.

Sizing tip: Required counts ≈ (mechanical tolerance / desired angular resolution). Be sure your max RPM × counts/turn fits the controller’s input frequency.

5.2 Accuracy, repeatability, jitter

  • Accuracy (how close to the true angle), repeatability (same result again), edge-to-edge jitter (timing noise). If you’re closing a tight position loop, don’t ignore these.

5.3 Outputs and electrical style

  • Incremental, digital:
    • TTL / RS-422 line-driver (5 V differential): best noise immunity and long cables.
    • HTL / push-pull (10–30 V): perfect for 24 V PLC inputs.
    • Open-collector (NPN/PNP): simple, needs pull-ups; shortest cables; more noise-sensitive.
  • Absolute, serial: SSI (simple synchronous; ~2 Mbit/s), BiSS-C (faster, CRC, bidirectional), or fieldbus/Ethernet (CANopen, EtherCAT, Profinet, EtherNet/IP, Profibus).
  • Analog options: Some models offer sine/cosine for interpolation or 0–10 V / 4–20 mA proportional to angle.

5.4 Supply & consumption

  • 5 V (TTL), 12–30 V (HTL), and multi-range 5–28 V models are common. Optical draws more current (LED). Magnetic/capacitive often <20 mA.

5.5 Environmental & mechanical

  • Ingress protection: IP64/IP65 standard for industrial; IP67/IP68 available (mind the shaft seal and cable gland details).
  • Temperature: Industrial −20…+70 °C typical; extended −40…+85 °C available.
  • Speed: Many models rated 3,000–6,000 RPM continuous; check your peak.
  • Shaft/bore: Solid 6 mm, ¼″ shafts; hollow/through-bore from 10–25 mm (and larger ring encoders).
  • Bearing life & loads: Dual sealed ball bearings are standard; respect axial/radial load limits to avoid early failure.

6) Interfaces in practice—what to wire to what

  • PLC high-speed counter at 24 V? Choose HTL/push-pull incremental.
  • Noisy plant, long cable run, or servo drive? Choose TTL/RS-422 differential.
  • You need absolute position with minimal wires? Choose SSI (simple) or BiSS-C (fast + CRC).
  • You’re on a networked machine: Use encoders with CANopen, EtherCAT, Profinet, EtherNet/IP—but ensure your controller profile matches.

Pro tip: Use shielded twisted pairs, ground the shield 360° at the drive end, and keep encoder cables away from VFD motor leads.

7) Mounting & coupling—small details, big consequences

Shaft style

  • Solid shaft: Use a flexible coupling (helical, bellows) to absorb misalignment and prevent bearing side-load.
  • Hollow/through-bore: Slide directly over the motor shaft and clamp; add a torque arm to stop the body from rotating. Easier alignment, great concentricity.
  • Ring / bearingless: For large diameters or where you don’t want bearings in the encoder at all (no wear).

Alignment checklist

  • The encoder should measure, not hold the load.
  • Respect max misalignment and OT (over-travel) limits.
  • On through-bore types, don’t over-clamp; on solid shafts, never hammer couplings.
  • Protect cables from flex loops and add drip loops in washdown areas.

8) Using encoders for linear length—the digital meter counter

For web lines and spooling, a go-to solution is a rotary encoder + measuring wheel + counter:

  • A knurled or rubberized wheel (e.g., 300 mm circumference) rides the moving web/cable.
  • A 300 PPR incremental encoder delivers 300 pulses per wheel turn → 1 mm per pulse with ×1 counting (or 0.25 mm with ×4 quadrature).
  • A digital length counter totals pulses and drives alarms/relays at preset lengths for cut-to-length or roll changeovers.

Practical notes

  • Use a wheel durometer and texture that won’t slip (different for paper, film, foam, cable).
  • Mount with sufficient wrap angle and a light spring preload for consistent contact.
  • For bidirectional lines, use A/B quadrature (the counter must understand direction).
  • Place the wheel where web tension is stable—post-nip is usually best.

9) Where rotary encoders show up (and why)

  • Packaging & converting: Speed feedback, print registration, label pitch, turret indexing, roll length.
  • Machine tools & robotics: Joint/axis positioning, rotary tables, spindle orientation.
  • Motors & drives: Servo/stepper feedback, BLDC commutation.
  • Automotive & aerospace: Steering/throttle angle, flap/gear position, actuators.
  • Medical & lab: Imaging tables, surgical robots, pipetting automation.
  • Everyday gear: Printer paper feed, instrument knobs, HVAC dampers.

10) Advantages & trade-offs at a glance

TopicWinsWatch-outs
IncrementalSimple, fast, inexpensive; great for velocity & relative positionLoses absolute position on power-off; needs homing
AbsolutePosition known instantly; no driftHigher cost/complexity; wiring/protocol choices matter
OpticalHighest resolution/accuracy, EMI-immuneSensitive to contamination; LED life; slightly higher current
MagneticRugged, sealed, dirt-tolerantTypically lower max resolution; avoid strong fields
CapacitiveLow power, programmable counts, sealedNewer; fewer models; tight internal tolerances
TTL/RS-422Long runs, best noise immunityNeeds clean 5 V supply
HTL (24 V)PLC-friendly, simpleMore current, slightly less noise-robust than RS-422
Open-collectorCheapest electronicsPull-ups, slower edges, shortest runs

11) Selection framework (9 fast questions)

  1. Do you need absolute position on power-up? If yes → absolute (SSI/BiSS/fieldbus). If no → consider incremental.
  2. Required resolution? Counts/turn or bits/turn to meet accuracy at peak RPM.
  3. Environment? Dust, oil, washdown, vibration, temperature → pick IP rating and sensing tech.
  4. Electrical interface? 5 V TTL/RS-422 vs 24 V HTL; or SSI/BiSS; or network bus.
  5. Cable length & noise? If long/noisy, prefer differential signaling.
  6. Mounting style? Solid shaft + flexible coupling, or hollow/through-bore for easy alignment.
  7. Bearing loads & speed? Check axial/radial limits and RPM rating.
  8. Diagnostics & status? Index (Z) pulse, alarm outputs, CRC (BiSS), temperature/voltage flags.
  9. Serviceability & spares? Common bore sizes, standard connectors, replaceable couplings/wheels.

12) Wiring patterns you’ll actually use

  • Incremental to PLC 24 V HSC: A, B (and Z) on 24 V HTL inputs; common to 0 V; enable ×4 counting in the PLC.
  • Incremental long-run to drive: Use RS-422 differential A±, B±, Z± twisted pairs; shield to drive chassis at one end.
  • SSI/BiSS absolute: Clock± and Data± twisted pairs; terminate at the master; poll at start-up for position.
  • Analog length meter: Incremental A/B into a counter module with *scale factor* set to wheel circumference / PPR.

Noise-proofing tips: Separate encoder cable from VFD/motor power; add ferrites only if recommended; avoid star-grounds—keep shields continuous.

13) Installation & commissioning best practices

  • Mechanics first: Align couplings; avoid side-loading; set torque arms on through-bore encoders with a soft bushing.
  • Index alignment: If you use Z for homing, align it to your mechanical reference and log the offset.
  • Signal integrity: Scope the A/B waveforms at operating speed; confirm clean 50/50 duty and phase.
  • Controller setup: Choose the correct edge mode (×1/×2/×4), input filter/debounce, and rollover handling.
  • Baseline: Record counts per rev, index timing, and direction convention for future troubleshooting.

14) Preventive maintenance that actually prevents

  • Quarterly: Inspect couplings/torque arms, check shaft play, confirm seals; clean connectors; verify cable strain relief.
  • Semiannual: Confirm counts/rev and index alignment; check for slip on measuring wheels (paint mark test).
  • When replacing: Match interface, resolution, supply, shaft/bore, index polarity, and keyway/clamp style; recalibrate length factors.

15) Troubleshooting cheat-sheet

SymptomLikely causeFix fast
Random count jumpsElectrical noise or poor ground/shieldUse RS-422, improve shield termination, separate from motor leads
Missed counts at speedInput frequency too highLower PPR, increase controller HSC capability, use sine/cosine + interpolation
Direction reads backwardA/B swapped or wrong phase senseSwap A/B or invert direction bit
Drift in lengthWheel slip or buildupChange wheel material/durometer, increase wrap/preload, clean wheel
Encoder runs hot, early bearing failureMisalignment or side loadAdd flexible coupling, re-shim, verify torque arm compliance
Water ingressWrong IP rating or bad glandUpgrade to IP65/67, replace seal, add drip loop

16) Ready-to-paste RFQ language

Rotary Encoder, Incremental, Through-Bore — Resolution 1024 PPR (4096 counts/rev, quadrature), outputs RS-422 (A±, B±, Z±), supply 5 V DC ±5%, max speed 6000 RPM, bore 12 mm with clamp ring, torque arm kit included, protection IP65, operating −20…+85 °C, dual sealed bearings, shielded cable 3 m. Provide index alignment sheet and test report.

Rotary Encoder, Absolute, SSI — 18-bit single-turn + 12-bit multi-turn, SSI Gray code, supply 10–30 V DC, IP67, stainless shaft 10 mm, M12 connector, CRC status, user-set zero, temperature alarm, −40…+85 °C.

Length Counter Assembly — Measuring wheel 300 mm circumference, encoder 300 PPR HTL, spring-arm mount, anti-slip tread for film/paper, panel meter with presets, bidirectional counting, 24 V DC, relay outputs for cut-to-length.

17) FAQs (fast, honest answers)

Do I always need the Z index?
No, but it’s handy for repeatable homing and length calibration.

Can I run incremental over 30 m cables?
Yes—use differential RS-422, twisted pairs, and shield correctly.

Will magnetic encoders be accurate enough for registration?
Often yes for packaging speeds; for ultra-fine print alignment or micro-positioning, optical or capacitive may win.

Can an incremental encoder give me angle after a power loss?
Not by itself. You must home to a reference (limit switch/index mark) or use absolute.

18) How Jota Machinery applies encoders on roll-to-roll

On slitter rewinders, laminators, and sheeters, clean feedback is the difference between “close enough” and dead-on. We pair:

  • Incremental RS-422 encoders on main and dancer rolls for tension and velocity loops.
  • Absolute multi-turn encoders on turret arms and knife carriages to retain position across stops and power cycles.
  • Measuring-wheel encoder counters at the outfeed for cut-to-length with millimeter-level precision.
  • Robust mounting: through-bore encoders with torque arms, shielded routing, and IP65 sealing to survive adhesive mists and dust.

Ask us for the solution

Tell us your web speeds, target tolerances, interfaces (PLC/drive brand), and environment. We’ll specify the right encoder stack—resolution, sensing tech, interface, wheel package, and mounting—so your line hits registration every time.

📧 jotamachinery@gmail.com
🌐 www.jotamachinery.com

Last Updated on 23/06/2026 by Jota Machinery

Scroll to Top