Skip to main content
Legacy desktop computer beside stacked electronic test equipment

Modernising existing industrial systems without unnecessarily replacing valuable equipment.

Many manufacturing and engineering companies rely on equipment that has been operating successfully for 20, 30 or even 40 years. Although the mechanical and electrical components may still be perfectly serviceable, the computers, control systems and software on which they depend are becoming increasingly difficult to support.

A hardware failure, corrupted storage device or unavailable replacement component could result in significant production downtime.

Common problems include:

  • Computers and operating systems that are no longer supported.
  • Obsolete PLCs, processors and electronic interface cards.
  • Software written in older programming languages such as FORTRAN, COBOL, BASIC or Visual Basic.
  • Unsupported communication interfaces and protocols.
  • Limited availability of replacement hardware.
  • Incomplete or outdated technical documentation.
  • Loss of knowledge following the retirement or departure of experienced engineers.
  • Difficulties connecting existing equipment to modern manufacturing and data management systems.
  • Increasing cybersecurity risks associated with unsupported systems.

Replacing the entire machine or test system may be expensive, disruptive and unnecessary.

An alternative is to understand the existing system, identify which elements need to be replaced and develop a modern solution that retains the functionality and value of the existing equipment.

What Types of Systems Can Be Modernised?

This approach can be applied to a wide range of industrial and engineering applications, including:

  • Automated production test equipment (ATE).
  • Electronics and electrical test systems.
  • Data acquisition and measurement systems.
  • Calibration equipment.
  • Engineering calculation and analysis software.
  • PC-based machine control systems.
  • Legacy PLC-based control systems.
  • Production monitoring and reporting systems.
  • Specialist manufacturing equipment.
  • Systems using proprietary or obsolete communication interfaces.

In many cases, the original equipment performs its intended function well. The problem is not what the equipment does, but the technology on which it depends.

A Three-Stage Approach to Modernisation

Replacing legacy hardware and software requires more than simply translating an old program into a modern programming language.

It requires an understanding of the complete system, including its hardware, software, interfaces, operating environment and the requirements of the people who use it.

MDDSystems proposes a structured, three-stage approach.

Electronic interface cards and an industrial computer on a workbench

Stage 1 – Legacy System Discovery and Assessment

The first stage is to establish a clear understanding of the existing system, the problems being experienced and the risks associated with continuing to operate it.

This would typically include a visit to the customer’s facility to inspect the equipment, observe its operation and discuss the system with operators, maintenance personnel and engineers.

The discovery phase also provides an opportunity to establish what technical information is available and identify gaps in the existing documentation.

Information to Collect

Hardware

  • Computers, processors, PLCs and operating systems.
  • Electronic assemblies and interface cards.
  • Sensors, actuators and measurement equipment.
  • Electrical and mechanical interfaces.
  • Availability of replacement components.
  • Hardware configuration and calibration information.

Software

  • Original software source code.
  • Executable programs and software backups.
  • Programming languages and compiler versions.
  • External libraries and software dependencies.
  • Configuration files and databases.
  • PLC programs and associated configuration information.

Interfaces and Communications

  • Connections between computers, controllers and equipment.
  • Communication protocols such as RS232, RS485, GPIB, Modbus and Ethernet.
  • Proprietary communication protocols.
  • Data formats and message structures.
  • Signal levels, sampling rates and timing requirements.

Technical Documentation

  • Original system and software requirements.
  • Hardware and software design specifications.
  • Electrical drawings and wiring diagrams.
  • Equipment manuals.
  • Interface specifications.
  • Original test procedures and acceptance test results.
  • Maintenance and calibration records.
  • Records of modifications made since the system was originally installed.

Operational Information

  • Normal operating procedures.
  • Operator inputs and system responses.
  • Known faults and limitations.
  • Manual workarounds.
  • Alarm conditions and fault recovery procedures.
  • Safety interlocks and operational constraints.
  • Production downtime and business continuity risks.

Historical Input and Output Data

Of particular importance is the availability of historical data and records that can be used to understand and verify the behaviour of the existing system.

These may include:

  • Recorded sensor measurements.
  • Previous input data files.
  • Test equipment readings.
  • Engineering calculations and their results.
  • Production records.
  • Historical test reports.
  • Pass/fail decisions.
  • Alarm and event logs.
  • Records of equipment responses under different operating conditions.

Where suitable historical data is not available, it may be possible to collect new reference data while the existing system is still operational.

Discovery Phase Deliverables

