Share this

Discussion on Wiring Issues Between Rotary Encoders and PLCs

2026-04-06 04:32:21 · · #1

A PLC (Programmable Logic Controller) is used in many industries. Our company's magneto-electric encoders require a PLC to work with, using the pulse data from one rotation to calculate distance, displacement, angle, and speed. Therefore, the PLC wiring is crucial. Incremental encoders and PLCs require specific connection methods. Today, Shengwei Electronics will explain the wiring process for incremental encoders and PLCs .

Rotary encoders are classified into incremental encoders and absolute encoders based on their signal principle. A rotary encoder is a photoelectric rotary measuring device that directly converts the measured angular displacement into a digital signal (high-speed pulse signal). Incremental encoders output pulses during rotation, and their position is determined by a counting device ( PLC ). We typically use incremental encoders, where the output pulse signal can be directly input to a PLC . The PLC 's high-speed counter counts these pulses to obtain the measurement result. Different models and manufacturers of incremental encoders have different numbers of output pulse phases. Some rotary encoders output three-phase pulses ( A , B , Z) , some only have two phases (A and B) , and the simplest only has one phase (A ). The most common type has three sets of three-phase pulses: A , A+ , A- , B , B+ , B- , Z , Z+ , Z- . A typical incremental encoder has five leads: three pulse output lines, one COM terminal line, and one power supply line ( OC gate output type). The encoder can be powered by an external power supply or directly from the PLC 's DC 24V power supply. The power supply terminal (- ) should be connected to the encoder's COM terminal, and the power supply terminal (+) should be connected to the encoder's power supply terminal. The encoder's COM terminal is connected to the PLC's COM input terminal . The A , B , and Z phase pulse output lines are directly connected to the PLC 's input terminals. A and B are pulses 90 degrees out of phase. The Z phase signal produces only one pulse per revolution of the encoder and is typically used as a zero-point indicator. When connecting, pay attention to the PLC 's input response time. The rotary encoder also has a shielded wire; this shielded wire must be grounded to improve interference immunity.

SOUNDWELL encoders, established in 1991 , are manufactured by Guangdong Shengwei Electronic Products Co., Ltd. , a 28- year veteran encoder manufacturer . We are a national industry standard-setting unit for encoders , and an IATF16949 and ISO9001/14001 certified company . We specialize in producing rotary encoders , hollow encoders , encoder switches , surface mount encoders , magneto-electric encoders , incremental encoders , absolute encoders, and more. We offer a wide and complete range of encoder models , perfectly replacing encoders from various domestic and international brands . Contact Ms. Li at 18219276011 for replacement solutions and free samples !


Disclaimer: This article is a reprint. If it involves copyright issues, please contact us promptly for deletion (QQ: 2737591964). We apologize for any inconvenience.

Read next

CATDOLL Katya Hybrid Silicone Head

The hybrid silicone head is crafted using a soft silicone base combined with a reinforced scalp section, allowing durab...

Articles 2026-02-22