iSpeak Blog

Rethinking Product Lifecycle (PLC) Logic Before Rethinking Capital: A Case for Controls-First Optimization

Manishkumar Patel
julia-koblitz-vials-assemble-line-750px.jpg

This blog post provides insight into a field-tested case study on how redesigning PLC control logic—rather than adding equipment—increased vial-filling throughput by 14 percent and eliminated a recurring defect-related downtime issue, offering a practical framework other automation engineers can apply to their own lines.

Before Adding Capital, Look at PLC Control Logic

When a high-speed vial-filling line is running below its rated capacity, the instinct in most manufacturing environments is to look at hardware: buy a faster machine, add a parallel line, bring in an integrator to redesign the mechanics. On a recent project, the author found that the real bottleneck wasn't the equipment—it was the logic running it.

The Problem

The line in question was rated for 70 vials per minute but was consistently underperforming, with frequent unplanned stops tied to programming-related inefficiencies. On top of that, the machine's original design didn't reliably catch certain defective components before they moved downstream. Those defects caused jams, forced stoppages, and created a real risk of nonconforming product reaching packaging—a serious concern in a US Food and Drug Administration (US FDA)-regulated environment where every deviation has to be documented and investigated.

The easy answer would have been to request capital for new equipment. Instead, the author started by asking a more basic question: was the existing hardware capable of more than the software was asking of it?

Diagnosing the Root Cause

Rather than treating the symptoms—the stoppages, the jams—the author traced them back to how the PLC logic was sequencing operations and handling exceptions. A lot of the inefficiency wasn't mechanical wear or design limitations; it was in how the control logic reacted (or failed to react) to edge cases in real time.

This is a distinction worth emphasizing for other automation and controls engineers: a machine "running at capacity" and a machine "running at its logic's capacity" are not the same thing. Before assuming a hardware ceiling, it's worth confirming the software isn't the actual constraint.

The Fix

Two changes made the difference:

  1. Redesigned control logic. The author rewrote the sequencing and fault-handling logic governing the fill cycle, removing inefficiencies that were adding cycle time without adding value, and coordinated supporting mechanical adjustments to stabilize performance at the new operating point.
  2. Real-time defect detection. The author designed and integrated new sensor inputs into the PLC architecture specifically to catch the defective components that had previously been passing through. This wasn't a bolt-on inspection station—it was built into the existing control architecture so detection and rejection happened inline, without adding a new process step or slowing the line down.

The Result

The line moved from 70 to 80 vials per minute—a 14 percent throughput increase—without any change to the underlying hardware and without compromising product quality. That improvement alone translated to labor savings equivalent to roughly two months of production time annually. Just as importantly, the new sensor logic eliminated a recurring quality escape point, reducing downstream jams and strengthening the line's overall equipment effectiveness.

The Takeaway

None of this required new capital equipment. It required treating the PLC program as seriously as the mechanical design—auditing it, questioning its assumptions, and rebuilding the parts that were quietly capping performance.

For engineers facing similar throughput or quality escape issues, a few questions are worth asking before a capital request goes in:

  • Is the current control logic actually optimized for the process, or was it never revisited after initial commissioning?
  • Are there edge cases or fault conditions the logic handles inefficiently, adding invisible cycle time?
  • Could inline sensor logic solve a quality problem that's currently being caught (or missed) downstream?

In regulated manufacturing environments, where every equipment change carries a validation burden, a controls-first approach to throughput and quality problems can often deliver meaningful gains faster—and at lower cost—than a hardware-first one. It's a habit worth building into how we approach production troubleshooting more broadly.


Disclaimer

iSpeak blog posts provide an opportunity for the dissemination of ideas and opinions on topics impacting the pharmaceutical industry. Ideas and opinions expressed in iSpeak blog posts are those of the author(s) and publication thereof does not imply endorsement by ISPE.

ISPE members: View ISPE Communities of Practice. 
Not an ISPE member? Join today.

Submit Your Best Content to ISPE

ISPE’s official blog, iSpeak accepts contributions from our Members and professionals in the pharma industry.  

What We Look For 

References