Running CODESYS On A Panel PC:
A Technical Decision Guide For Engineers

Running CODESYS On A Panel PC:
A Technical Decision Guide For Engineers

Panel PC-based control is not a default replacement for a traditional PLC. It is an architecture option worth evaluating when the machine can benefit from tighter integration between control, visualization, diagnostics, and data handling.

With a CODESYS SoftPLC runtime, engineers can run IEC 61131-3 control logic on PC-based industrial hardware. For the right application, that can simplify the control stack and create a more flexible machine platform. For the wrong application, it can add complexity that a dedicated PLC would avoid.

The decision should start with the machine, not the hardware. Before choosing a CODESYS panel PC architecture, engineers should evaluate timing requirements, operating system strategy, I/O design, HMI load, maintenance expectations, and long-term support.

Start With Timing, Not Hardware

The first question is whether the application’s timing requirements fit a SoftPLC approach. CODESYS Control for Linux SL is designed for PC-based industrial controllers with soft real-time properties, which can be a strong fit for many automation applications. It still needs to be evaluated against the actual control task, though.

Start by defining:

  • Required scan times
  • Acceptable latency and jitter
  • Motion control requirements
  • Fieldbus update rates
  • HMI and control workload
  • Safety architecture
  • Expected machine uptime

Applications with moderate timing requirements are often better candidates than systems that need extremely tight deterministic control. Machine tending, packaging support, utility systems, test stands, and compact OEM equipment may be worth evaluating. High-speed motion, tightly synchronized axes, or processes with strict deterministic requirements may still be better served by a traditional PLC or dedicated motion controller.

The key is to avoid choosing the architecture because the panel PC is already there. The control performance requirements should decide whether the panel PC should own the PLC runtime.

Know What The Panel PC Is Being Asked To Own

A panel PC can carry more responsibility than a standard HMI, but that does not mean it should absorb every machine function by default. Engineers should define exactly what will run on the device and what should remain separate.

A CODESYS-based panel PC may handle:

  • PLC runtime
  • HMI screens
  • Alarm management
  • Recipe handling
  • Data logging
  • Remote access tools
  • Diagnostics
  • Communication with I/O, drives, sensors, and higher-level systems

That consolidation can be useful, especially on compact machines or repeatable OEM platforms. It can also make the panel PC a more critical single point of operation. CPU load, memory, storage, network usage, and thermal performance all need to be sized with the full workload in mind.

A good design should make responsibilities clear. If the panel PC is running control and visualization, the HMI should not compete with the runtime for resources in a way that affects control performance. If the device is also handling data or remote access, those services need to be managed intentionally.

The goal is not to put everything on one device; it’s to build a machine architecture where the panel PC has the right responsibilities and enough headroom to handle them reliably.

Match The Operating System To The Support Model

When PLC logic runs on a panel PC, the operating system becomes part of the control architecture. That changes how engineers need to think about updates, security, startup behavior, recovery, and support.

CODESYS can run in PC-based environments such as Linux or Windows, and either approach may be valid depending on the machine. Linux may be attractive for teams that want a leaner control environment and more configuration control. Windows may be useful when the machine depends on existing Windows-based HMI, data, or support tools.

The right OS choice should be based on practical support requirements, including:

  • Runtime compatibility
  • Driver and fieldbus support
  • Startup behavior after power loss
  • Patch management process
  • Background services
  • User access control
  • Backup and restore method
  • Internal support familiarity
  • Customer maintenance standards

A panel PC running PLC logic should not be treated like a general-purpose computer. Unnecessary services should be removed or disabled, updates should be tested before deployment, and recovery procedures should be documented before the machine ships.

Build The I/O And Fieldbus Strategy Early

A CODESYS panel PC architecture works best when I/O and communication are treated as core design decisions

The panel PC is only one part of the system. The architecture also depends on how the controller connects to remote I/O, drives, safety components, sensors, scanners, vision systems, and other machine devices.

CODESYS supports common industrial communication options, including classic fieldbus and Industrial Ethernet protocols. That flexibility does not, however, remove the need for early compatibility checks. Engineers should confirm that the selected panel PC, runtime, network interface, device hardware, and communication protocol are supported as a complete system.

Key questions to answer early:

  • Which protocols are required by the machine or customer standard?
  • Will I/O be local, distributed, or a mix of both?
  • Are drives, sensors, and remote I/O devices compatible with the selected runtime?
  • How will network faults and device-level diagnostics be displayed?
  • What expansion may be needed later?
  • Are separate networks needed for control, HMI, plant data, or remote access?

This is also where maintainability starts to show up. If a field device drops offline, the system should make it easy to identify what failed and where. Good diagnostics are especially important when the panel PC is acting as both the operator interface and the controller.

A CODESYS panel PC architecture works best when I/O and communication are treated as core design decisions, not details to clean up during commissioning.

