A rotary encoder is a photoelectric rotary measuring device that directly converts the measured angular displacement into a digital signal (high-speed pulse signal).
The encoder is divided by signal principle, and there are incremental encoders and absolute encoders.
We usually use an incremental encoder, which can directly input the output pulse signal of the rotary encoder to plc, and use the high-speed counter of the PLC to count the pulse signal to obtain the measurement result. Different types of rotary encoders have different phase numbers of output pulses. Some rotary encoders output A, B, and Z three-phase pulses, and some have only two phases, A and B. The simplest is phase A.
The encoder has 5 leads, 3 of which are pulse output lines, 1 is a COM end line, and 1 is a power line (OC gate output type). The power supply of the encoder can be an external power supply, or it can directly use the DC24V power supply of the PLC. The "-" end of the power supply should be connected to the COM end of the encoder, and the "+" should be connected to the power supply end of the encoder. The COM end of the encoder is connected to the COM input terminal of the PLC. The A, B and Z two-phase pulse output lines are directly connected to the input end of the PLC. A and B are pulses with a difference of 90 degrees, and the Z-phase signal is rotated only once in the encoder. A pulse, usually used to make the basis of the zero point, pay attention to the response time of the PLC input when connecting. The rotary encoder also has a shielded wire. When used, the shielded wire should be grounded to improve the anti-interference.
Encoder-----------PLC
A-----------------X0
B-----------------X1
Z------------------X2
+24V------------+24V
COM------------- -24V-----------COM
Fan Motor,Air Cooler Motor,Ac Motor Air Cooler,Asynchronous Fan Motor
WUJIANG JINLONG ELECTRIC APPLIANCE CO., LTD , https://www.jinlongmotor.com