Computer-based PLCs
The PLC continues its decades-old dominance of the workplace, but new systems are challenging this paradigm by using software-based platforms that leverage modern computer technology.
The declining cost of computer chips and peripheral devices has led to widespread use in control, including the replacement of PLCs. Computers are complex, and this allows several variations in the implementation of control logic. Because of this, there are two characteristics of a computer-based PLC that we must take into consideration: it must interact with real-world hardware, and it must be capable of executing logical instructions based on that hardware.
Beyond those two basic requirements, modern computer technology opens the door to a wide range of applications, including cloud connectivity, complicated data analytics, AI processing (for vision and maintenance, among other uses), and a variety of additional protocols.
Control system automation is being implemented in several variations in modern computer systems. In the following pages, we will discuss three prominent examples: PLC software running on a standard PC; control software running on hardened, robust industrial PCs (IPCs); and control software running on virtual PLCs, a remote system that requires only a network connection to the manufacturing floor I/O terminals.
PLC Software
Using PLC software, any computer operating system can become a PLC in two simple steps: download and install the software, then plug an I/O device into the computer's USB port to enable the PLC to interact with real hardware.
This strategy is excellent for very simple applications in a benchtop or lab environment where more favorable conditions, such as stable temperature and humidity, allow a standard computer to perform optimally. Computers generally come standard with one of three operating system architectures: Windows, Mac, or Linux. Most software is designed to install on one or more of the three, provided the manufacturer creates the proper variants. The operating system can access the two main types of communication ports on nearly all laptops and desktops: USB and Ethernet ports.

Figure 7.12. PCs are common in both lab and R&D work. Image used courtesy of Adobe Stock
Some of the remote I/O modules on the market connect directly to the computer’s USB port. These are often called data acquisition or DAQ modules. They must be physically close to the computer because USB cables have a limited length, and the maximum voltage on most of these I/O modules is 5 volts. Because of these restrictions, USB I/O modules are best suited for benchtop prototyping and lab environments, and aren’t widely offered by industrial manufacturers.
Ethernet is a much more common protocol for remote I/O, since it is built into many PLCs. With the right software, a PC can connect to an Ethernet remote I/O module (including Modbus TCP types), and the PLC software can have access to the outside world.
The factory floor's operating conditions are usually not conducive to installing a general-purpose laptop in a control cabinet near the machine centers, so this software-only solution is not likely to be found in these environments. Rather, it’s far more likely to appear in R&D applications. A more common example is when the CPU is placed in a more robust enclosure and outfitted with a wider array of industrial network protocols. This leads us to the next example: the industrial PC.
Industrial PC
An industrial PC is a computer CPU (usually running Linux or Windows) built into a robust, fanless enclosure with a range of industrial communications ports, or COM ports. The OS runs the PLC software, and the COM ports can connect to Ethernet, PROFINET, EtherCAT, Modbus, and other common networks.
This strategy is increasingly popular because it provides greater capability in the local control system, but it does not offload program execution to a remote location. This is beneficial because offloading can be risky due to the possibility of network outages or delays in transmitting commands between network devices.

Figure 7.13. An Industrial PC with standard PC ports and I/O headers.
Many companies are developing these industrial PCs (or IPCs), but across all brands, there is a fairly standard base composition. IPCs usually have a high-performance CPU and GPU, a solid physical casing with few or no openings plus heatsinks to reduce heat, and ports that connect to industrial protocols for instant access to field I/O devices.
The GPU is an important component in these IPCs, but it takes on a different purpose in modern industry. In the past, graphics processing was required for video games, complex visual designs, and animations. While these are not required for display on an industrial screen (or HMI), the GPU acts as the main processor for AI applications. These AI algorithms are used for applications such as machine vision processing, robot motion path planning, and analytics from multiple sensor data streams. GPUs are designed with a large number of parallel processing cores, making them excellent for rapid mathematical analysis, whereas CPUs are best suited for slower, sequential task execution.
Communication ports are another defining element of IPCs. Communication compatibility is a major factor that cannot be overlooked. Standard PCs have Ethernet ports, which are compatible with many peripheral devices; this is especially true in North America, where Ethernet is prevalent. However, most machines in real-world applications are a mismatch of old and new protocols and devices sourced from various regions. This means that a proper controller must be able to communicate via Ethernet, PROFINET, EtherCAT, Modbus, CAN, CC-Link, and IO-Link, and may also require local access to digital and analog I/O. A standard PC would require many specialized external protocol converters to handle all of this, but an IPC is designed for compatibility by default.
Virtual PLC
A virtual PLC is a remote computer (perhaps stored in an on-site or remote server) running a PLC development software suite. In this case, a traditional PLC is not present; instead, a piece of software running on standard PC hardware performs the same function. This means programmers can make updates, visualize data, push updates to physical hardware, and more from anywhere.
The term “virtual PLC” is sometimes used interchangeably with “soft PLC”. In the past, a soft PLC was defined as a PLC application that was programmed externally and downloaded to the operating system. This application could do anything an older PLC could, but it wasn’t strictly a PLC in the sense that it wasn’t comprised of hardware components. Because it was only a software emulation of a traditional PLC, the name “soft PLC” stuck.
Virtual PLCs are the next evolution of soft PLCs because they still rely on generic computer hardware, which becomes a PLC once the software application is installed. But the development software may be entirely virtual—in the cloud or on a remote server—so it is more flexible than soft PLCs, and far more flexible than older PLCs. In the case of computers, the term flexible simply means that the device can be used in many different contexts depending on the design requirements.
Whether we call it a soft PLC or a virtual PLC, the hardware is simply providing a connection between the devices on the shop floor and a remote programming system. This is a perfect example of one of the ongoing challenges with modern control technology—the constant changes in terminology stemming from the myriad of potential uses. The same device may serve as a motion controller, a PLC, or a gateway, requiring each engineer to refer to it by different names.
One thing is certain: as time goes on, control technology will continue to become more integrated into computer systems. That means engineers will need to be more familiar with security, networking, and advanced programming concepts that have rarely been required in industrial control and automation.