The Case for Proper PLC Maintenance
Everything you always wanted to know about Programmable Logic Controllers

Background
A programmable logic controller (PLC), or programmable controller, is an industrial digital computer that has been made very robust and modified for the control of manufacturing processes, such as robotic device assembly lines, or any activity that requires ease of programming, high reliability, and process fault diagnosis. PLCs were first developed in the automobile industry to provide flexible, ruggedized, and easily programmable controllers to replace hard-wired relays and timers. Since then, they have been widely adopted as highly reliable automation controllers suitable for harsh environments.
In my younger years as an Instrument Technician at an oil and gas facility, I once worked for days trying to locate the source of intermittent, random deletion of parts of the logic program. After replacing every module, and reloading the program, the same thing occurred repeatedly, but at a different place in the program. Finally, I found metallic dust from a recent cabinet modification deposited in the backplane terminal strips. Every time I replaced or reseated a module, the wedged metallic dust shifted, changing the results. From that point on, any work done in an area where PLCs were installed would require the application of a cover/enclosure (shop towel, cardboard box, etc.) over the PLC; then after the work has been completed, clean the enclosure and PLC area with a vacuum. Intermittent anomalies can be enormously frustrating. Do you have a PLC in your facility that is never seen or heard from, stashed away inside a cabinet to never be dealt with again until the next presidential election?

