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
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
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 can be 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 has only A phase.
▲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.
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.
▲Figure 4 Schematic diagram of a one-bit dip switch
As shown in Figure 5, 4-bit DIP switches are assembled together, and the COM terminals of each DIP switch are connected together and connected 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.
▲Figure 5 Connection between 4-bit DIP switch and PLC
5. Connection between PLC and output device switch
When the PLC is connected to the output device, the output points of different groups (different common terminals) can have different voltage types and levels of the corresponding output devices (loads), but the output points of the same group (same common terminal) should have the same voltage type and level. 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 using FX2N as an example. The connection method in the figure is that 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 for other output points are similar.
▲Figure 6 Connection between PLC and output device
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 6-10.
▲Figure 7 Connection between PLC and inductive output device
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.
▲Figure 8 Connection between PLC and two-digit seven-segment LED display
As shown in Figure 8, the circuit uses a chip CD4513 with latching, decoding, and driving functions to drive the common cathode LED seven-segment display. The data input terminals A to D of the two CD4513 share the four outputs of the PLC, where A is the lowest bit and D is the highest bit. LE is the latch enable input terminal. At the rising edge of the LE signal, the BCD number input from 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 PLC output terminal connected to CD4513 to prevent the input terminal of CD4513 from being suspended when the output relay contacts are disconnected. When the state of the PLC output relay changes, its contacts may shake, so the data output signal should be sent first, and after the signal stabilizes, the data should be latched into CD4513 using the rising edge of the LE signal.
Previous article:Importance of KE300A inverter on mixer
Next article:PLC programming skills, special function modules and touch screen
Recommended ReadingLatest update time:2024-11-16 11:38
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Live broadcast with prizes | Infineon BMS solutions protect electric vehicles and energy storage systems!
- [Qinheng RISC-V core CH582] PWM control heater
- Kicad one-click gerber generation plug-in
- EEWORLD University Hall----Easy simulation and control of quadcopters with MATLAB & Simulink
- MSP430 Reference Designs for Medical Applications
- C5000 Ultra-Low Power DSP
- Now in mass production! Infineon's carbon dioxide sensor based on photoacoustic spectroscopy (PAS) technology gives objects the sense of smell
- EEWORLD University Hall----MIT Open Course: Circuits and Electronics
- Please analyze the circuit at the output end of the power supply.
- What are forward and flyback power supplies? What are the differences between forward and flyback? How to quickly distinguish them?