AiVibe

PLC & Industrial Control

Rotary Encoder

A rotary encoder is a sensor that converts the angular position or motion of a shaft into electrical signals, giving controllers and drives the position and speed feedback needed for closed-loop motion control.

Incremental encoders output pulse trains, typically two channels in quadrature called A and B, whose phase relationship indicates direction, plus an optional once-per-revolution index pulse. The controller counts pulses relative to a reference point, which is lost when power is removed unless re-established by homing. Absolute encoders instead report a unique digital value for every shaft position, in single-turn or multi-turn versions, so position is known immediately at power-up.

Encoders provide feedback for servo motors, closed-loop vector drives, conveyors, cut-to-length systems, robots and machine tools. Optical encoders offer high resolution, magnetic encoders tolerate dirt and vibration well, and resolvers, which are electromagnetic devices rather than encoders, are used in harsh, hot environments. Absolute encoders communicate over serial interfaces such as SSI, BiSS or EnDat, over vendor-specific protocols or over fieldbuses.

Key specifications include resolution in pulses or bits per revolution, accuracy, maximum speed, output type, shaft or hollow-shaft mounting and environmental protection. Signal integrity matters: differential line-driver outputs, shielded cable and correct grounding reduce counting errors caused by electrical noise. Encoders used in safety functions must be safety-rated and integrated into the machine's validated safety design.

Key points

Where AiVibe comes in

AiVibe designs and manufactures the AiAmbA AI Factory, whose edge devices and AI agents let people talk to PLC, CNC and robot controllers in plain language. Agents only propose changes, a trained operator confirms each one, and the AI Factory never replaces a machine's control or safety systems.

Explore AiVibe’s work in PLC & Industrial Control →

Related terms

Ask AiMuruga can explain Rotary Encoder for your plant, product or security programme, and draw how it fits.