Upgrading a Roll Forming Machine from Relay Logic to PLC — Step-by-Step Guide

Upgrading a Roll Forming Machine from Relay Logic to PLC — Step-by-Step Guide

Meta Description (150 characters):
Step-by-step guide to upgrading a roll forming machine from relay logic to PLC control including planning, wiring, I/O mapping and testing.

Introduction — Why Upgrade from Relay Logic to PLC Control

Many older roll forming machines still run on relay logic. These machines can often continue producing for years, but relay-based control creates major limitations:

  • difficult fault tracing
  • large, messy electrical panels
  • worn relays and contacts
  • poor flexibility for new profiles or sequences
  • limited diagnostics
  • no modern HMI or recipe system.

A PLC upgrade replaces relay-based machine logic with programmable control. This does not automatically mean replacing the whole machine. In many cases, the mechanical line is still usable, while the electrical control system is the main weakness.

A well-executed upgrade can deliver:

  • better reliability
  • easier troubleshooting
  • modern alarms and diagnostics
  • easier spare parts sourcing
  • recipe handling
  • future expansion for drives, servos, networking, and remote support.

This guide explains the practical step-by-step process for converting a used roll former from relay logic to PLC control.

What Relay Logic Usually Looks Like on Older Roll Formers

Older roll forming machines often use:

  • start/stop relay chains
  • timer relays
  • contactors
  • overload relays
  • mechanical counters
  • selector switches
  • hardwired interlocks.

Typical relay-controlled functions may include:

  • main drive start and stop
  • shear cycle
  • punch cycle
  • uncoiler enable
  • stacker drop
  • fault lamp circuits.

These systems can work, but they become hard to modify and hard to diagnose when wiring changes accumulate over the years.

When a Relay-to-PLC Upgrade Makes Sense

This type of upgrade is usually worth doing when:

  • the machine is mechanically sound
  • relay failures are becoming frequent
  • troubleshooting takes too long
  • new product flexibility is needed
  • the existing panel is outdated or unsafe
  • spare relay parts are hard to source
  • the owner wants better diagnostics and operator control.

If the machine also needs major drive, safety, or HMI upgrades, it often makes sense to combine those into the same project.

Step 1 — Define the Upgrade Scope Clearly

Before touching the machine, define exactly what is being upgraded.

Possible scope options include:

  • PLC only, keeping existing pushbuttons and contactors
  • PLC plus new HMI
  • PLC plus new electrical cabinet
  • PLC plus safety relay upgrades
  • PLC plus VFD integration
  • full controls rebuild.

Be clear about what will stay and what will be replaced.

Typical questions to answer first:

  • Are existing motors staying?
  • Are existing hydraulic valves staying?
  • Are existing sensors reusable?
  • Will the old cabinet remain or be rebuilt?
  • Will the machine gain recipes, diagnostics, and alarms?
  • Are drives being added where old contactor logic existed?

A vague scope is one of the main reasons retrofit projects run over budget and over time.

Step 2 — Document the Existing Machine Thoroughly

This is one of the most important steps.

Before removing anything, capture the current system in detail.

Document:

  • all electrical drawings available
  • relay panel photos
  • terminal strip labels
  • motor starter details
  • contactor and overload settings
  • timer relay settings
  • pushbutton stations
  • field device wiring
  • sensor locations
  • valve coil details
  • machine sequence behavior.

Take many photos:

  • full cabinet front
  • cabinet internals
  • relay rows
  • terminal blocks
  • wire numbers
  • motor starter sections
  • hydraulic valve manifolds
  • sensor mounting points.

If you skip this, later troubleshooting becomes much harder.

Step 3 — Understand the Machine Sequence Before Rewriting It

Do not just copy wires into PLC logic. First understand how the machine works.

Map the actual machine behavior:

  • What happens when Start is pressed?
  • What must be true before main drive runs?
  • How does the shear cycle start?
  • Does the machine stop to cut or use flying shear?
  • What signals indicate punch or shear home?
  • How does the stacker know when to drop?
  • What faults stop the line?