The outcome of this stage would typically be an assessment report covering:

  • An overview of the existing system.
  • Identified hardware and software obsolescence risks.
  • Availability and quality of technical information.
  • Identified knowledge and documentation gaps.
  • Availability of suitable reference test data.
  • Potential modernisation options.
  • Recommended next steps.

The discovery phase can be undertaken as a standalone assessment without committing to a complete system replacement.

Engineer checking drawings at an open industrial control cabinet

Stage 2 – Reverse Engineering and Migration Feasibility

Once the existing system has been assessed, the next stage is to develop a more detailed understanding of how it operates and determine the most appropriate modernisation strategy.

Older systems frequently contain functionality that is not adequately described in the original documentation. In some cases, the software itself may be the most complete record of how the system operates.

Understanding the Existing Software

Analysis of the existing software may include:

  • Identifying the purpose of individual software modules.
  • Understanding calculations and data processing algorithms.
  • Identifying hardware dependencies.
  • Understanding communication protocols and data formats.
  • Identifying control sequences, timers and interlocks.
  • Documenting alarm conditions and fault handling.
  • Identifying undocumented functionality.
  • Recovering functional and interface requirements.

AI-assisted software analysis can help accelerate the examination and documentation of legacy programs, including FORTRAN, COBOL, Visual Basic and older PLC programming languages.

However, software analysis must be combined with engineering knowledge, technical documentation and an understanding of the physical equipment.

AI is a tool to assist the engineering process, not a replacement for engineering judgement or verification.

Selecting a Modernisation Strategy

There are several possible approaches to replacing legacy technology.

These include:

  • Replacing obsolete computer hardware while retaining the existing software where practical.
  • Running existing software within a compatible virtualised or emulated environment.
  • Migrating software to a modern programming language.
  • Replacing obsolete communication and interface hardware.
  • Migrating legacy PLC programs to modern controllers.
  • Replacing selected software modules while retaining others.
  • Developing a complete replacement system where necessary.

The preferred solution will depend on the condition of the existing equipment, availability of source code, system complexity, operational requirements and the expected remaining life of the equipment.

The objective is not necessarily to replace everything. It is to identify the most practical, maintainable and cost-effective solution.

Developing a Proof of Concept

Before committing to a complete modernisation project, it may be appropriate to develop a small proof of concept.

This could involve:

  • Converting a representative section of legacy software.
  • Reproducing an existing engineering calculation.
  • Communicating with an existing piece of equipment using modern hardware.
  • Demonstrating that a modern computer can replace an obsolete controller.
  • Processing historical input data and comparing the results with previous outputs.

A proof of concept can help identify technical difficulties early, demonstrate feasibility and reduce uncertainty before committing to a larger project.

Migration Feasibility Deliverables

The outcome of this stage would typically include:

  • A functional description of the existing system.
  • Hardware and software interface documentation.
  • Recovered system requirements.
  • A proposed replacement system architecture.
  • Proof-of-concept results, where applicable.
  • A proposed verification and validation strategy.
  • An implementation plan.
  • Estimated project costs, timescales and technical risks.

Stage 3 – Modernisation and Verification

Following agreement on the proposed solution, the replacement hardware and software can be developed, integrated and tested.

Where practical, the system should be modernised incrementally, allowing individual components and software modules to be tested before being integrated into the complete system.

An essential part of this stage is demonstrating that the replacement system performs its intended function correctly.

Using Historical Data to Verify the Replacement System

One of the advantages of modernising an existing system is that there may already be a substantial amount of information available describing its previous operation.

Rather than relying entirely on original requirements and documentation, historical input and output data can be used to establish a reference against which the replacement system can be tested.

This approach is sometimes referred to as characterisation testing or golden master testing.

The principle is straightforward:

  1. Obtain historical input data and the corresponding outputs generated by the original system.
  2. Apply the same input data to the replacement software.
  3. Record the outputs generated by the replacement software.
  4. Compare the original and replacement outputs.
  5. Investigate and resolve any significant differences.
  6. Repeat the tests across a representative range of operating conditions.

Where the original system remains operational, additional tests can be performed on both systems using identical input conditions.

Automated test software can be developed to process large quantities of historical data and generate detailed comparison reports.

What Should Be Compared?

Depending on the application, comparative testing may include:

  • Numerical calculations and measurement results.
  • Pass/fail decisions.
  • Generated reports and output files.
  • Data processing and filtering results.
  • Control sequences and equipment responses.
  • Alarm generation and fault handling.
  • Communication messages.
  • Processing times and response times.
  • Behaviour at operating limits.
  • Behaviour under abnormal or unexpected conditions.

