Programmable logic controllers have been the immovable core of industrial automation for fifty years, dedicated hardware running deterministic logic, hardwired to I/O. That’s starting to change.
A virtual PLC replaces the physical controller with software that runs the same control logic on a server, industrial PC, or hypervisor, communicating with I/O over the network instead of a backplane.
For plant engineers and system integrators, that shift raises a practical question: is a virtual PLC a genuine upgrade or a new set of failure modes wearing familiar ladder logic?
This article walks through how virtual PLCs work, where they earn their keep, where they’ve failed in the field, and how to decide whether your process is a good candidate.
What Is a Virtual PLC?
A virtual PLC (sometimes called a “soft PLC” or “PLC as a virtual machine”) separates the control logic from the physical controller hardware. Instead of a chassis with a CPU module, power supply, and local I/O racks, the control program runs as software, either
- On a virtual machine inside a hypervisor (VMware ESXi, Microsoft Hyper-V) hosted on an industrial server
- As a containerized application (Docker) on an edge computing platform
- On an industrial PC running a real-time operating system layer alongside standard Windows or Linux
The virtual controller still executes the same scan cycle logic, reading inputs, processing the program, and writing outputs, but it communicates with field I/O through Ethernet-based protocols like EtherNet/IP, PROFINET, or Modbus TCP rather than a physical backplane.
Major vendors now offer this as a supported product line: Rockwell Automation’s Emulate3D and virtualized ControlLogix, Siemens’ SIMATIC S7-1500V, Schneider Electric’s EcoStruxure Automation Expert, and CODESYS Control Virtual are the most common platforms in North American plants.
Why Plants Are Adopting Virtual PLCs
Faster deployment and commissioning
Spinning up a new virtual controller takes minutes. Clone a VM template, assign IP addresses, and load the program.
Compare that to procuring a physical chassis, waiting on lead times that stretched to 6–12 months during recent chip shortages, and physically wiring and mounting the unit.
Hardware consolidation and lower capital cost
A single industrial server can host dozens of virtual controllers, each isolated in its own VM or container.
For a plant running 40 small machine-level PLCs, that can mean replacing 40 physical chassis with two or three redundant servers, a meaningful reduction in panel space, spare-parts inventory, and per-unit licensing cost.
Built-in redundancy and disaster recovery
Hypervisors natively support live migration and automatic failover. If the physical host running a virtual PLC fails, the VM can restart on a secondary host in seconds, something that historically required expensive redundant hardware controller pairs.
Easier version control and rollback
Because the controller is now a virtual machine image, engineers can snapshot the entire runtime state before a firmware update or logic change and roll back instantly if something goes wrong, a capability physical PLCs never had.
Simplified scaling for brownfield and greenfield projects
Adding control capacity no longer means finding panel space for another chassis. It means provisioning another VM, which is particularly attractive for modular skid-based manufacturing and multi-site standardization.
The Risks: Where Virtualization Changes the Threat Model
Determinism and scan-cycle jitter
Physical PLCs run on dedicated silicon with a guaranteed, deterministic scan cycle. A virtual PLC shares CPU cycles, memory bandwidth, and network interfaces with the hypervisor and potentially other VMs on the same host.
Under load, a backup job, a patch cycle, or another VM spiking CPU, scan times can jitter in ways that matter for high-speed motion control, fast analog loops, or safety-rated timing.
Vendors mitigate this with real-time hypervisor extensions and CPU core pinning, but it requires deliberate configuration, not defaults.
A single point of failure becomes many points of failure
Consolidating 40 physical PLCs onto two servers is efficient, until one server fails. A hardware fault, a botched hypervisor patch, or a misconfigured VM host can take down every controller riding on it simultaneously, an outage pattern that simply couldn’t happen when each machine had its own isolated hardware CPU.
Expanded cyberattack surface
This is the risk that gets the most attention, and for good reason. A physical PLC is, in a sense, cyber-isolated by its hardware form factor.
An attacker needs network access to the controller itself. A virtual PLC lives on general-purpose IT infrastructure: a hypervisor with a management interface, a host OS that needs patching, and often the same VLAN as other virtualized services.
That means virtual PLCs inherit IT-style vulnerabilities, hypervisor privilege escalation, VM escape, and credential theft on the management plane that never applied to air-gapped hardware controllers.
The 2021 Colonial Pipeline incident, while not a direct PLC compromise, illustrated how thoroughly IT and OT network boundaries have blurred, and virtualized control layers sit directly on that blurred line.
Licensing and vendor lock-in
Virtual PLC runtimes are typically licensed per-instance or per-core, sometimes with cloud-based license servers.
A licensing server outage, an expired subscription, or a vendor’s decision to sunset a virtualization platform can take a controller offline in a way that a paid-off physical chassis never could.
Loss of institutional troubleshooting knowledge
Plant electricians and maintenance techs know how to diagnose a blinking status LED, swap a fuse, or reseat a module on physical hardware.
Virtual PLC troubleshooting requires hypervisor and networking skills that most maintenance teams don’t have yet, which can turn a five-minute fix into a multi-hour vendor support call.
Real-World Failures and Near-Misses
Automotive stamping line CPU contention
A Tier 1 automotive supplier consolidated several press-line PLCs onto a virtualized platform to save panel space during a retrofit.
Under normal load, the system ran fine, but during a scheduled antivirus scan on the host server, scan-cycle jitter on one virtual controller exceeded the tolerance of a safety interlock, triggering an unplanned stop mid-cycle.
The fix required strict CPU core reservation for the control VMs and moving the antivirus scan to a maintenance window, a configuration step that hadn’t been part of the original commissioning checklist.
Data center HVAC/BMS virtualization outage
A building management system running virtualized controllers for a data center’s cooling infrastructure lost multiple zones simultaneously when the host server experienced a RAID controller failure.
Because the redundant VM host was configured on the same physical storage array, the intended failover didn’t isolate the fault.
Cooling was restored from physical backup controllers that had deliberately been left in place as a fallback, a decision the facility credited with avoiding a thermal shutdown of production servers.
Water treatment facility ransomware exposure
Several U.S. water utilities have disclosed unauthorized access attempts targeting HMI and control-layer infrastructure connected to broader IT networks, most notably incidents investigated by CISA involving exposed remote access to water treatment control systems.
While not all of these involved fully virtualized PLCs, they demonstrate the underlying risk: any control layer that rides on shared, network-accessible infrastructure inherits that infrastructure’s exposure to credential-based and remote-access attacks, a risk profile that air-gapped physical controllers largely avoided by design.
Colonial Pipeline (2021)
Though the attack compromised IT billing systems rather than OT control logic directly, Colonial Pipeline proactively shut down its physical pipeline operations as a precaution, underscoring how converged IT/OT architecture, of which virtualized control platforms are an extension, can force operational shutdowns even when the control logic itself isn’t directly touched.
Virtual PLC vs. Physical PLC: Side-by-Side Comparison
| Factor | Physical PLC | Virtual PLC |
|---|---|---|
| Deployment speed | Weeks to months (procurement, wiring) | Minutes to hours |
| Hardware footprint | One chassis per controller | Many controllers per server |
| Determinism | Dedicated CPU, highly predictable | Shared resources require tuning |
| Redundancy | Requires paired hardware controllers | Native via hypervisor failover |
| Cybersecurity exposure | Low (isolated by design) | Higher (inherits IT-layer risks) |
| Troubleshooting skill set | Electrical/controls technicians | Controls + IT/virtualization skills |
| Licensing model | One-time hardware purchase | Often subscription or per-core |
| Best fit | Safety-critical, high-speed, harsh environments | Non-time-critical logic, brownfield consolidation, DR-focused sites |
When a Virtual PLC Makes Sense and When It Doesn’t
Good candidates
Supervisory and coordination logic, building automation and BMS layers, non-safety-rated process control, pilot lines, and any application where centralized management and rapid disaster recovery matter more than microsecond-level determinism.
Poor candidates
Safety instrumented systems, high-speed motion and packaging lines, any control loop where scan-cycle jitter of even a few milliseconds affects product quality or personnel safety, and remote sites without reliable IT support to maintain the hypervisor layer.
The practical pattern emerging across plants isn’t all-or-nothing. It’s a hybrid architecture: physical PLCs retained for safety-critical and high-speed control, with virtual PLCs handling supervisory, building automation, and lower-tempo process logic where their flexibility outweighs the determinism trade-off.
FAQ
Is a virtual PLC as reliable as a physical PLC?
It can be, but reliability depends entirely on how the hypervisor and host hardware are configured, including redundant power, redundant storage, dedicated CPU cores, and a real-time-capable hypervisor extension.
A poorly configured virtual PLC is less reliable than physical hardware; a properly engineered one with redundant hosts can match or exceed it for uptime, though not necessarily for deterministic timing.
Can virtual PLCs run safety-rated logic?
Some platforms are pursuing safety certifications for virtualized runtimes, but as of now, most safety-instrumented systems (SIS) still rely on dedicated, hardware-based safety PLCs. Check current certification status with your specific vendor before considering virtualization for any SIL-rated application.
Do virtual PLCs need a constant network connection to work?
No, once running, a virtual PLC communicates with I/O over the plant network the same way a physical Ethernet-based PLC would.
The hypervisor host needs to stay powered and operational, but it doesn’t require an external internet connection unless the licensing model specifically demands cloud-based license validation.
What’s the difference between a virtual PLC and a soft PLC?
The terms are often used interchangeably. “Soft PLC” more commonly refers to control logic running as an application on a general-purpose OS (like CODESYS running on Windows), while “virtual PLC” more specifically implies the controller runs as its own virtual machine or container within a hypervisor, but vendor usage varies, so it’s worth confirming the exact architecture with any specific product.
Are virtual PLCs cheaper than physical PLCs long-term?
Often yes on hardware and panel space costs, but licensing subscriptions and the added IT/cybersecurity overhead can offset those savings.
A full total-cost-of-ownership comparison should include server hardware, hypervisor licensing, PLC runtime licensing, and the added labor for IT-style maintenance and patching.
The Bottom Line
Virtual PLCs aren’t a wholesale replacement for physical controllers. They’re a new tool that shifts risk from the mechanical domain (chassis failures, wiring, and obsolescence) to the digital domain (cybersecurity, host infrastructure, and licensing).
The real-world failures on record so far share a common thread: they happened when virtualization was treated as a drop-in replacement rather than an architecture that demands its own commissioning discipline, CPU reservation, network segmentation, redundant storage, and a documented patching cadence.
Plants that have had success with virtual PLCs treat them exactly that way: as IT infrastructure that happens to run control logic, not as a PLC that happens to be virtual.