Write this as a functional sequence, not just as a wiring diagram.

For example:

  1. Safety healthy
  2. Hydraulic pump on
  3. Pressure proven
  4. Shear at home
  5. Main line ready
  6. Start command accepted
  7. Line runs
  8. Encoder reaches target
  9. Cut request created
  10. Line stops
  11. Shear down
  12. Shear home
  13. Line restarts

This becomes the basis for the PLC program.

Step 4 — Create a Full I/O List

Every relay logic upgrade needs a full input/output list.

Split it into inputs and outputs.

Typical digital inputs

  • E-stop healthy
  • guard switch status
  • start pushbutton
  • stop pushbutton
  • reset pushbutton
  • selector switch positions
  • shear home sensor
  • shear down sensor
  • punch home sensor
  • punch down sensor
  • hydraulic pressure switch
  • stacker home sensor
  • panel detect sensor
  • overload trip contacts.

Typical digital outputs

  • main drive run command
  • hydraulic pump contactor
  • shear down valve
  • shear up valve
  • punch valve
  • stacker drop solenoid
  • alarm horn
  • stack light outputs.

Possible analog signals

  • pressure transducer
  • oil temperature
  • line speed reference
  • VFD feedback.

Possible high-speed signals

  • encoder input
  • servo feedback interface.

Every field device should have:

  • tag name
  • description
  • voltage type
  • source or destination terminal
  • existing wire number if known
  • whether reused or replaced.

Step 5 — Decide What Old Hardware Can Be Reused

Not everything needs replacing.

Common components often reused:

  • motors
  • hydraulic cylinders
  • valve manifolds
  • some sensors
  • pushbutton enclosures
  • contactors if in good condition
  • overloads if compatible.

Common components often replaced:

  • old relays
  • timer relays
  • worn terminal blocks
  • damaged sensor cables
  • obsolete counters
  • old selector switches
  • old HMI or text panels
  • poor cabinet cooling arrangements.

Be honest about the condition of the existing hardware. Reusing bad hardware usually creates future faults blamed on the new PLC.

Step 6 — Select the PLC Platform

Choose a PLC platform that suits:

  • machine complexity
  • budget
  • local support
  • technician familiarity
  • future expansion.

For simple used roll formers, common choices are:

  • Siemens S7-1200 / S7-1500
  • Allen-Bradley CompactLogix
  • Mitsubishi FX / iQ-F
  • Omron NX / NJ
  • Delta for lower-budget builds.

Your platform choice should also reflect the user’s region and service support reality.

For example, if the machine will run in the USA, Allen-Bradley is often easier for local electricians. In Europe, Siemens is often easier to support.

Step 7 — Decide Whether to Add an HMI

A relay logic machine often has no proper operator interface beyond pushbuttons and lamps.

A PLC upgrade is a strong opportunity to add an HMI.

A simple HMI can provide:

  • start and stop controls
  • alarm messages
  • machine status
  • interlock diagnostics
  • recipe handling
  • production counts
  • manual function screens.

Even a small HMI adds huge value because it makes troubleshooting much easier.

For most retrofits, an HMI is strongly recommended.

Step 8 — Redesign the Electrical Architecture

Do not try to simply “PLC-ify” a relay panel without structure.

Create a clean architecture with layers:

  • incoming power
  • control power supply
  • safety system
  • PLC and I/O
  • contactors and overloads
  • drive interfaces
  • field terminals
  • communications.

You should also separate:

  • high-power devices
  • low-voltage control devices
  • analog and encoder wiring
  • communications.

This makes the retrofit safer, cleaner, and easier to support.

Step 9 — Design the Safety System Properly

Relay machines often have very basic safety chains. When upgrading to PLC control, review safety carefully.

At minimum, consider:

  • E-stop chain
  • guard switch circuit
  • safety relay
  • motor safe stop or contactor drop-out
  • hydraulic shutdown behavior.

Do not use the standard PLC alone to replace real safety functions unless the design includes a proper safety PLC or certified safety architecture.

