Common input devices of PLC and how to correctly connect input and output circuits

Publisher:upsilon30Latest update time:2024-04-02 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Common input devices of PLC include buttons, travel switches, proximity switches, conversion switches, encoders, various sensors, etc. Output devices include relays, contactors, solenoid valves, etc. Correctly connecting input and output circuits is the prerequisite for ensuring the safe and reliable operation of PLC.


1. Connection between PLC and main electrical equipment

wKgZomUOjvqAKcvnAAFq2YJ0f0g419.png

Figure 1 is a wiring diagram for input devices such as buttons, travel switches, and transfer switches. The PLC in the figure is a DC junction input, that is, all input points share a common terminal COM, and the COM terminal has a DC24V power supply. If it is a group input, you can also refer to the method in the figure below for group connection.

▲Figure 1 Connection between PLC and main electrical input devices

2. Connection between PLC and rotary encoder

The 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 is counted by the high-speed counter of the PLC to obtain the measurement result. Different types of rotary encoders have different output pulse phases. Some rotary encoders output three-phase pulses of A, B, and Z, some only have two phases of A and B, and the simplest one has only A phase.

wKgaomUOjv-AGNjfAAB30Xm-doo464.png

▲Figure 2 Connection between rotary encoder and PLC

As shown in Figure 2, it is a connection diagram between a rotary encoder that outputs two-phase pulses and an FX series PLC. The encoder has 4 leads, 2 of which are pulse output lines, 1 is a COM terminal line, and 1 is a power line. The encoder's power supply can be an external power supply, or it can directly use the PLC's DC24V power supply. The power supply "-" end should be connected to the encoder's COM terminal, and the "+" end should be connected to the encoder's power terminal. The encoder's COM terminal is connected to the PLC input COM terminal, and the A and B two-phase pulse output lines are directly connected to the PLC input terminal. When connecting, pay attention to the response time of the PLC input. Some rotary encoders also have a shielded wire, which should be grounded when used.

3. Connection between PLC and sensor

There are many types of sensors, and their output methods are also different. When using two-wire sensors such as proximity switches and photoelectric switches, due to the large leakage current of the sensor, an erroneous input signal may occur, causing the PLC to malfunction. In this case, a bypass resistor R can be connected in parallel to the PLC input end, as shown in Figure 3. When the leakage current is less than 1mA, its impact can be ignored.

wKgaomUOjwWACehzAABLl2HWKz0401.png

▲Figure 3 Connection between PLC and two-wire sensor

Where: I is the leakage current of the sensor (mA), UOFF is the upper limit of the low level of the PLC input voltage (V), RC is the input impedance of the PLC (KΩ), and the value of RC varies depending on the input point.

4. Connection between PLC and multi-position DIP switch

If some data in the PLC control system needs to be modified frequently, a multi-bit DIP switch can be used to connect to the PLC and set the data outside the PLC. As shown in Figure 4, it is a schematic diagram of a single-bit DIP switch. A single-bit DIP switch can input a decimal number 0 to 9, or a hexadecimal number 0 to F.

Assemble the 4-position DIP switches together, connect the COM terminals of each DIP switch together, and connect them to the COM terminal on the PLC input side. The 4 data lines of each DIP switch are connected to the 4 input points of the PLC in a certain order. As can be seen from the figure, the use of DIP switches will occupy many PLC input points, so this method should not be used unless it is absolutely necessary.

5. Connection between PLC and output device switch

When the PLC is connected to the output device, the voltage type and level of the corresponding output device (load) can be different for the output points of different groups (different common terminals), but the voltage type and level of the output points of the same group (same common terminal) should be the same. It is necessary to decide whether to connect in groups according to the type and level of the output device voltage. As shown in Figure 6, the connection method between the PLC and the output device is explained by taking FX2N as an example. The connection method in the figure is the case where the output devices have the same power supply, so the common terminals of each group are connected together, otherwise they must be connected in groups. The figure only shows the connection between the Y0-Y7 output points and the output device, and the connection methods of other output points are similar.

6. Connection between PLC and inductive load

The output end of the PLC is often connected to an inductive output device (inductive load). In order to suppress the voltage generated when the inductive circuit is disconnected and cause damage to the internal output components of the PLC, when the PLC is connected to an inductive output device, if it is a DC inductive load, a freewheeling diode should be connected in parallel at both ends; if it is an AC inductive load, a RC absorption circuit should be connected in parallel at both ends. As shown in Figure 7.