PLC for a monitoring system in the oil and gas industry.
Source: iStock, By Getty Images
PLC control systems are the heart of any production facility, yet it is often the most forgotten and under-appreciated system. Without a reliable PLC source in place, operations of any production facility would not be possible. In spite of the critical nature of the PLC, regularly scheduled maintenanceRepairs, rebuilds, overhauls and servicing that requires a minimum of 7 days to plan, obtain materials and schedule the availability of equipment and labor. is not always a primary focus in some facilities. A great way to keep PLCs in good standing is to avoid unplanned downtime and maximize the cost of ownership by predicting problems before they occur and tackling them in a timely manner.
Preventive vs Predictive Maintenance
Preventive maintenanceTime or cycle-based actions performed to prevent system functional failure. This proactive maintenance type generally includes scheduled restoration and scheduled discard tasks. Learn more: What is Preventive Maintenance? relies on good data collection, such as mean time to repairAn indicator of the overall maintainability of an item (includes impact of design, accessibility, and efficiency of the craftsperson effecting the repair). The mean time taken to repair failures of a repairable item. and mean time to failureAn indicator of the overall reliability of an item. The mean time between failures of a non-repairable item.. While this helps to prevent unexpected shutdowns via early problem prediction/detection, the one disadvantage of preventive maintenance is that you can end up needlessly changing parts based on manufacturer guidelines. Utilizing a predictive maintenanceThe use of instruments and analysis to determine equipment condition in order to predict failure before it takes place so corrective maintenance can be done in a planned and scheduled fashion. Examples include vibration analysis, oil analysis, thermography, airborne ultrasonic’s, NDT, motor current signature analysis, trending of process parameters, etc. method, however, can help you escape this issue.
Predictive maintenance, which also allows you to repair or replace equipment before it runs-to-failure, is effectively taking preventive maintenance a step further, by either physically using handheld devices or through electronic sensors. Then the Instrument Technician can detect and confirm when machines need repair. The value of predictive maintenance over preventive maintenance is that you have clear indicators and real-time data, such as sensory, vibration, and temperature abnormalities, to reveal that the PLC does indeed require maintenance. Do you have a preventive or predictive maintenance plan in place?
Neglecting the maintenance of the PLC over a long period of time will inevitably lead to costly emergency repairsImmediate repairs needed as a result of failure or stoppage of critical equipment during a scheduled operating period. Imminent danger to personnel and extensive further equipment damage as well as substantial production loss will result if equipment is not repaired immediately. Scheduled work must be interrupted and overtime, if needed, would be authorized in order to perform emergency repairs. Emergency repairs should be completed within one day after discovery. and equipment failures, in addition to elevated safety and property risks. Downtime is extremely costly, and not only can it seriously affect plant output, with the recent advances in PLC technology that embrace safety-related functions, it can occasionally create a hazardous situation that needs immediate attention. The key is to be well educated and use preventive maintenance checklists to keep your PLC systems in good working order.
What it Does
A PLC is a hard-wired, real-time system that produces output results in response to input conditions within a limited time, to prevent unintended operations from occurring. The main difference from most other computing devices is that PLCs are intended for and, therefore, tolerant of, more severe conditions (such as dust, moisture, heat, and cold), while offering extensive input/output (I/O) to connect the PLC to sensors and actuators. PLC input can include simple digital elements, such as limit switches, analog variables from process sensors (such as temperature and pressure), and more complex data (e.g. from positioning or machine vision systems). PLC outputs can include elements like indicator lamps, sirens, electric motors, pneumatic or hydraulic cylinders, magnetic relays, solenoids, or analog outputs. The input/output arrangements may be built into a simple PLC, or the PLC may have external I/O modules attached to a computer network that plugs into the PLC.
PLCs range from small ‘building brick’ devices with tens of I/O’s in a housing integral with the processor, to large rack-mounted modular devices with hundreds of I/O’s, and which are often networked to other PLC and SCADA systems. They can be designed for multiple arrangements of digital and analog I/O’s, extended temperature ranges, immunity to electrical noise, and resistance to vibration and impact. Programs to control machine operation are typically stored in battery-backed-up or non-volatile memory.
The PLC was developed with several key attributes in mind, e.g. to tolerate the process environment, to support input and output in an easily extensible manner, not require years of training to use, and permit its operation to be monitored. Since many industrial processes have timescales easily addressed by millisecond response times, modern (fast, small, reliable) electronics greatly facilitate building reliable controllers, with performance traded off for reliability.
How it Works
Initially, PLCs were designed to replace relay logic systems. These PLCs were programmed in ladder logic, which strongly resembles a schematic diagram of relay logic. This program notation was chosen to reduce training demands for the existing technicians. Other early PLCs used a form of instruction list programming, based on a stack-based logic solver.
Modern PLCs can be programmed in a variety of ways, from the relay-derived ladder logic to programming languages, such as specially adapted dialects of BASIC and C. Another method is state logic, a very high-level programming language designed to program PLCs based on state transition diagrams. Most PLC systems today adhere to the IEC 61131/3 control systems programming standard that defines five languages: Ladder Diagram (LD), Structured Text (ST), Function Block Diagram (FBD), Instruction List (IL), and Sequential Flow Chart (SFC).
Many early PLCs did not have accompanying programming terminals that were capable of graphical representation of the logic, so the logic was instead represented as a series of logic expressions in some version of Boolean format, based on Boolean algebra. As programming terminals evolved, it became more common for ladder logic to be used, for the aforementioned reasons and because it was a familiar format used in electromechanical control panels.
PLC Functionality
PLC functions have evolved over the years to include sequential relay control, motion control, process control, distributed control systems, and networking. The data handling, storage, processing power, and communication capabilities of some modern PLCs are approximately equivalent to desktop computers. PLC-like programming, combined with remote I/O hardware, allows a general-purpose desktop computer to overlap some PLCs in certain applications.
Desktop computer controllers have not been generally accepted in heavy industry because the desktop computer runs on less stable operating systems than PLCs, and because the desktop computer hardware is typically not designed to the same levels of tolerance with respect to temperature, humidity, vibration, and longevity as the processors used in PLCs. Operating systems, such as Windows, do not lend themselves to deterministic logic execution, with the result that the controller may not always respond to changes of input status with consistent timing as expected from PLCs. Desktop logic applications are used in less critical situations, such as laboratory automation and small facilities where the application is less demanding and critical, because they are generally much less expensive than PLCs.
Analog signals have continuously variable amplitudes like the sounds out of a speaker on a radio, with a range of values between zero and full-scale. These are typically interpreted as integer values (counts) by the PLC, with various ranges of accuracy depending on the device and the number of bits available to store the data. As PLCs typically use 16-bit signed binary processors, the integer values are limited to between -32,768 and +32,767. Pressure, temperature, flow, and weight are often represented by analog signals. Analog signals can use voltage or current with a magnitude proportional to the value of the process signal. For example, an analog 0 to 10 V or 4-20 mA input would be converted into an integer value of 0 to 32,767.
Current inputs are less sensitive to electrical noise (e.g. from welders or electric motor starts) than voltage inputs.
What it Looks Like
The appearance of PLCs varies by manufacturer, model, and application. Modules (or cards) usually include a central processing unit (CPU) or logic board, input and output cards (digital and/or analog), communications, and a power supply. Other modules may also be included, as needed by the application.