A normal PLC retrofit must not weaken the machine’s safety integrity.

Step 10 — Convert Hardwired Relay Functions into PLC Logic Blocks

Now convert the old relay behavior into structured PLC logic.

Typical PLC sections should include:

  • I/O mapping
  • filtered inputs
  • machine mode logic
  • start permissives
  • hydraulic ready logic
  • main drive logic
  • shear sequence
  • punch sequence
  • stacker logic
  • alarm logic
  • diagnostics.

This is the point where the upgrade becomes better than the original system, not just equivalent.

Instead of copying every relay exactly, improve the structure.

Step 11 — Use Standard Patterns Instead of Ad-Hoc Logic

A relay-to-PLC conversion is the right time to standardize.

Use standard patterns for:

  • machine state control
  • one-shots
  • timer supervision
  • alarm latching
  • start permissive diagnostics
  • sequence state machines
  • HMI command handling.

This gives the machine better reliability and makes future support much easier.

Step 12 — Replace Relay Timers with Proper PLC Timing Logic

Old roll formers often rely heavily on timer relays for:

  • shear delay
  • punch dwell
  • stacker delay
  • restart delay.

Move these into the PLC and document them clearly.

Benefits:

  • easier adjustment
  • easier troubleshooting
  • easier backup and restoration
  • no failed timer relays to replace.

Use named timer values such as:

  • Tmr_ShearDownTimeout
  • Tmr_PunchDwell
  • Cfg_RestartDelay

rather than hidden panel-mounted timer knobs.

Step 13 — Add Diagnostics the Old Machine Never Had

This is one of the biggest gains from a PLC retrofit.

At minimum, add diagnostics for:

  • why machine won’t start
  • which interlock is missing
  • active faults
  • shear not home
  • pressure low
  • stacker not ready
  • drive not ready
  • communication faults if applicable.

A relay machine often gives only a lamp and a guess. A PLC machine should tell the operator exactly what is wrong.

Step 14 — Build the BOM Properly

A full retrofit BOM should usually include the following categories.

PLC and controls

  • PLC CPU
  • digital input modules
  • digital output modules
  • analog modules if needed
  • high-speed counter or encoder module if needed
  • communication modules if needed.

HMI

  • touchscreen panel
  • HMI mounting accessories
  • Ethernet or communication cable.

Power and protection

  • 24V DC power supply
  • MCBs or fuses
  • control transformers if needed
  • surge protection if needed.

Safety

  • safety relay
  • E-stop buttons
  • guard switches
  • safety contact blocks.

Interface hardware

  • relays if output isolation needed
  • interposing relays for valve coils
  • terminal blocks
  • fuse terminals
  • shield clamps.

Panel hardware

  • enclosure or backplate upgrades
  • DIN rail
  • trunking
  • cooling fans or filters
  • labels
  • gland plates.

Field items often replaced

  • prox sensors
  • sensor brackets
  • pushbuttons
  • selector switches
  • wiring and ferrules
  • Ethernet switches if networking is used.

Optional additions

  • VFDs
  • servo drives
  • remote access router
  • stack lights
  • horn.

Step 15 — Decide Cabinet Reuse vs Full Rebuild

This is a major practical decision.

Reusing the old cabinet

Advantages:

  • lower cost
  • less mechanical work
  • faster if the cabinet is still sound.

Disadvantages:

  • old layout may be poor
  • wiring may be messy
  • EMC performance may remain poor
  • limited space for future additions.

Full cabinet rebuild

Advantages:

  • clean layout
  • better cooling
  • better EMC separation
  • easier maintenance
  • more professional result.

Disadvantages:

  • higher cost
  • more labor
  • more downtime during swapover.

For many older used roll formers, a full cabinet rebuild is the better long-term option.

Step 16 — Rewire the Machine in a Structured Way

When rewiring, do not simply reconnect wire-for-wire without cleanup.

Best practices:

  • separate field input wiring from output wiring
  • label everything clearly
  • use ferrules
  • use shield termination properly
  • route encoder and analog cables separately
  • keep VFD output cables away from signal cables
  • document all terminal numbers.

