A rotary encoder is a photoelectric rotary measuring device that directly converts the measured angular displacement into a digital signal (high-speed pulse signal). Therefore, the output pulse signal of the rotary encoder can be directly input to the plc, and the pulse signal of the PLC is counted by the high-speed counter of the PLC 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.
As shown in the figure, the connection diagram of the rotary encoder outputting the two-phase pulse and the FX2N series PLC is shown.
The encoder has 4 leads, 2 of which are pulse output lines, 1 is a COM end line, and 1 is a power line.
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 and B two-phase pulse output lines are directly connected to the input end of the PLC. Pay attention to the response time of the PLC input when connecting. Some rotary encoders also have a shielded wire. When using it, ground the shielded wire.
Description: This article takes Mitsubishi FX2N series PLC and Omron E6B2-CWZ6C rotary encoder as an example to introduce the hardware connection of encoder and PLC. For other series and when using high-speed counting modules, the wiring method should refer to the manual. To receive the counter number corresponding to a terminal, you need to refer to the description of the high-speed counter in the Mitsubishi FX Programming Manual.
Watch & Apple Airtag Screen Protector
TPU Watch Screen Protector, Transparent ​Watch Screen Protector, Watch Screen Protector Case, Apple Watch Case, Apple Watch Case Protector, Apple Watch Protective Case
Shenzhen Jianjiantong Technology Co., Ltd. , https://www.tpuprotector.com