Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

1. Input Circuit Wiring

The input circuit is the port through which the PLC receives signals (for analog signals, it is generally a DC current of 0-40MA or a DC voltage signal of 0-10V). Input wiring refers to the external input devices (any passive contacts and NPN transistors with open collector) that connect to the input circuit, closing the loop, while the input indicator LED lights up. Common external input devices include buttons, proximity switches, toggle switches, dip switches, and various sensors, which serve as the main control devices for issuing various control signals to the system.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

(1) Connection of PLC Input Module to Main Control Devices

In the diagram, the Panasonic PLC uses a DC common point input, so the input points share a common terminal COM, which also carries a DC24V power supply. When writing programs, pay attention to whether the external devices use normally closed or normally open contacts.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

In the electrical schematic of the input side, the stop button SB0 uses a normally closed contact, connected in series in the control line, for stop control. The start button SB1 uses a normally open contact. The two ladder diagrams designed have the same control function, but the stop signal X0 uses different types of contacts, so the type of external stop button contact connected at the endpoint will also differ.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

I/O allocation SB0-X0, SB1-X1, output K0-Y0. When using normally closed contacts externally, if the button is not operated, the output Y0 remains normally connected. In PLC control systems, external switches for starting or stopping are generally selected as normally open types.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

(2) Connection of Proximity Switches to PLC Input Modules

In the design of PLC control systems, wiring work is relatively minor, but it is the foundation of programming design. To ensure the correctness of wiring work, a clear understanding of the PLC’s input and output circuits is necessary.

1. PLC DC input circuit: There are active (common anode) input circuits and leakage (common cathode) input circuits. Therefore, in the leakage input circuit, the COM terminal of the PLC is connected to the positive terminal of the external DC power supply. For example, the COM terminal of the Siemens S7-400 PLC DC input module must be connected to the positive terminal of the external power supply. Thus, the input signal for Siemens PLC is a low voltage signal; if the external signal is a high voltage signal, it should be converted through an intermediate relay.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

2. The AC input circuit voltage for PLC is generally AC120V or AC230V, which goes through resistance limiting and capacitor isolation before being rectified into DC. Therefore, the input signal delay time is longer than that of the DC circuit, but the input side is high voltage, ensuring the reliability of the input signal, which is generally used in harsh environments where response requirements are not high.

(3) Connection of Digital Signals to PLC Input Modules

For different PLC input circuits, the input method of sensors (NPN or PNP) should be correctly selected. When the NPN type sensor operates, the OUT terminal is at 0V (the OUT of the NPN type should be connected to the leakage type of the PLC input), outputting a low-level signal. When the PNP type sensor operates, the OUT terminal is at +V, outputting a high-level signal.

(4) Optimization of PLC Input Circuit Wiring

1. Reduce the number of input points and group inputs.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

As shown in the diagram, the system is divided into automatic and manual working modes. Q1-Q8 are the input signals used in manual mode, while S1-S8 are the input signals used in automatic mode. S1 and Q1 share the input point X0; during PLC operation, only one group of signals will be used, so the PLC input points can be shared. (The diodes in the diagram are used to prevent parasitic circuits and avoid erroneous input signals.)

2. Multifunctionality of input devices: In the PLC system, the PLC logic functions can be utilized to enable a device to generate different signal actions under different conditions.

3. Connection of different forms of DC input signals to PLC.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

DC active input signals are generally 24V. When these signals are mixed with other passive switch signals connected to the PLC input points, the 0V point of the voltage must be connected. In the above diagram, input points I0.0 and I0.1 are connected to the output OUT signals of photoelectric encoders and proximity switches, with their driving power supplied by the PLC’s own 24V voltage.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

Different voltage DC signals must have the same reference point for the input points of the PLC input module. That is, their 0V signals must be connected together.

4. For switch signals introduced to the PLC via long lines, small relays can be used to transfer input signals, avoiding interference from external strong electromagnetic fields.

2. Output Circuit Wiring

Since PLC output components are encapsulated on the circuit board and connected to the output terminal board, short-circuiting the output components will burn the printed circuit board, so fuses should be used to protect the output components. The switch output modules include relays, transistors, and thyristor outputs. Output wiring is divided into common output and independent output. DC output requires a flyback diode for protection, AC output requires an RC snubber circuit, and transistor and thyristor outputs require bypass resistor protection, as well as external emergency stop circuits.

(1) There are three types of PLC outputs, and wiring for these three output circuits should be noted.

1. Relay output wiring: Applicable to both AC and DC circuits, different common points can carry different AC and DC voltage loads. Load capacity is differentiated by load nature: resistive load 2A/1 point, 8A/4 points COM, inductive load capacity 80VA, bulb load 100W. It can be seen that relay-type output PLCs can handle relatively large currents, but the response time of the output contacts is relatively slow.

2. Transistor output: Applicable to DC circuits, voltage range DC5-30V, resistive load 0.5A/1 point, 0.8A/4 points COM, inductive load capacity 12W/DC24, bulb load 1.5W/DC24. It can be seen that transistor-type output PLCs have a fast response time for output contacts, but the current they can handle is small.

3. Thyristor output: Suitable for high-frequency operation, but can only carry DC5-30V, with a maximum load current of 0.5A and a bulb load of 30W.

4. An appropriate fuse must be set in the output circuit for protection. For DC inductive loads, a diode should be connected in parallel to extend the contact life, with the diode specification being 5-10 times the load voltage and the circuit exceeding the load current.

5. Neon lamps or small current loads require a surge suppressor in parallel.

6. For motor forward and reverse circuits, in addition to the PLC internal program needing to be designed with interlocking, the external wiring must also be interlocked.

(2) Selection of COM Points

Since there are no fuses inside the PLC, a fuse should be added at the COM point. When there are many types of loads and high currents, a PLC product with one COM point carrying 1-2 output points can be used. When there are many loads but fewer types, a PLC product with one COM point carrying 4-8 output points can be used.

(3) Connection of PLC to Inductive Devices

When the PLC input and output terminals are connected to inductive load components, the flyback diode protection for DC outputs (a flyback diode is connected in parallel across the DC circuit) and the RC snubber circuit for AC outputs must be implemented.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

For high-capacity load circuits, an RC snubber circuit must be connected across the main contacts of the relay.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

(4) Connection of PLC to Seven-Segment LED Displays

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

In the above diagram, the data input terminals A-D of two CD4513s share four output terminals Y0-Y3 of the PLC, with A being the lowest and D the highest. LE is the latch input terminal; when LE is high, the input data will be stored in the register inside the chip and displayed after decoding. When using relay output modules with the PLC, a pull-down resistor should be connected to each output terminal connected to the CD4513 to avoid floating inputs when the output relay is disconnected.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

Seven-segment displays come in common cathode (common terminal grounded) and common anode (common terminal connected to +5V) types, which are commonly used display devices in electrical instruments.

(5) Optimization of PLC Control System Output Circuit Wiring

Measures to reduce output points

1. Matrix output: To activate a specific device (load), simply control the corresponding output relay. When using matrix output, loads that are activated simultaneously must be arranged in the same column.

2. Group output: Each PLC output point can control two loads that do not operate simultaneously. When two groups of loads will not operate at the same time, an external switch SA can be used for switching.

3. Parallel output: Two identical loads can be connected in parallel to share one PLC output point.

4. Measures to improve PLC output reliability: The relay contact capacity of PLC output modules is generally 2A. If the load power at the output point is too large, an output relay can be used to drive an intermediate relay, which in turn drives the load.

Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!Comprehensive Guide to PLC Input and Output Circuit Wiring: Essential Knowledge for Beginners!

Leave a Comment