Overview
A programmable logic controller (PLC) is an electronic device designed for digital computation in industrial environments. It uses programmable memory to store instructions for performing logic, sequencing, timing, counting, and arithmetic operations, and can control various types of mechanical equipment or production processes via digital or analog inputs and outputs. Because industrial sites are often harsh environments, PLC fault handling is an important part of instrument and equipment maintenance. This article summarizes common PLC faults and practical solutions to improve PLC maintenance skills.
1. Common Fault Hotspots
Within a PLC control system, faults are most likely to occur in the field. The following are typical fault-prone areas.
1) Relays and Contactors
In daily maintenance of a production line PLC control system, the electrical spare parts with the highest consumption are various relays and circuit breakers. Apart from product quality issues, the main cause is the harsh field environment. Contact points exposed in the production environment are prone to arcing or oxidation, gradually overheating and deforming until they become unusable. Enclosed control cabinets generally extend component life compared with open-type cabinets. To reduce such faults, select high-performance relays where appropriate and improve the component operating environment to reduce replacement frequency and minimize impact on system operation.
2) Valves and Gate-Type Devices
These devices typically have large actuator travel or complex transmission structures. Small deviations in mechanical, electrical, or hydraulic links can produce errors or faults. Without regular maintenance, valve bodies can seize, clog, or leak over long-term operation. Strengthen routine inspections for these devices and address problems promptly. The plant established a strict inspection regime, periodically checking valve deformation, actuator mobility, and controller functionality, which improved overall control system reliability.
3) Switches, Limit Positions, Safety Devices, and Field Controls
Failures here can result from long-term wear or corrosion from disuse. For example, a feeder trolley at the kiln tail that travels frequently in a dusty environment can cause proximity switch contacts to deform, oxidize, or be blocked by dust, leading to poor contact or sluggish response. Regular maintenance is essential to keep these devices functional. For limit switches on heavy equipment, add multiple protective measures during design in addition to periodic maintenance.
4) Subdevices within the PLC System
Examples include junction boxes, terminal blocks, bolts and nuts. Causes include manufacturing quality and installation practices. Over-tightening wire-to-screw connections can complicate secondary maintenance and damage nearby components during forceful disassembly. Long-term arcing and corrosion also cause faults. Such issues are often hard to detect and repair, so follow correct installation and maintenance procedures to avoid hidden hazards.
5) Sensors and Instruments
Faults in sensors and instruments typically manifest as abnormal signals. When installing these devices, shield drains of signal cables should be reliably grounded at one end, and signal cables should be routed separately from power cables, especially noisy inverter output cables. Perform software filtering inside the PLC. Regular inspections and prompt handling of problems help prevent signal-related faults.
6) Power Supply, Grounding, and Signal-Line Noise
Improving or resolving these issues mainly depends on engineering design experience and careful observation during routine maintenance.
To reduce fault rates, emphasize process management and safety operating procedures. Follow process and safety rules, maintain the central control room environment, and strengthen management in production. Process control systems are complete systems, so fault analysis and resolution should consider the system as a whole. Optimizing a single component may not improve overall performance. Over-specifying component precision without matching related equipment increases cost unnecessarily. Avoid making systems more complex than required with elaborate controls or devices when simpler solutions suffice, since complexity can increase fault probability.
2. PLC Fault Troubleshooting Methods
PLC hardware itself is typically reliable, but incorrect application and handling can cause issues.
PLC Self-Diagnosis
PLCs are generally extremely reliable with low failure rates. The probability of CPU hardware damage or software errors is very low. Input points are seldom damaged unless exposed to high-voltage intrusion. Output relay contacts usually have long lifetimes unless external load short circuits or poor design cause excessive load current. When diagnosing electrical faults, focus on peripheral electrical components in the PLC-controlled circuit rather than assuming PLC hardware or programs are at fault. This approach is important for rapid repair and restoring production.
I/O Module Selection
Output modules include transistor, triac, and contact types. Transistor outputs switch fastest (around 0.2 ms) but have the lowest load capacity, typically 0.2–0.3 A at 24 V DC, suitable for fast switching and signal contacts. Note transistor leakage current effects on loads. Triac outputs have no contacts and suit AC loads but have limited load capability. Relay outputs support both AC and DC loads and offer higher load capacity; they are commonly selected for conventional control, although switching speed is slower (around 10 ms), making them unsuitable for high-frequency switching.
Grounding
PLC systems require careful grounding, preferably a dedicated grounding system. Other equipment related to the PLC should also be reliably grounded. Connecting multiple circuit ground points together can create unintended currents that lead to logic errors or circuit damage. Differences in ground potential often arise when ground points are physically separated; currents can flow through communication cables or sensors and create unpredictable currents. Use single-point grounding for PLC systems where appropriate. To improve common-mode rejection for analog signals, apply shielded-floating grounding: ground the shield at one point, keep the signal circuit floating, and ensure insulation from earth with resistance not less than 50 MΩ.
Reduce Line-to-Line Capacitance to Avoid False Operations
Cable conductors have mutual capacitance. Even qualified cables can exceed acceptable capacitance values when long, which may cause unexpected PLC input behavior such as missing expected inputs or showing spurious inputs due to mutual interference. To address this:
- Use twisted-pair cabling where conductors are twisted together;
- Minimize cable lengths;
- Separate inputs that interfere with each other onto different cables;
- Use shielded cables.
Interference Mitigation
Industrial sites have many sources of high- and low-frequency interference, usually introduced to the PLC via connected cables. In addition to grounding, consider these measures when selecting and routing cables:
- Use double-shielded cable for analog small-signal lines;
- Use shielded cable for high-speed pulse signals (pulse sensors, counters) to prevent both external interference and pulse-to-low-level signal coupling;
- For PLC communication cables, use manufacturer-recommended cables or shielded twisted pair when requirements are moderate;
- Do not route analog or DC signal cables with AC signal cables in the same trough;
- Connect shielded cables entering or leaving the control cabinet directly to equipment without passing through terminal blocks;
- Do not mix AC, DC, and analog signals in the same cable; route power and signal cables separately.
For field maintenance, mitigate interference by replacing affected circuits with shielded cables and by adding filter code in the PLC program.
Label I/Os for Easier Maintenance
A PLC controls a complex system represented by rows of input/output terminal blocks, indicator lamps, and device numbers. Repair without wiring diagrams is difficult. Create a table showing each PLC I/O terminal number, the corresponding electrical symbol, and the device name, and place it on the control console or cabinet. This I/O mapping functions like a component pinout and speeds troubleshooting.
Also prepare an I/O logic function table that documents the logical relationships between input circuits (trigger devices and related elements) and output circuits (actuators) during common operations. With these tables, technicians familiar with the device can effectively diagnose faults even without full schematics.
Infer Faults from Program Logic
Many PLC brands are in use. Ladder logic instructions are similar on lower-end models, while mid- to high-end controllers may use statement lists or other languages. Useful ladder charts should include comments; understanding the process or operation before reading the ladder makes interpretation easier. For electrical fault analysis, apply a reverse-trace method: use the I/O mapping to locate the PLC output relay corresponding to the fault and trace backward through the logic to find conditions required for actuation. Experience shows that finding a single issue often resolves the fault, since simultaneous multiple failures are uncommon.
Make Full Use of Software and Hardware Resources
- Exclude instructions that do not participate in control loops or that are enabled before the loop from real-time PLC I/O when possible;
- When multiple signals control one task, combine them externally (parallel) before connecting to a single input point, if appropriate;
- Use PLC internal software elements and intermediate states to create coherent, maintainable programs and reduce hardware requirements;
- Where feasible, keep each output independent to simplify control and inspection and to protect other output circuits; a single output fault should only affect its own circuit;
- For bi-directional loads, implement interlocks both in program logic and externally to prevent simultaneous opposing commands;
- Use an external emergency stop switch to cut power for safety.
Other Practical Notes
- Do not connect AC mains to PLC input terminals to avoid damaging the PLC;
- Ground terminals should be independently grounded and not daisy-chained with other equipment; grounding conductor cross-section should be at least 2 mm2;
- Auxiliary power supplies are small and should drive only low-power devices such as photoelectric sensors;
- Some PLCs reserve address points; do not wire to reserved terminals;
- When PLC output circuits lack internal protection, add external protective devices such as fuses to prevent damage from load short circuits.