The PLC program is fine—why is the equipment still shutting down?
Release time:
2026-07-15
Author:
Source:
Abstract
In industrial automation, the scenario “The PLC program is fine, yet the equipment shuts down inexplicably” is a classic and frustrating fault. The PLC (Programmable Logic Controller) serves as the device’s “brain”; whether the commands it issues are executed correctly, or whether external conditions send erroneous signals to the controller, can both trigger an equipment shutdown.
When you are confident that the software program is functioning correctly, troubleshooting should begin with… Hardware peripheral circuits, sensor status, actuators, communication networks, and electrical interference These five dimensions are presented in ascending order of depth:
1. An external input signal has “deceived” the PLC (sensor and safety circuit).
The PLC program determines the output (O point) based on the input signals (I points). If an external sensor sends an erroneous signal, the program will execute a valid “stop” command.
Safety circuit disconnected This is the most common cause of shutdowns: poor contact in the emergency stop button, a loose safety‑door limit switch, or an obstruction blocking the safety light curtain or misalignment. Even if the PLC program is functioning correctly, the safety relay will trip and cut power to the actuator, causing the equipment to stop immediately.
Sensor “false trigger” or damage : Magnetic switches on cylinders, photoelectric sensors on conveyor belts—these components may be misaligned, covered in dust, or damaged. For example, the cylinder may have already reached its target position, but the magnetic switch fails to detect it. As a result, the PLC does not receive the “position‑reached” signal and, due to a timeout, triggers a protective shutdown.
Troubleshooting method : Monitor the PLC’s I/O image table online, check whether the corresponding input-point LEDs are lit, and verify that the on-site physical status matches the status received by the PLC.
2. External actuator “stuck” (output circuit and hardware failure)
When the indicator light for the PLC’s output point (O-point) is on, it indicates that the program has issued a run command, but the power side may not be responding at all.
Intermediate relay or contactor failure : The PLC output coil drives an intermediate relay; frequent operation of the relay contacts can cause erosion, sticking, or coil burnout, resulting in the inability to supply high‑voltage power (380 V/220 V) to the motor.
Drive/Inverter Fault Interception : The servo drive or inverter itself has triggered overcurrent, overvoltage, overload, or overheating protection; the drive immediately shuts off the output and reports an error, causing the motor to stop. At this point, the PLC may have received only a generic “inverter fault” input signal.
Troubleshooting method : Use a multimeter to measure whether there is voltage at the PLC output terminals; check the fault codes displayed on the inverter or servo drive panel.
3. Power Supply and Electrical Interference (The Invisible “Electromagnetic Killer”)
Many inexplicable shutdowns are often followed by a restart within seconds; such failures are frequently caused by power quality issues and electromagnetic interference.
Switch-mode power supply overload or instantaneous voltage drop : The 24 V DC switching power supply has insufficient capacity. When several high‑power solenoid valves operate simultaneously, the voltage drops momentarily to below 20 V, causing certain sensitive sensors or distributed I/O modules to lose connection. Once the voltage recovers, the system generates an error and shuts down.
Transient errors caused by electromagnetic interference (EMI) : The high- and low-voltage wiring is not isolated, the variable-frequency drive (VFD) lacks a filter, and the cabinet grounding is inadequate. Harmonic distortion generated during VFD startup interferes with analog signals—such as temperature and pressure—causing the PLC to misinterpret these readings as “out of range” and shut down; alternatively, it can disrupt digital inputs, leading the PLC to erroneously detect that the “stop button” has been pressed.
Troubleshooting method : Inspect inside the distribution cabinet Should power and low-voltage wiring be routed in separate conduits? , verify that the cabinet grounding resistance meets the specified requirements, and use an oscilloscope or multimeter to monitor the stability of the 24 V power supply.
4. Communication Network “Flash Disconnections” (Distributed I/O and Network Failures)
Modern automation equipment extensively employs bus-based communication protocols such as Profinet, EtherCAT, and Modbus.
Network Packet Loss and Timeout : Loose Ethernet RJ45 connectors, strong electromagnetic interference affecting the network cable, or unstable switch performance can cause microsecond‑level communication interruptions between the PLC and remote I/O modules or variable frequency drives. For safety, the PLC is typically equipped with a communication timeout watchdog; if the communication link remains down for longer than the configured threshold (e.g., 100 ms), the PLC will trigger a system fault and shut down.
Troubleshooting method : Check the PLC’s system log (Diagnostic Buffer) for error entries indicating “station offline” or “communication interruption.”
5. Physical malfunctions such as mechanical and pneumatic issues
The electrical system is fine, but the physical‑level resistance exceeds the specification.
Mechanical jamming and insufficient air pressure : The drive mechanism seizes, causing the motor to stall and triggering the thermal relay to trip; if the main air‑line pressure drops below the safety threshold (e.g., below 0.4 MPa), the pressure switch activates, and the PLC, in order to protect the equipment, refuses to execute the next step.
🛠️ Quick Troubleshooting in Three Steps
Step 1: Review the logs (the most scientific approach) Don’t guess blindly. Connect the computer, open the programming software, and read the PLC’s “Diagnostic Buffer.” or the touch screen (HMI) of Fault alarm history log. It precisely records, down to the minute and second, which module went offline or which variable triggered the alarm.
Step 2: Check the I/O status indicator light. Observe on the PLC panel RUN Check whether the status indicator turns red or flashes (indicating a hardware fault or CPU shutdown), and verify that the corresponding input/output LEDs match the on-site mechanical movements.
Step 3: Measure the voltage and air pressure. Use a multimeter to verify the stability of the core 24 V power supply, and check whether the pressure gauge meets the equipment’s operating requirements.
Recommended Reading
Chengyuan Electric and Siemens join forces to create a better future!
2024-10-29
How to choose suitable box-type substations and cable branch boxes
2023-12-25
The role of cable junction boxes in automated control systems.
2023-12-15