How to wire the incremental encoder to the PLC
How to wire the incremental encoder to the PLC
PLC is a programmable controller, which has certain applications in many industries. The magnetic encoders produced by okplazas.com need to be used in conjunction with PLC to calculate distance, displacement, angle, speed and so on with the pulse data of one revolution. Therefore, the connection problem of the PLC needs our attention. The incremental encoder and the PLC need to have a certain method when linking. Today, okplazas.com Electronics will give you a specific introduction to the incremental encoder and PLC. Wiring problem.
Encoders are divided by signal principle, there are incremental encoders and absolute encoders. The rotary encoder is a photoelectric rotary measuring device, which directly converts the measured angular displacement into a digital signal (high-speed pulse signal). Incremental encoders output pulses during rotation, and know their position by counting equipment (PLC). We usually use incremental encoders. The output pulse signal of incremental encoders can be directly input to PLC, using PLC The high-speed counter counts its pulse signals to obtain measurement results. Incremental encoders of different models and different manufacturers have different phases of output pulses. Some rotary encoders output three-phase pulses of A, B, and Z, and some only have two-phase A and B phases. The simplest one is only Phase A. There are at most three groups of three-phase pulses: A, A+, A-, B, B+, B-, Z, Z+, and Z-. The commonly used incremental encoder has 5 leads, of which 3 are pulse output lines, 1 is the COM terminal line, and 1 is the power line (OC gate output type). The power supply of the encoder can be an external power supply, or directly use the DC24V power supply of the PLC. The power-terminal should be connected to the COM terminal of the encoder, and the + terminal should be connected to the power terminal of the encoder. The COM terminal of the encoder is connected to the PLC input COM terminal. The A, B, and Z phase pulse output lines are directly connected to the input terminal of the PLC. A and B are pulses with a difference of 90 degrees. The Z-phase signal can only be rotated once the encoder is rotated. A pulse is usually used as the basis for the zero point. Pay attention to the response time of the PLC input when connecting. The rotary encoder also has a shielded wire, which should be grounded when using it to improve anti-interference.