Be Intentional About Combining HMI And PLC Functions

One of the main reasons to consider CODESYS on a panel PC is the ability to bring control and visualization closer together. CODESYS Visualization can be developed within the same broader environment as the PLC application, which can make variable access and HMI development more efficient.

That can be useful for OEMs and machine builders that want a repeatable platform. Instead of maintaining a separate PLC project and HMI environment, teams may be able to create a more integrated workflow for logic, alarms, trends, recipes, and operator screens.

The benefit depends on how the system is designed. Before combining HMI and PLC functions on the same device, evaluate:

  • Processor and memory headroom
  • Screen complexity
  • Alarm and trend load
  • Recipe handling
  • Data logging requirements
  • Operator interaction patterns
  • Runtime priority
  • Backup and restore needs

The HMI should remain responsive without creating unnecessary load on the control runtime. Engineers should also consider what happens during screen changes, large data views, browser-based access, or remote sessions.

Plan For Lifecycle Support Before The Machine Ships

Panel PC-based control should be designed with long-term support in mind. Once the PLC runtime, HMI, network settings, licenses, and project files all live closer together, documentation and recovery planning become more important.

Before deployment, define:

  • Who owns OS updates
  • Who owns CODESYS runtime updates
  • How application revisions are tested
  • Where project files are stored
  • How licenses are tracked
  • How users and passwords are managed
  • How remote access is secured
  • How backups are created
  • How a failed panel PC will be replaced
  • How quickly the machine can be restored

Cybersecurity should also be treated as part of lifecycle support. The design should limit unnecessary services, restrict access, document open ports, and involve IT or OT stakeholders when the machine connects to the plant network.

For maintenance teams, the most important question is, “If the device fails, can the team recover without starting from scratch?”

A strong panel PC-based control design should include spare hardware planning, image-based recovery, version control, and clear documentation. The more responsibility the panel PC owns, the more important those support details become.

Where A CODESYS Panel PC Architecture Fits Best

A CODESYS-based panel PC setup can be a strong fit when the machine benefits from integrated control and visualization without extreme timing demands.

Good candidates may include:

  • Compact OEM machines where cabinet space matters
  • Machine platforms that need reusable control and HMI standards
  • Equipment with moderate control timing requirements
  • Test stands and utility systems
  • Machine tending cells
  • Packaging support equipment
  • Systems that need diagnostics, recipes, logging, or remote support
  • Machines expected to gain more data-driven features over time

Traditional PLC architectures may still be the better fit for:

  • Very high-speed deterministic control
  • Complex synchronized motion
  • Plants with strict PLC standardization
  • Applications with heavy validation requirements
  • Systems where safety or lifecycle requirements favor dedicated hardware
  • Facilities where maintenance teams are already deeply standardized around one PLC ecosystem

The point is not that one approach is better across the board. The point is that the controller architecture should match the machine’s performance requirements, support model, and future roadmap.

How An Automation Partner Helps Validate The Architecture

The value of an automation partner is not simply knowing how to install CODESYS or select a panel PC. The real value is helping validate whether this architecture makes sense for the specific application.

A strong partner can help evaluate:

  • Whether the timing requirements fit a SoftPLC approach
  • Which panel PC specifications are appropriate
  • Whether Linux or Windows better fits the support model
  • How the system should connect to I/O and field devices
  • Whether HMI and control should run on the same device
  • How cybersecurity, backups, and updates should be handled
  • Where a traditional PLC is still the cleaner answer

Panel PC-based control sits at the intersection of controls engineering, industrial networking, software configuration, cybersecurity, and lifecycle support. A well-designed system can simplify the machine, while a poorly defined one can shift complexity into places that are harder to support later. The best partner will not force the architecture; they will help prove whether it fits.

Choose The Architecture Based On The Application

Evaluate the architecture as a whole rather than treating each decision in isolation. The timing profile of the application, the scope of responsibility assigned to the panel PC, the operating system and I/O approach, and the long-term support model all interact with each other. A design that looks efficient on paper can introduce risk if those elements are not aligned. The goal is to arrive at a configuration where performance, maintainability, and lifecycle support are balanced in a way that fits the machine and the environment it will operate in.

If you are evaluating a similar approach or want a second set of eyes on your architecture, CAS can help assess fit, validate design decisions, and support implementation.

Ready to Transform
Your Operations?

Let us help you achieve measurable success and drive innovation in your business.
Contact Cleveland Automation Systems™ today for a personalized consultation.

About the Author: Rylan Pyciak

Rylan Pyciak, CEO of Cleveland Automation Systems™, is a Systems and Control Engineering graduate from Case Western Reserve University. With expertise in PLCs, robotics, and industrial engineering, Rylan leads CAS in delivering innovative automation solutions. Passionate about mentoring future trades professionals, he combines technical knowledge with a commitment to fostering sustainable growth in manufacturing.