Acceptable tolerances should be defined and agreed before testing. For example, differences in numerical precision between an older computer and a modern processor may be acceptable provided they remain within the agreed engineering limits.

For control systems, it may also be necessary to reproduce the sequence and timing of input signals, internal system states and operating conditions.

Example – Modernising a Production Test System

Consider a hypothetical automated test system that has been operating for 25 years.

The measurement equipment remains serviceable, but the computer is obsolete and the test software was developed using an unsupported programming language.

The customer has retained thousands of historical test records containing measurement data, calculated results and pass/fail decisions.

A replacement application could be developed using a modern programming language and supported computer hardware.

The historical measurement data could then be processed by the replacement software, with the results automatically compared against the original test records.

Any discrepancies could be identified, investigated and documented before the replacement system is connected to the physical test equipment.

This provides a practical method of building confidence in the replacement software while reducing the amount of testing that needs to be performed on operational production equipment.

Should the New System Replicate Every Aspect of the Old System?

Not necessarily.

An existing system may contain software defects, undocumented workarounds or limitations that have been accepted over many years.

Modernisation provides an opportunity to address these issues, improve usability and introduce additional functionality.

However, it is important to distinguish between:

  • Functionality that must be retained.
  • Existing behaviour that requires investigation.
  • Known defects that should be corrected.
  • New functionality requested by the customer.

Any intentional differences between the original and replacement systems should be documented, agreed and independently verified.

Historical results provide valuable evidence of previous behaviour, but they do not automatically establish that the original behaviour was correct.

System Integration, Validation and Acceptance

Comparing historical data is an important part of software verification, but it does not replace testing the complete integrated system.

The replacement system must also be tested with the actual hardware, interfaces and operating environment.

Depending on the application, this may include:

  • Hardware and software integration testing.
  • Simulation of equipment and external interfaces.
  • Testing with actual sensors and measurement equipment.
  • Timing and performance testing.
  • Testing of abnormal conditions and equipment failures.
  • Verification of alarms and safety interlocks.
  • Extended reliability testing.
  • Factory acceptance testing.
  • Site acceptance testing.

Safety-related functionality must be assessed and validated in accordance with the applicable requirements and standards.

Where practical, the original and replacement systems may be operated in parallel or the replacement system introduced in a controlled manner, with provision for reverting to the original system if necessary.

Final acceptance should demonstrate that the replacement system meets the agreed requirements and performs its intended function within the customer’s operating environment.

Recorded inputs feed both systems. Their outputs are compared to produce a discrepancy report.

Documentation and Long-Term Support

A successful modernisation project should not simply replace one difficult-to-maintain system with another.

The replacement system should be designed with long-term maintainability in mind.

The final technical package may include:

  • System requirements and functional specifications.
  • Hardware and software design documentation.
  • Source code and configuration files.
  • Interface specifications.
  • Installation and operating instructions.
  • Automated test software and reference datasets.
  • Verification and validation reports.
  • Backup and recovery procedures.
  • Maintenance and troubleshooting instructions.

The objective is to ensure that the customer has the information required to operate, maintain and modify the system in the future.

Additional Opportunities

Once legacy hardware and software have been modernised, it may become considerably easier to introduce additional capabilities, including:

  • Automated production data collection.
  • Remote equipment monitoring.
  • Modern operator interfaces and dashboards.
  • Integration with manufacturing and quality management systems.
  • Automated reporting.
  • Equipment condition monitoring.
  • Improved diagnostics and fault identification.
  • Secure connectivity to other systems.

These improvements can be introduced incrementally without unnecessarily increasing the scope or risk of the initial modernisation project.

Start with a Legacy System Assessment

Not every legacy system requires a complete replacement.

In some cases, replacing an obsolete computer, recovering software documentation or modernising a single interface may be sufficient to extend the useful life of valuable equipment.

MDDSystems takes a practical engineering approach to understanding existing systems, identifying obsolescence risks and developing appropriate modernisation solutions.

By starting with a discovery and assessment phase, customers can make informed decisions before committing to a larger investment.

Understand the existing system. Retain what works. Replace what needs to be replaced. Verify the results.

If your production, test or engineering equipment relies on obsolete hardware or unsupported software, contact MDDSystems to discuss how its operational life could be extended.