Siemens S7-300 system in a rack. From left-to-right: power supply unit & CPU, digital input modules, and digital output modules.

Allen-Bradley 500 PLC unit, consisting of separate elements. From left to right: power supply, CPU controller, and input/output modules.

Allen-Bradley PLC installed in a control panel.
Source: iStock, By Getty Images
Failures
Although PLCs are designed to be rugged, they are still subject to normal physical effects of environments or abuse. In addition, the electronic components are all subject to random or age-related failures, per the ‘bathtub’ curves shown below.

Source: RCMReliability Centered Maintenance Failure Curves from Nowlan & Heap
Other than field device failure, power supply problems and I/O failures are the typical kinds of problems encountered. The main CPU controller, itself, has a non-rechargeable battery; its purpose is to provide the DC power necessary to retain the controller’s contents of the non-volatile memory in case power is lost from the PLC, either controlled or uncontrolled. The CPU program is lost after about 30 minutes if the battery is removed or is weak. The CPU controller batteries should be placed on a routine maintenancePrescribed services that are performed at a set frequency using standard procedures. schedule (at least yearly) to avoid total program loss. Some CPU controller batteries are hot-swappable, and others are not (check the manufacturer’s CPU manual for reference). The plug-in modules may succumb to laminated contact problems or backplane damage. Output modules may include fused connections, which must be checked for looseness and fit.
Although random failures do occur, most PLCs are replaced or overhauled due to obsolete technology or unavailable parts, rather than life expectancy limits.
Equipment Walk-down Considerations
The Master Asset List
Whether or not PLCs are included in the equipment walk-down, they should be included as assets in the Master Asset List (MAL), also called the Master Equipment List (MEL). Where they are placed in the asset hierarchy will vary by company. Typically, the MAL is found in a computerized maintenance management systemComputerized systems that schedule, track and monitor maintenance activities and provide cost, component item, tooling, personnel and other reporting data and history. (CMMSComputerized Maintenance Management System), like SAP, Maximo, or another elementary system, like Excel. Depending on the age of the data, it may require review, and this should be done by performing an equipment walk-down.
The Master Equipment List should include the following:
- Physical location – building, SWGR/MCC/free-standing, cubicle ID(s)
- Controlled system name
- Manufacturer
- Model
- Number and type of modules/cards
- Supply voltage and electrical current requirements
- Human-machine interface (HMI) type – desk terminal, laptop, handheld
- Number of HMI(s) used
- DCS or SCADA interfaced
- Programming method – dedicated terminal, laptop, handheld, tape, etc.
The Asset Hierarchy
The MEL is usually defined as part of an asset hierarchy. ISO 14224 defines equipment hierarchy levels, i.e. the hierarchy should be categorized to at least level 6, the asset level. Ideally, the equipment will be in a hierarchy that is documented to the component level. A well-developed asset hierarchy is necessary to identify equipment and should be compliant with the ISO 14224 standard diagram shown below.

Source: International Standard ISO 14224 Third Edition 2016-09-15. Petroleum, petrochemical, and natural gas industries — Collection and exchange of reliability and maintenance data for equipment. https://www.iso.org/standard/64076.html
Types of Hierarchies
Hierarchies can be either location-based or system based, as shown in the below examples.
Location-based Hierarchy

System-based Hierarchy

Hierarchy Example
| Level Number | Hierarchy Type | Example |
|---|---|---|
| 1 | Organization | 2000 – Company |
| 2 | Site | 776 – Biomass |
| 3 | Plant Area Process | 90000 – Pro Plex-T |
| 4 | System Process ID | XXXX |
| 5 | Functional Location | XXXX-CM or XXXX-DSC-11 |
| 6 | Instrument Functional Location or Loop | XXXX-PT-01 or XXXX-TC-02 (Loop) |
| 7 | Equipment | 6-digit non-intelligent number |

