How to connect PLC with other devices

Publisher:云自南国来Latest update time:2023-06-08 Source: elecfansKeywords:PLC Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1. Connection between PLC and main electrical equipment

Figure 6-4 shows the wiring diagram for input devices such as buttons, travel switches, and conversion 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 Figure 6-4 for group connection

25c9ff6c-c018-11ed-bfe3-dac502259ad0.jpg

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 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 has only A phase.

25debd76-c018-11ed-bfe3-dac502259ad0.jpg

Figure 6-7 shows the connection diagram of the rotary encoder that outputs two-phase pulses and the FX series PLC. The encoder has 4 leads, 2 of which are pulse output lines, 1 is the COM terminal line, and 1 is the power line. The encoder power supply 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 "+" end should be connected to the power end of the encoder. The COM end of the encoder is connected to the COM end of the PLC input, and the A and B two-phase pulse output lines are directly connected to the input end of the PLC. 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 terminal, as shown in Figure 6-8. When the leakage current is less than 1mA, its impact can be ignored.

25f1a828-c018-11ed-bfe3-dac502259ad0.jpg

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, you can use a multi-position DIP switch to connect to the PLC and set the data outside the PLC. Figure 6-5 shows a schematic diagram of a single-position DIP switch. A single-position DIP switch can input a decimal number 0 to 9 or a hexadecimal number 0 to F.

260b60f6-c018-11ed-bfe3-dac502259ad0.jpg

Figure 6-5 Schematic diagram of a single-bit dip switch

As shown in Figure 6-6, 4-position 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 is generally not used unless it is absolutely necessary.

2624ad4a-c018-11ed-bfe3-dac502259ad0.jpg

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-9, 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.

263ea844-c018-11ed-bfe3-dac502259ad0.jpg

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.

265671c2-c018-11ed-bfe3-dac502259ad0.jpg

Figure 6-10 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.

2671f5fa-c018-11ed-bfe3-dac502259ad0.jpg

In the circuit shown in Figure 6-11, 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 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.


Keywords:PLC Reference address:How to connect PLC with other devices

Previous article:What is Industrial Ethernet? What is the difference between Industrial Ethernet and ordinary Ethernet?
Next article:Several most commonly used PLC programming control circuits

Recommended ReadingLatest update time:2024-11-16 12:49

Six basic programming examples of PLC
1. Start-stop control circuit Control requirements: Press the start button (I0.0 is ON), Q0.0 is ON; press the stop button (I0.1 is OFF), Q0.0 is OFF. See Figure 1 for the ladder diagram. 2. Interlock control circuit In the interlock circuit shown in Figure 2, I0.0 and I0.1 are start buttons,
[Embedded]
Six basic programming examples of PLC
Comparison between PLC and motion controller
"Nowadays, the motion control function of PLC is getting stronger and stronger. Circular interpolation, spiral interpolation, and electronic cam can all be easily competent. So what is the difference between motion controller and PLC with motion control function? What are the advantages of motion controller in the f
[Embedded]
Comparison between PLC and motion controller
Share the correspondence table between 20 PLC component numbers and Modbus number addresses
I have done Modbus RTU serial communication between a microcontroller and the following 20 PLCs. Now I would like to share the correspondence table between the input, output and register components of these 20 PLCs and their Modbus number addresses. Mitsubishi FX3G-40MR/ES-A, Siemens S7-200 CPU226 AC/DC/R
[Embedded]
Share the correspondence table between 20 PLC component numbers and Modbus number addresses
Detailed explanation of Modbus communication between Siemens PLC S7-200 SMART and G120 inverter
1. System Configuration 1.1 Software A PC with Step7 Micro/Win SMART software (including Modbus protocol library) installed. In this example, Step7 Micro-Win SMART V2.0 is used. 1.2 Hardware G120 is equipped with a CU240E-2 control unit inverter, an asynchronous motor, an S7-200 SMART PLC, a stan
[Embedded]
Detailed explanation of Modbus communication between Siemens PLC S7-200 SMART and G120 inverter
Siemens S7-200 SMART series PLC wiring summary
The load current of a relay is larger than that of a transistor, but the output frequency cannot be too fast due to the influence of the mechanical device, and there is also a limit on the mechanical life. The load current of a transistor is smaller than that of a relay, but the output frequency is fast and can be u
[Embedded]
Siemens S7-200 SMART series PLC wiring summary
PLC analog input conversion process
PLC analog input collects data, and after calculation-conversion, it gets MD double word, and finally the host computer monitor displays the address DB.DBW single word. How is this process converted and what instructions are used? Please give me some advice, preferably with detailed examples, thank you! H
[Embedded]
Design Concept and Format Specification of PLC Ladder Diagram Programming Language
PLC ladder diagram programming language is a programming language used to write automation applications. Its name comes from the shape of the ladder diagram, each ladder represents a logical function block. Ladder diagram programming language is a graphical programming language with the advantage of being easy to un
[Embedded]
Siemens commonly used PLC instruction table
Siemens commonly used PLC instruction table Calculates the time difference between the current time and the time provided by IN and stores the time difference in ouT. The maximum time interval for a double-word millisecond value is 2 to the power of 32, or 49.7 days. Depending on when the BGN_ITIMB instruction
[Embedded]
Siemens commonly used PLC instruction table
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号