A rotary encoder converts shaft rotation into electrical feedback, and the spec map that drives the right pick is: motion type, output type, sensing technology, resolution, sealing, and lifecycle. Incremental encoders output A/B pulses and need a homing routine, while absolute encoders deliver a unique position word at every power-up and skip the homing step [S1][S3].
Inside industrial automation, CNC, robotics, medical imaging, semiconductor, and transportation use cases, the rotary variant is the workhorse for speed and direction feedback on shafts and motors, sitting between a linear encoder (straight-line) and an angle encoder (sub-arcsecond precision) on the resolution ladder [S3].
Incremental vs Absolute: Pick by Whether You Can Home
Incremental encoders output square-wave A and B channels, with an optional Z index pulse once per revolution, and resolve position by counting edges from a known reference [S1][S3]. Absolute encoders output a unique coded word per shaft angle (single-turn) or per revolution count plus angle (multi-turn), so the controller knows the shaft position the instant power is applied, with no homing move [S1][S3].
The decision rule from integrator guidance: if the machine can afford a homing routine at startup and mainly needs speed or relative position, go incremental; if position must be known immediately after any power event, go absolute [S1]. Incremental hardware is simpler and cheaper, absolute hardware is more expensive but removes the safety risk of a free-wheeling axis after a power dip [S3].
Optical vs Magnetic: Precision vs Durability
Optical encoders read a coded disc with an LED and photodiode array, delivering very high resolution and accuracy but with sensitivity to dust, oil, and coolant contamination [S3]. Magnetic encoders read a magnetized rotor with Hall or MR sensors, trading resolution for a sealed, compact, and mechanically rugged package [S3].
For a clean CNC spindle or a semiconductor stage, optical is the default because resolution and repeatability dominate; for a mobile robot joint, an outdoor winch, or any shaft exposed to oil mist, magnetic is the default because the sensing element tolerates contamination that would fog an optical disc [S3]. Optical units also tend to push higher cycle life, with [S2] noting encoded devices can reach roughly 1 million cycles versus tens of thousands for a typical mechanical rotary switch, while magnetic designs trade some of that ceiling for environmental tolerance [S2][S3].
Resolution, PPR, and Bits: Match Numbers to Control Loop

Resolution on incremental units is quoted in pulses per revolution (PPR), and effective count is 4x PPR in quadrature (x4 decoding), so a 1000 PPR disk yields 4000 counts per revolution [S1][S3]. Absolute units are quoted in bits per turn, for example 12-bit single-turn (4096 positions) or 25-bit multi-turn (13-bit single-turn plus 12-bit turns) for typical servo-duty absolute encoders [S3].
Pick the resolution from the positioning tolerance the axis needs: a conveyor tachometer can live with 100 to 500 PPR, a packaging index table usually wants 1000 to 2500 PPR, a servo motor in a pick-and-place head usually runs 17-bit or 23-bit absolute. Over-spec'ing resolution inflates cost and can push the controller's counter bandwidth; under-spec'ing it makes the servo loop visible to the eye as jitter on the moved part [S1][S3].
Mechanical Fit, Shaft Loading, and Sealing
Rotary encoders mount three common ways: hollow-shaft (slides over the motor shaft, no coupling), solid-shaft with a flexible bellows or disc coupling, and through-bore with a stator coupling that clamps to the driven face. Hollow-shaft saves length on the motor, but tolerates less axial and radial play; solid-shaft with a coupling absorbs misalignment and is the friendlier field-replacement choice [S1][S3].
Sealing is rated by the IP code: IP65 resists dust and low-pressure water jets, IP67 handles temporary immersion, and IP69K survives high-pressure, high-temperature washdown seen in food, beverage, and pharma lines [S3]. A factory-floor rotary encoder on a motor in a dirty gearbox area should be at least IP65; an encoder mounted on a paper-mill calender or a marine winch should be IP67 or higher, and a semiconductor wet-bench unit usually wants a sealed housing regardless of the IP number, because the cleanroom chemistry will attack exposed bearings faster than dust will [S3].
Interface and Signal: TTL, HTL, 1Vpp, SSI, and Fieldbus

Incremental outputs come as line-driver TTL (5 V, RS-422, typical 10 to 30 m cable), HTL (10 to 30 V push-pull, for long runs and noisy plants), and 1Vpp analog sine/cosine (used with high-resolution interpolating controllers in CNC) [S3]. Absolute outputs include SSI (Synchronous Serial Interface, typically 1 to 5 MHz clock, deterministic and noise-tolerant), parallel push-pull, and industrial fieldbus protocols such as PROFINET, EtherCAT, and CANopen that integrate the encoder straight into the machine network [S3].
Match the electrical interface to the controller card first, not the other way around: a Siemens SINUMERIK expects 1Vpp or EnDat, a Beckhoff EtherCAT servo expects digital single-cable protocols, a low-cost PLC high-speed counter card is happiest with 24 V HTL [S3]. When integrating a pressure transmitter or other 4 to 20 mA device on the same machine, keep the encoder cable on a segregated tray, because HTL and TTL edges couple easily into adjacent low-level analog runs [S3].
Small-Panel EC11 vs EC12: When the Encoder Is Also a Knob
For front-panel human-input duty, the EC11 and EC12 are the two most common 12 mm or so panel-mount mechanical rotary encoders, and the comparison lands on three numbers: detent feel, body size, and cycle life [S4]. The EC11 is the smaller and cheaper of the pair and is widely stocked for volume consumer and instrument-panel designs, while the EC12 is slightly larger and is defined by a clear 24-step detent feel that operators can feel by hand [S4].
Use EC11 when board space, unit cost, and broad supply-chain availability matter more than the click feel, for example inside a handheld tuner, a low-cost test box, or any design where the encoder is mostly a digital volume or menu jog. Use EC12 when the operator turns the knob a lot per shift and the application is better served by a defined tactile position every 15 degrees of rotation, such as on a bench-top instrument, a pro-audio mixer, or a machine front panel where blind operation matters [S4]. Neither EC11 nor EC12 is appropriate for high-speed or high-resolution machine feedback; for any motion-control loop, go to a shafted industrial encoder with sealed bearings and a proper line driver [S3][S4].
Selection Checklist and Common Failure Modes

A spec-driven buyer's checklist for a rotary encoder: define the motion (rotational, shaft or hollow bore), pick output type (incremental or absolute), choose sensing technology (optical or magnetic), set resolution from positioning tolerance (PPR for incremental, bits for absolute), verify IP rating against the washdown or dust load, pick interface to match the controller (TTL, HTL, 1Vpp, SSI, PROFINET, EtherCAT, CANopen), and confirm lifecycle rating against the duty cycle of the machine [S1][S3].
Most encoder field failures are not "the encoder broke"; they are bearing failure from radial load and belt tension, signal loss from a pinched cable, contamination on an optical disc, or a mis-sized resolution causing the loop to oscillate. Spec the bearing load with margin, route the cable away from VFD power leads, and pick a sealed housing before you pick a higher PPR number [S1][S3]. For a procurement workflow that puts spec discipline ahead of price, the same connector sourcing workflow used for industrial harness builds maps cleanly onto encoder sourcing, because the failure modes (wrong pinout, wrong IP, wrong protocol) are similar in nature. The two trackable signals to watch on every supplier datasheet are the PPR and IP code, because those two numbers gate roughly 80 percent of the do-not-fit returns in a typical distributor's RMA pile [S1][S3].
The underlying component specifications are covered under rotary encoder.