Key: Plant Area Process IDs
9046 – Dryer
9047 – Cooler
9048 – RTO
9049 – Packaging
9050 – Elect
Source: Allied Reliability
Note: If PLCs are in your equipment walk-down, remember that authorization may be required to open electrical cabinets. Therefore, craft escorts may be required to access anything beyond the most cursory information. Additional information should be available during a file search.
Life Expectancy and Maintenance
The following main steps should be followed as preventive maintenance to maximize the PLC’s life expectancy.
- Visually inspect the indicator lights, wiring harnesses, terminals, and vibration-induced ‘unseating’ of wires and I/O modules.
- Check that each I/O module is firmly seated into its rack slot.
- Clean, then tighten all connections and terminations, including the AC power source and PLC grounding.
- Inspect wiring and harnesses for evidence of insulation wear, arcing, broken standoffs or tie-wraps, etc. Repair or replace, as needed.
- Clean or replace all filters installed in the PLC enclosure and check the fan for proper air flow. Almost all PLC are enclosed in a NEMA-rated enclosure. These enclosures are fitted with a vent and sometimes a fan for air circulation. If equipped with close-looped cooling, check the air conditioning environment for proper operating conditions, such as temperature and humidity.
- Clear all tools, schematics, unnecessary elements, and left-over parts from the enclosure and from around the PLC. This helps keep the PLC cool and aids in the air flow. Vacuum all dust from the PLC and in the enclosure. Debris and dust could allow circuit boards to short circuit and have a devastating effect.
- Verify the PLC enclosure grounding circuit continuity using a multimeter. If the grounding circuit is broken, repair wiring and terminations to re-establish good continuity to earth ground.
- Review all parts in use. Check your spare parts inventory. Your PLC should have the correct replacement parts on hand to minimize downtime from future failures.
- Check the PLC for overheating, look for deformed/discolored modules or odors of overheated components.
- Calibrate and record your PLC’s circuit modules with process control analogs every 6-9 months.
- Calibrate and record sensors and analog components every month.
Finally, any software-driven device is subject to corruption or erasure. Strong area magnetization can cause unpredicted complications and unexpected process disruption. Therefore, take the following precautions:
- Keep isolation transformers and other magnetized parts away from the PLC.
- Ensure your PLC program is saved and up to date.
- Keep an updated operating program copy in a secure location for the craft person to easily access in case of PLC failure or replacement.
Summary
In addition to providing a detailed explanation of PLCs in general, this educational blog has recommended several PLC maintenance guidelines to make sure the preventive maintenance of your PLCs best meet the needs of your company or organization. If you would like further guidance or support in improving or establishing better reliability for the electrical, electronic, or mechanical assets in your organization, please contact Allied Reliability. We would be pleased to help in your reliability journey.
Acknowledgments
The contributions made by the following people to this blog article are greatly appreciated: David Rempel, Reliability Professional, Allied Reliability; and Sam Cowan, CMRP, ARP-E, Technical Services Manager, C&T, Allied Reliability.
About the Author
Mark Thomas
In his current role with Allied Reliability, Mark is a reliability consultant responsible for working closely with clients to design, train, and implement preventive maintenance (PMPreventive Maintenance) and reliability continuous improvement programs. Prior to his role with Allied Reliability, Mark held several roles with Emerson Automation Solutions.
Mark holds the CMRT and Lean Six SigmaSix Sigma is a process improvement strategy, originally developed by Motorola, that’s designed to remove the causes of defects and errors in manufacturing and business processes using a statistical methodology called DMAIC (Design, Measure, Analyze, Improve, Control). Six Sigma creates a special infrastructure of people within the organization (“Black Belts”) who are experts in the facilitation of the DMAIC process. Yellow Belt Certifications. He is a seasoned field and plant service technician with a demonstrated history of working in the mechanical or industrial engineering industry. He is skilled in petroleum, technical support, inspection, databases, and plant maintenance. Mark is a strong support professional with an Associate of Science (AS) focused on Industrial Electronics Technology/Technician from Missouri State Fair Community College.
Connect with Mark on LinkedIn.