A neat rewire saves huge amounts of future troubleshooting time.

Step 17 — Develop the PLC Program Offline Before Live Testing

Do as much work as possible before live machine startup.

Prepare:

  • I/O mapping
  • machine sequence logic
  • HMI screens
  • alarm list
  • diagnostics
  • commissioning flags if needed
  • simulation mode if useful.

This reduces site time and reduces the temptation to “patch” logic under pressure.

Step 18 — Commission in Stages

Do not try to start full automatic production immediately.

Use this sequence:

Stage 1 — Power and basic I/O checks

  • verify power supplies
  • verify PLC alive
  • verify HMI communications
  • verify every input
  • verify every output manually.

Stage 2 — Safety validation

  • test E-stops
  • test guards
  • verify safety relay behavior
  • verify machine cannot run unsafely.

Stage 3 — Subsystem testing

  • hydraulic pump
  • main drive
  • shear valves
  • punch valves
  • stacker functions.

Stage 4 — Dry sequence testing

  • no material
  • simulate sensors where safe
  • verify logic flow.

Stage 5 — Material prove-out

  • low speed first
  • verify cut length
  • verify punch timing
  • verify stacker behavior.

Step 19 — Tune the New System

Once basic functionality works, tune the machine for production.

Typical tuning includes:

  • encoder scaling
  • cut compensation
  • punch timing
  • VFD acceleration and deceleration
  • stacker delays
  • input filtering
  • sensor debounce times.

This is where the retrofit stops being merely functional and becomes production-ready.

Step 20 — Create Proper Documentation and Backups

When the retrofit is complete, document everything.

Minimum deliverables should include:

  • updated electrical drawings
  • I/O list
  • PLC backup
  • HMI backup
  • parameter lists
  • drive settings
  • alarm list
  • commissioning notes
  • spare parts list.

Without this, the value of the retrofit drops sharply over time.

Common Mistakes in Relay-to-PLC Upgrades

Copying bad old logic exactly

Some relay logic contains years of workaround wiring. Do not blindly preserve every bad habit.

Underestimating field documentation

Poor documentation of the original machine causes long commissioning delays.

Leaving too much old hardware in place

Old relays, bad sensors, and poor terminals can ruin the benefits of the upgrade.

Ignoring safety review

A PLC retrofit is not just a convenience upgrade. Safety must be reassessed properly.

Weak diagnostics

If the new system still cannot explain why it won’t start, a major opportunity was missed.

Benefits of a Proper Relay-to-PLC Upgrade

A successful upgrade usually delivers:

  • less downtime
  • faster troubleshooting
  • easier operator training
  • better product changeovers
  • better spare parts availability
  • improved resale value of the machine
  • easier future upgrades.

For many used roll formers, this is one of the best-value upgrades available.

FAQ — Upgrading from Relay Logic to PLC

Can an old roll forming machine be upgraded from relay logic without replacing the whole machine?

Yes. Many older machines are mechanically usable and only need electrical and control modernization.

Is it better to keep the old cabinet or build a new one?

It depends on condition and budget, but many older machines benefit from a full cabinet rebuild because it improves layout, cooling, and long-term serviceability.

Should I add an HMI during a relay-to-PLC retrofit?

Usually yes. An HMI adds diagnostics, alarms, recipe handling, and much better operator visibility.

Can I reuse the existing motors and hydraulic valves?

Often yes, if they are in good condition and compatible with the new control architecture.

What is the biggest risk in a relay-to-PLC conversion?

One of the biggest risks is poor understanding of the original machine sequence before rewriting the logic.

What is the biggest benefit of converting to PLC control?

The biggest benefits are usually diagnostics, reliability, flexibility, and much easier maintenance compared with relay-only logic.

Quick Quote

Please enter your full name.

Please enter your location.

Please enter your email address.

Please enter your phone number.

Please enter the machine type.

Please enter the material type.

Please enter the material gauge.

Please upload your profile drawing.

Please enter any additional information.