Skip to main content
AUTOMATION · CONTROL SOFTWARE

What Is a Virtual PLC?

A virtual PLC is PLC control software that runs in a container or virtual machine on standard computing hardware, such as an industrial PC or edge server, instead of in a dedicated controller. It runs the same IEC 61131-3 control programs, reaches its I/O over industrial Ethernet, and is deployed, updated and backed up centrally like other software.

01

What a virtual PLC is

A virtual PLC is a programmable logic controller that exists only as software. The control program and the runtime that executes it are packaged as a container or a virtual machine and run on standard computing hardware, such as an industrial PC or an edge server, instead of inside a dedicated controller. The name is often shortened to vPLC.

The job has not changed. A virtual PLC reads inputs, runs a control program written in the IEC 61131-3 languages on a fixed cycle and writes outputs, as any PLC does. What changes is how it is managed. The controller is no longer tied to one piece of hardware, so it can be installed, updated and backed up centrally like other server software, and several controllers can share one computer.

The idea reached mainstream automation in 2023, when Siemens announced the SIMATIC S7-1500V, which it describes as its first virtual controller. CODESYS, Beckhoff and Phoenix Contact now offer their own versions.

02

Virtual PLC vs soft PLC vs hardware PLC

All three run the same kind of control program. The difference is how tightly the control software is bound to the hardware beneath it.

Aspect Hardware PLC Soft PLC Virtual PLC
Where the program runs Dedicated controller with its own firmware Runtime installed on one industrial PC Container or virtual machine on an industrial PC or server
Tie to hardware Fixed Bound to one computer and its operating system Independent; can move to another host
Controllers per device One Usually one Several instances on one host
Deployment and updates One controller at a time One PC at a time Central management, as for other IT workloads
Real-time behaviour Built in Depends on the runtime and operating system Depends on the host, its set-up and the network

A virtual PLC is best seen as the next step from a soft PLC. CODESYS, for example, describes its Virtual Control SL product as the next generation of soft PLC, for almost any x86 or Arm-based Linux device and any number of instances.

Hardware PLC, soft PLC and virtual PLC compared, with the virtual PLC as several containers on one host
FIG · 01A virtual PLC runs as a container or virtual machine, so several controllers can share one industrial PC or server.
03

How a virtual PLC works

A virtual PLC installation has the same parts as any control system, arranged differently. The controller becomes a software workload, and everything physical moves out to the network. Programs are still written in the vendor’s usual software: Siemens states that the S7-1500V is engineered in TIA Portal, like its hardware controllers.

  • //
    The runtime. The PLC runtime and the control program run inside a container or a virtual machine. Container-based products typically use Docker or Podman on Linux.
  • //
    The host. An industrial PC or server supplies the processor cores, memory and network ports, with its operating system or hypervisor tuned so that control tasks start on time.
  • //
    The I/O. Sensors and actuators are wired to remote I/O stations and drives, which the controller reaches over an industrial Ethernet protocol such as PROFINET, EtherCAT or EtherNet/IP.
  • //
    The management layer. A central tool deploys controller instances, assigns licences, rolls out updates and restores a backup to another host if one fails.
04

Real-time performance and its limits

A hardware PLC keeps its cycle because nothing else runs on it. A virtual PLC shares a processor with other software and reaches its I/O through a network, so both must be made predictable.

On the computer, that usually means a real-time Linux kernel, processor cores reserved for the control task and BIOS settings chosen for steady timing. CODESYS lists the hardware, the BIOS and an RT-Preempt kernel among the things to optimise for its container-based controller. Our white paper on real-time operating systems explains latency, jitter and real-time Linux.

On the network, every cycle includes a round trip to the I/O. When the controller moves from the machine to a server room, switches and cable runs become part of the control loop, which is where Time-Sensitive Networking helps by giving control traffic a bounded delay.

In practice, virtual PLCs suit sequencing, material handling, process and building control more readily than the fastest motion control. Beckhoff, for example, notes that running its virtual PLC in a local data centre holds particular appeal for applications with lower real-time requirements.

05

Safety functions and where a hardware PLC still fits

Safety functions such as emergency stops and guard interlocks have traditionally needed dedicated safety hardware. That is starting to change. In March 2025 Siemens announced TÜV safety certification for a fail-safe version of its virtual controller, the S7-1500V F. CODESYS offers Virtual Safe Control SL, which its data sheet lists as certified to SIL 3 under IEC 61508, with a certificate from TÜV SÜD.

A certified controller is only one part of a safety function, which still has to be designed and validated as a whole. Many projects therefore keep safety on a dedicated safety PLC or relay and virtualise standard control first. A hardware PLC also remains the simpler choice for a single small machine.

FAQ · 01
When should you use a PLC and when a DIN rail PC?
Use a PLC for deterministic machine control, safety interlocks and simple I/O that must run unchanged for years. Use a DIN rail PC when the same cabinet also needs HMI screens, databases, vision or AI. Many projects use both.
Read the full FAQ —
06

Hardware for a virtual PLC

A virtual PLC still needs a computer, and in a factory that computer often has to live where a PLC would. Our DIN rail PCs include Intel Atom systems with four 2.5GbE ports and TSN, and Intel Core Ultra systems with isolated digital I/O. Where several controllers, an HMI and vision software share one host, our industrial PCs offer more cores, memory and expansion slots.

The software vendor’s requirements come first, so check its supported processors, operating systems and network controllers before choosing a computer. Beyond that, these points decide whether a host suits control work.

  • //
    Processor cores. One or more cores are usually reserved for each controller instance, with the rest left for the operating system, HMI and data software.
  • //
    Network ports. Separate Ethernet ports for the fieldbus, the plant network and management keep control traffic apart. Ports with TSN support help where timing is tight.
  • //
    Industrial build. Fanless cooling, a 24 V DC input and DIN rail or wall mounting let the host sit in the control cabinet beside the I/O.
  • //
    Storage and power. Industrial solid-state drives and a clean shutdown on power loss protect the controller images.
07

Quick answers on virtual PLCs

Virtual PLCs: common questions

Is a virtual PLC the same as a soft PLC?

Not quite. Both are PLC runtimes in software. A soft PLC is installed on one computer. A virtual PLC is packaged as a container or virtual machine that can be deployed, moved and managed centrally, often with several instances on one host.

Is a virtual PLC a simulator?

No. A simulator or emulator tests a program without real I/O. A virtual PLC is a production controller that drives real machines through networked I/O.

Can a virtual PLC run in the cloud?

Rarely for live control. Control needs a short, predictable path to the I/O, so virtual PLCs normally run on site, on an industrial PC or a local server.

What happens if the host computer fails?

Every controller on it stops. Critical systems therefore use a standby host, tested backups and I/O that goes to a safe state when communication is lost.

Will virtual PLCs replace hardware PLCs?

Not soon. They are being adopted first where many controllers are managed together. Dedicated PLCs remain the usual choice for small machines and most safety functions.

We supply industrial PCs and DIN rail PCs with the operating system, storage and network settings prepared as standard, ready for the virtual PLC software you license from your automation vendor.