In the figure, the freewheeling diode can be selected with a rated current of 1A and a rated voltage greater than 3 times the power supply voltage; the resistance value can be 50~120Ω, the capacitance value can be 0.1~0.47μF, and the rated voltage of the capacitor should be greater than the peak voltage of the power supply. Pay attention to the polarity of the freewheeling diode when wiring.

7. Connection between PLC and seven-segment LED display

PLC can directly use switch output to connect to the seven-segment LED display, but if the PLC controls a multi-digit LED seven-segment display, many output points are required.

In the circuit, the chip CD4513 with latching, decoding and driving functions is used to drive the common cathode LED seven-segment display. The data input terminals A to D of the two CD4513 share the four output terminals of the PLC, where A is a bit and D is a bit. LE is the latch enable input terminal. At the rising edge of the LE signal, the BCD number input at the data input terminal is latched in the register on the chip, and the number is decoded and displayed. If the input is not a decimal number, the display goes out. When LE is high, the displayed number is not affected by the data input signal. Obviously, the number of output points occupied by N displays is P=4+N. If the PLC uses a relay output module, a pull-down resistor should be connected to each output terminal of the PLC connected to the CD4513 to avoid the input terminal of the CD4513 being suspended when the contact of the output relay is disconnected. When the state of the PLC output relay changes, its contact may shake, so the data output signal should be sent first, and after the signal is stable, the data should be latched into the CD4513 using the rising edge of the LE signal.


Keywords:PLC Reference address:Common input devices of PLC and how to correctly connect input and output circuits

Previous article:An article explains the structural units of PLC
Next article:6 Places Where Electromagnetic Interference in PLC Control Systems May Come From

Recommended ReadingLatest update time:2024-11-16 09:37

Method of measuring analog signal by using high-speed counter in S7-200PLC
1. Analog quantity acquisition requires a good signal environment, including good power supply for sensors and instruments! Try to avoid strong power cables and high, medium and low frequency interference in analog quantity transmission lines, such as: high frequency welding pipe machine, medium frequency heating fu
[Embedded]
How to understand the input signal of PLC? Wiring and implementation of NPN and PNP logic
PLC (Programmable Logic Controller) is a technology that combines software and hardware, because the programs we write require external wiring to be implemented, and a PLC with only wiring but no program has no engineering significance. Therefore, when starting to learn PLC, you must correct a concept, that is, PLC
[Embedded]
How to understand the input signal of PLC? Wiring and implementation of NPN and PNP logic
PLC control circuit for sequential start/stop of two motors
The PLC control circuit diagram is as follows: PLC control l/O allocation table is as follows: The ladder diagram is as follows: The specific startup process is: When the start button sB2 of the motor M1 is pressed, it sets ×2 in pLc to 1, that is, the contact is connected, so t
[Embedded]
PLC control circuit for sequential start/stop of two motors
PLC programming skills, special function modules and touch screen
Programmable Controller (PC or PLC for short) is an electronic system for digital computing operations, specially designed for use in industrial environments. The programmable controller was developed based on electrical control technology and computer technology, and has gradually developed into a new ty
[Embedded]
PLC programming skills, special function modules and touch screen
Introduction to Siemens PLC Common Instructions
1. Bit Logic Instructions 1. Contact and coil instructions Programming principles of PLC ladder diagram language 1. The ladder diagram consists of multiple rungs. Each coil can constitute a rung. Each rung has multiple branches, and each rung represents a logic equation. 2. The relays, contacts a
[Embedded]
Introduction to Siemens PLC Common Instructions
PLC scanning process and execution principle
To learn PLC, you must have a deep understanding of the scanning process and execution principle of PLC in order to write programs reliably and accurately. Generally speaking, PLC programs are scanned and executed sequentially from top to bottom and from left to right. It takes three processes to actually output and
[Embedded]
PLC scanning process and execution principle
S7 Communication Server Solution for S7-1200 PLC
The PROFINET communication port of S7-1200 can be used as the server or client of S7 communication (CPU V2.0 and above). S7-1200 only supports S7 unilateral communication. You only need to configure (as shown in Figure 1) and connect and program (as shown in Figure 2) on the client side, and the server side only nee
[Embedded]
Basic steps in programming PLC
1 System Design 2 Design PLC ladder diagram program For elevator electrical control that uses PLC as the intermediate process control, after the circuit schematic and installation wiring diagram are designed and drawn, the PLC ladder diagram program corresponding to the circuit schematic must a
[Embedded]
Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号