PLC Troubleshooting 375
This class explores troubleshooting for programmable logic controllers (PLCs), including common causes of failures and approaches to resolve them. While PLCs are generally durable and reliable, they occasionally fail because of wear, programming changes, or system conditions. Maintenance, hardware, programming, networking, and input/output (I/O) devices are some of the most common sources of PLC failures. Knowing how to recognize and logically troubleshoot these errors will help PLC technicians limit downtime from failures and reduce effort spent resolving them.
After taking this class, learners should understand some of the most common causes of PLC failures and the best order for approaching new issues. Although PLC troubleshooting will vary for each brand and system, learners should be able to identify common problem-solving techniques and related safety measures.
-
Difficulty Advanced
-
Format Online
-
Number of Lessons 13
-
Language English
Talk with a Tooling U-SME specialist about class options and pricing.
- PLC Troubleshooting Overview
- Troubleshooting Safety
- Maintenance Concerns
- Hardware Troubleshooting
- Review: Hardware and Maintenance
- Programming Errors
- Networking Errors
- Resolving Networking Errors
- Review: Networking and Programming
- Discrete Inputs and Outputs
- Analog Inputs and Outputs
- General Troubleshooting Strategies
- Final Review
- Describe the importance of PLC troubleshooting.
- Describe safety considerations for PLC troubleshooting.
- Identify maintenance conditions that commonly cause PLC faults.
- Describe some common troubleshooting techniques related to PLC hardware.
- List some common troubleshooting techniques for PLC programming errors.
- Describe some common causes of PLC networking errors.
- Identify some common troubleshooting techniques for PLC networking errors.
- Describe troubleshooting for discrete inputs and outputs.
- Describe common troubleshooting techniques for analog inputs and outputs.
- Describe some general troubleshooting techniques for PLCs.
analog devices
An I/O device that detects or emits a continuously variable electrical signal. Analog devices use continuous signals to communicate variable conditions, such as pressure or temperature, as a current range from 4 – 20 milliamps (mA) or a voltage range from 0 – 10V.
arc flash
An electrical explosion that results from an arc fault. Arc flash, or flashover, produces extreme heat and light and compromises the safety of employees who are exposed to it.
automation
The use of self-regulated equipment, processes, or systems that meet manufacturing requirements with limited human intervention. Automation is an efficient means of performing manufacturing processes and often requires PLC systems.
backup
A saved copy of data or system settings. Backup files protect data from being lost or corrupted.
calibration
The comparison and adjustment of a device with unknown accuracy to a device with a known, accurate standard. Calibration eliminates any variation in the device being checked.
central processing unit
CPU. The microprocessor device inside a computer that controls system activities. The central processing unit executes a PLC program and performs all logic activities for the system.
communicating
Actively exchanging data between devices on a PLC network. Communicating failures occur from widespread utility outages and local issues like routing errors and physical damage.
compliance
Meeting the regulatory or industry standards required for equipment and systems to operate. Compliance with policies related to safety or quality may require accurate documentation.
computing
A manufacturing sector that focuses on the production, development, and marketing of information and communications technologies. The computing industry is responsible for the creation and distribution of software, hardware, and technology services.
condition monitoring
A process of monitoring the state of a system or equipment to detect any potential faults or defects. Condition monitoring involves the use of sensors and other tracking tools to continuously collect data on the system’s performance and analyze it to predict and prevent failures.
conditions
An input instruction in a PLC ladder diagram. Conditions must be met by PLC components in order to result in an action.
confined spaces
An area that is large enough for a worker to enter but is not designed for continuous occupancy and that has a limited means of entry or exit. Confined spaces are potentially hazardous and safety requirements must be followed when entering them.
corrosion
A process by which a material gradually degrades or wears away. Corrosion typically occurs when a material is exposed to the atmosphere, moisture, or other substances.
counters
A set of program instructions that allows a PLC to keep track of actions or events in a process and to respond when a specific count is reached. Counters can be programmed to count up to or down from a preset value.
CPU
Central processing unit. The microprocessor device inside a computer that controls system activities. The CPU executes a PLC program and performs all logic activities for the system.
current
The flow of electricity. Current strength is called amperage and is measured in amperes (A).
cybersecurity
A policy or practice that guards against criminal or unauthorized access to computer networks, programs, and data. Cybersecurity practices for PLC troubleshooting include protecting passwords, sharing programs only with authorized uses, and downloading files only from trusted sources.
data
An industry related to data services, which includes data centers, cloud infrastructure, and information processing. The data industry uses PLCs to monitor and control environmental and power systems.
de-energize
To remove all stored energy in a machine or system. De-energizing may involve removing electrical, mechanical, hydraulic, or pneumatic energy.
direct current
DC. Electricity that flows in one continuous direction. Direct current is used in many PLC circuits.
discrete
An electrical signal that has only two states: on or off. Discrete signals are also known as digital signals.
document
To systematically collect, store, and use Information to monitor and improve safety, quality, and efficiency. Documenting PLC troubleshooting may include machine manuals, maintenance records, and process descriptions that provide a record of troubleshooting attempts and outcomes.
drift
The change in the actual value of a measurement when the same characteristic is measured by the same sensor under the same conditions but at different points in time. Drift indicates how far out of calibration a sensor is and can lead to PLC failures related to lost or unclear analog signals.
electrical systems
The wiring, components, and infrastructure that deliver and control electrical power within a facility. Electrical systems include the PLC systems that sense conditions and control equipment like motors and valves.
electromagnetic interference
EMI. Electrical noise that can interrupt or degrade the performance of the circuit. Electromagnetic interference can be caused by nearby machinery, poor grounding, failing network cables, and other conditions.
emergency stops
E-stops. A manual safety device that immediately halts machine operation when pressed. Emergency stops are designed to instantly override normal PLC control to protect personnel and equipment.
EMI
Electromagnetic interference. Electrical noise that can interrupt or degrade the performance of the circuit. EMI can be caused by nearby machinery, poor grounding, failing network cables, and other conditions.
equipment ratings
The manufacturer-specified limits for how a device can safely operate, including voltage, current, temperature, and environmental exposure. Ignoring equipment ratings can cause damage or failure when components are incompatible or overloaded.
error code
An alphanumeric message that references a specific cause of malfunction. Error codes appear on the PLC’s interface and can be cross-referenced in the manual.
error logs
A record of pre-defined PLC faults that the CPU generates automatically. Error logs contain error codes and information about when faults occurred and what systems they affected.
field devices
A component that connects to an input/output module on a PLC. All field devices, or input/output devices, have their own electrical requirement.
file management
The practice of organizing, storing, and maintaining digital files. File management improves efficiency and reduces confusion when properly practiced.
fluid systems
A power transmission system that uses the force of flowing liquids or gases to transmit power. Fluid systems include hydraulic systems and pneumatic systems.
fuses
An overcurrent device with a metallic component that melts to open a circuit. Fuses detect excess current to prevent overheating in a circuit.
gateway settings
The networking configuration values that define how a PLC communicates with devices outside its local network. Incorrect gateway settings can prevent a PLC from reaching remote systems or the internet.
grounding
A means of providing a safe path for electricity should it stray from its intended path. Grounding substantially reduces the risk of electrical shock and is critical to control excess EMI around analog PLC devices.
hardware mismatches
An incompatibility between connected devices, such as differing voltage levels, communication protocols, or module types. Hardware mismatches can cause failures or unreliable signal readings.
hazardous
Having the potential to cause injury, illness, or death. Equipment can be hazardous even when it works correctly and can become even more dangerous during failures.
I/O modules
Input/output modules. The portion of a PLC that contains connection points for input/output devices and circuitry to convert electrical current. I/O modules may be input only, output only, or a combination.
input
The signals, devices, or modules through which a PLC receives information. An input is sent from a field device to the PLC, which will use it to evaluate logic.
input/output modules
I/O modules. The portion of a PLC that contains connection points for input/output devices and circuitry to convert electrical current. Input/out modules may be input only, output only, or a combination.
interlocks
A safety mechanism that prevents equipment from operating under hazardous conditions, such as a guard door being open. When triggered, interlocks can signal a PLC to stop a process automatically.
intermittent
Occurring sporadically rather than consistently. Intermittent failures can be difficult to diagnose and are often caused by loose connections or environmental conditions.
internet protocol addresses
IP addresses. The unique identification of the location of the data for an input device, output device, or other saved data in the CPU’s memory. Internet protocol addresses are listed alongside associated devices or data in a PLC ladder diagram.
IP address
Internet protocol addresses. The unique identification of the location of the data for an input device, output device, or other saved data in the CPU’s memory. IP addresses are listed alongside associated devices or data in a PLC ladder diagram.
isolate
To electrically or logically separate part of a system for safe inspection or testing. Isolating components helps troubleshooters narrow down the source of a fault by eliminating functioning parts of the system.
light-emitting diode
LEDs. A light made of a semiconductive material used to indicate the operating condition or channel of a device or module. Light-emitting diodes are used as in PLCs for status lights that may use colors or flashing to indicate the behavior of input/output devices or the operating mode of a central processing unit.
lockout/tagout
LOTO. A method of protecting employees by preventing accidental machine startup through proper locking and labeling of machines during maintenance. Lockout/tagout is the common term for OSHA’s Control of Hazardous Energy Standard.
logistics
Planning, managing, and executing the movement of materials and products. Logistics involves physically moving goods between locations as well as determining the routes, schedules, and methods used to move them.
LOTO
Lockout/tagout. A method of protecting employees by preventing accidental machine startup through proper locking and labeling of machines during maintenance. LOTO is the common term for OSHA’s Control of Hazardous Energy Standard.
lubricating
Applying a slippery substance, such as oil or grease, between two moving surfaces in contact with each other. Lubricating devices is an importance maintenance task that minimizes friction, heat, and wear.
maintenance
Any activity that contributes to the care and upkeep of machines or equipment. Maintenance issues like moisture, corrosion, visible damage, and loose or worn components are the most common cause of PLC failures.
manufacturing
The process of changing materials into finished products on a large scale. Manufacturing involves many processes that cause physical, mechanical, or chemical changes to materials.
marine trades
Any industry involving the construction, maintenance, and repair of boats and ships. The marine trades use PLCs for automation tasks like engine monitoring and system controls.
maximum cable lengths
The longest distance a network cable can run before signal degradation or resistance causes communication errors. Exceeding maximum cable lengths can lead to unreliable or failed data transmission.
memory
The portion of a computer where data is stored. Memory storage can be built into the central processing unit of a PLC or can be in the form of a removable device.
milliamperes
mA. A unit used to measure low currents. One milliampere, or milliamp, is equal to one thousandth of an ampere.
mixers
A machine used to blend, combine, or agitate materials in manufacturing processes. Mixers often use PLCs to control speed, timing, and safety functions.
mode
A setting that determines the actions of a CPU. Operating modes allow the CPU to complete actions, such as running a program and accepting program instructions.
motors
A device that converts electrical energy into mechanical motion to drive machinery. Motors commonly use PLCs to control starting, stopping, and speed.
multimeter
A device that can measure voltage, current, or resistance. A multimeter can be used to test electrical continuity and power supply outputs in PLC systems.
networks
A group of hardware devices connected via cable or wireless methods. Networks allow two or more devices to communicate and share information.
Occupational Safety and Health Administration
OSHA. A government agency under the U.S. Department of Labor that sets the standards for safe working conditions in the United States. The Occupational Safety and Health Administration ensures that employees work in safe and healthy environments.
output
The signals, devices, or modules to which a PLC sends information and electricity. An output from the PLC triggers an action in a field device.
override
To force a PLC to run despite an active safety stop condition. Overriding stopped or failed PLCs is high risk and should only be used as a troubleshooting method when paired with appropriate safety measures.
personal protective equipment
PPE. Any piece of clothing or device used to minimize exposure to hazards and prevent injuries. Personal protective equipment for PLC troubleshooting may include safety glasses, electrically-rated hard hats, arc flash clothing, and electrically-insulated boots.
PLCs
Programmable logic controllers. A processor-driven device that uses logic-based software to provide electrical control to a machine or process. PLCs are generally reliable, but technicians should develop good troubleshooting skills to prevent downtime for critical automated systems.
ports
An interface on a computer that links the device with another device. Ports can connect PLCs and computers to other devices like monitors, printers, or networked machinery.
potential energy
A component of mechanical energy that exists as stored energy resulting from an object’s position or internal pressure. Potential energy often exists in machines that have been turned off and becomes kinetic energy when it is released.
power outages
The complete loss of electrical power, which can interrupt PLC operation and connected equipment. Power outages may cause data loss, system reboots, or unexpected shutdowns.
power supply
The component that provides power to the central processing unit and input/output modules on a PLC. The power supply converts incoming voltage to a lower voltage for the CPU.
PPE
Personal protective equipment. Any piece of clothing or device used to minimize exposure to hazards and prevent injuries. PPE for PLC troubleshooting may include safety glasses, electrically-rated hard hats, arc flash clothing, and electrically-insulated boots.
PROGRAM
A CPU operating mode that is active when loading new program instructions, monitoring a program, or making changes to a program. During PROGRAM mode, the CPU does not perform the operating cycle.
programmable logic controllers
PLCs. A processor-driven device that uses logic-based software to provide electrical control to a machine or process. Programmable logic controllers are generally reliable, but technicians should develop good troubleshooting skills to prevent downtime for critical automated systems.
protocol errors
A mistake or mismatch in the rules governing how devices communicate over a network. Protocol errors can prevent data from being sent, received, or interpreted correctly.
protocol settings
The configuration parameters that define which communication rules a PLC or network device uses. Mismatched protocol settings between devices are a common cause of communication failure.
proximity sensors
A device that uses an electronic sensing field to detect the presence of an object. Proximity sensors are common discrete input devices.
public utilities
Industry providers of essential services like electricity, water, and gas. Public utilities use PLCs to automate and monitor infrastructure processes.
pushbuttons
A control device that turns an electrical circuit on or off. A pushbutton is a common type of discrete input device.
requested packet intervals
RPIs. The frequency at which devices on a network request or send data packets. Requested packet intervals that are too short or too long can cause network congestion or delayed responses.
resistance
The opposition to current flow. Resistance is measured in ohms (Ω), and too much resistance can prevent PLCs from communicating with field devices.
robots
A machine that automatically performs complicated and repetitive tasks. Robots often use programmable logic controllers to command specific processes.
routing errors
A failure in directing data packets to their correct destination across a network. Routing errors can prevent devices from communicating even when the physical connection is intact.
rubber duck de-bugging
A troubleshooting technique where a person reads a document or program line-by-line or explains a problem step-by-step, often aloud to themselves, someone else, or an object. Rubber duck de-bugging uses verbalization to reveal issues and mistaken assumptions that are otherwise overlooked.
RUN
A CPU operating mode that allows the PLC to execute the steps of a program and complete an operating cycle. During RUN mode, only limited changes[RF1.1] can be made to a program.
Safety PLCs
A specialized type of programmable logic controller that monitors industrial automated systems for safety purposes. Safety PLCs ensure that machinery and processes operate safely by responding automatically to unsafe conditions.
scaling
The process of converting a raw analog signal value into a meaningful engineering unit, such as converting voltage to temperature. Incorrect scaling can cause a PLC to misinterpret real-world measurements.
sensor
A device that detects a change in a physical stimulus and turns it into a signal that can be measured or recorded. A sensor may be connected to a machine or system in order to collect operational data that a PLC can use to control inputs or outputs.
sequencers
A set of program instructions that determines the order in which a PLC performs a group of processes. Sequencer instructions can be time-driven or event-driven.
signal
A current that carries data from one device to another. An electrical signal is either analog or discrete.
solenoids
An output device that uses a conductive coil to convert electrical energy into linear mechanical motion. Solenoids are often used to control valves in fluid power systems.
stale
Data that is outdated and no longer reflects current real-world conditions. Stale data can cause a PLC to make decisions based on inaccurate information.
states
The binary conditions used in PLC logic to represent whether a device or signal is active or inactive. Discrete devices have two states: on or off.
status lights
An LED light that flashes different colors to provide information about a CPU or other PLC modules. Status lights indicate conditions like the CPU’s operating mode, network communication, or field device status.
subnet masks
The numerical values used in networking to define which portion of an IP address identifies the network versus the device. Incorrect subnet masks can prevent PLCs from communicating with other devices on the network.
switches
An interconnecting device with multiple ports that reads data and sends it to the correct nodes on a network. Switches create separate networks into segments that control data transmission at each port.
system reboot
The process of restarting a PLC or its associated hardware to clear errors or restore normal operation. A system reboot can help clear intermittent errors and ensure changes take effect.
TEST
An operating mode that allows a CPU to run a program without energizing output devices. TEST mode may be used to check for program errors.
thermal throttling
A process where performance decreases as a result of heat. Thermal throttling can cause slowdowns or unexpected PLC behavior.
timeout
A set period after which a system stops waiting for a response and flags an error. A timeout can help diagnose communication failures between PLCs and connected devices.
timers
A type of program instruction that allows a PLC to control and monitor time-dependent aspects of machines and processes. Timers can delay an output from turning off or on for a preset amount of time.
traffic management errors
A failure in how a network prioritizes, directs, or handles data flow between devices. Traffic management errors can lead to delays, dropped packets, or communication timeouts.
traffic types
The different categories of data transmitted across a network, such as control signals, diagnostic data, or configuration information. Understanding traffic types helps prioritize and troubleshoot network performance issues.
troubleshooting
The systematic evaluation of the various components of a system, circuit, or process to locate a malfunctioning part. Troubleshooting focuses on identifying the root cause of a problem.
vibration
A rapid continued, repeated motion in a machine or other structures. Vibration is a harmful environmental condition that can cause PLC components to fail or drop communication.
volatile memory
A type of computer memory that does not preserve data in the event of a power outage. Volatile memory includes random access memory.
voltage
A measure of electrical pressure or potential that causes current to flow in a circuit. Voltage is measured in volts (V).
volts
V. A unit used to measure the electrical pressure or potential that causes current to flow in a circuit. Volts are a unit of voltage.
warehousing
The industry focused on storing and managing goods before distribution. Warehousing businesses use PLCs for automation tasks like conveyor systems and inventory tracking.
warranty
A manufacturer’s guarantee to repair or replace equipment that fails under normal use within a specified period. Warranty terms often dictate troubleshooting decisions and can limit the type of repairs that can be made without a manufacturer technician.
watchdog limit
A safety timer that monitors whether a PLC’s program is running correctly and triggers a reset or fault if it does not respond in time. Watchdog limits help prevent the system from running on a frozen or malfunctioning program.
wear
The erosion of material as a result of friction. Wear typically is caused by two or more objects rubbing or sliding against each other during repeated use.