What is the difference between PLC and industrial PC?

25 Mar.,2024

 

If you want to learn more, please visit our website .

The 1970s saw the introduction of PLCs or Programmable Logic Controllers, which would forever change the way automation is achieved in industrial environments. Known for its rugged design and scalable implementation, the PLC was adapted by all major manufacturers and to this day is the norm for industrial automation. Allen-Bradley, Omron, Siemens, AEG, etc. became the leaders in PLC manufacturing, and soon the controllers had the processing capability of a computer while withstanding harsh industrial conditions.

It wasn’t until the 1990s when renewed interest in Personal Computers started gaining ground. The primary reason was increase in processor speed, reduction in size and a downward trend in cost. Industries also started incorporating PCs into their plants due to the level of supervisory control they provided over other machines including PLCs.

However, today both PLCs and PCs have developed similar features which has made it quite difficult for control engineers to decide on which product to use. Let’s take a look at both these products’ core functionalities.

PLCs were designed as a more streamlined, cut-down, highly flexible and rugged alternative to relay panels and switch boxes. It was generally assigned specific tasks, which were pre-programmed and then executed. However, customization was another factor that PLCs had to provide, therefore a unique language and structure was selected for all programming activities. Known as “ladder logic”, this allowed quick customization in code according to the situation. On top of all this, PLCs also had to bear the brunt of electromagnetic radiations, vibrations and contamination. With the passage of time, PLCs had to keep up with developing technologies as well. Soon, ethernet connections, PID process controls and integrated safety became part of PLCs, adding to their long list of features.

PCs eventually developed features that put them in line with PLCs in terms of functionality. In addition, they retained their robustness as well as customization due to the availability of card slots and ports. The processing power of PCs was often greater than PLCs as they contained real-time kernel, enabling it to perform time-critical tasks and implement control algorithms.

The final goal is robust, efficient and reliable control over industrial assets, and therefore every single credential of PLCs and PCs must be put head to head to gain a better understanding and logical conclusion. 

Operation

Standard PLCs are embedded with a real-time operation system that uses a dedicated processor to ensure a high degree of reliability during control operations. A PLC’s OS is designed specifically for carrying out tasks related to control and therefore there is no need for utilities such as antivirus programs or registry cleaners. This in effect, increases the processing throughput of the system, making sure more processing cycles are utilized monitoring crucial parameters.

PCs are also designed with real-time kernel and an associated operating system, putting it neck to neck against PLCs in terms of processing capabilities. The reliability of PCs was troubled as earlier experiences with system crashes were quite common. However, this limitation was soon eliminated with simpler OS that were specially built for use in industries.

Therefore, PLCs and PCs are currently at the same level in terms of operation.

Hardware Integration

The industrial requirements of today are no longer similar to the requirements 20 years ago. Both PLCs and PCs are required to control a host of devices for communication, monitoring and control, and should therefore have sufficient expansion capabilities. Well-known industrial communication protocols include Profbus, CANbus, Modbus, EtherCAT, EtherNET/IP, etc.

Even though both the PLC and PC offer these fieldbus options, the PLC has all these capabilities built into it by default. In contrast, a PC may require an expansion card for supporting a specific protocol. But the greater number of expansion slots in PCs mean that greater customization is possible and a wide variety of interfaces may be utilized for operation.

This puts PCs ahead of PLCs when it comes to handling tasks such as advanced high-resolution imaging or others with multiple unexpected processing requirements. Furthermore, if memory-demanding tasks are to be accomplished using a PLC, then a supplementary industrial PLC would have to be installed to keep up with the dynamic parameters and connections.

Security

Cyber-espionage has always been on the rise due to the increased connectivity between devices. Industrial security is paramount to ensure continuous uptime and maximum productivity. There are two basic dimensions of security that a PLC/PC should be concerned with:

  • Blocking unauthorized access from external attacks
  • Limiting user access as per their rights/designation

Traditionally, PLCs have been thought to be immune to malware attacks and this is true to some extent. PLCs have dedicated OS and limited functionality, putting them at lesser risk from attacks compared to PCs. However, recent episodes such as the one with “Stuxnet”, a malware targeting Siemens’ PLCs have dented the PLC’s reputation as being immune to viruses. Still, the recorded instances of such attacks are extremely limited. In comparison, PCs are extremely vulnerable to malware attacks, and require top of the line antivirus protection and monitoring.

Programming

Programming environment and language is crucial for obtaining optimum efficiency, whether it’s from a PLC or PC. One of the major difference between a PLC and PC is the way in which programs are developed and executed. A PLC usually follows a scan-based program execution, whereas PC software are usually event-driven. The different execution styles in turn translate into different programming philosophy.

PLCs are programmed using languages specified in the IEC 61131-3 standard, i.e. ladder logic or proprietary vendor language. In comparison, PC-based programs use languages such as C/C++/.NET. No language can be termed better than the other as it depends solely on the expertise of the programmer. But due to the increased trend of PC based solutions and courses, a programmer is more likely to find C/C++/.NET more flexible compared to ladder logic.

Cost Discussions

This may be the last topic under discussion, but is one of the most important ones. The automation and control problems of today are multi-dimensional and can be solved in more than one manner. Both PC-based or PLC-based solutions are eligible for some applications, however the major constraint that proves detrimental is the cost associated with these solutions.

  • Performance vs. Cost

The initial cost of a PC-based solution may be higher than a PLC one but whenever demanding calculations and complex network loads need to be processed, a PC-based program is more cost-effective. In comparison, PLCs may be initially cheap but as processing power increases, their cost follows an exponential trend.

  • Expandability vs. Cost

PCs have a higher cost than PLCs when no external peripherals need to be added as PLCs usually support standard industrial equipment. However, when a solution requires a plethora of external controls, a PC-based solution is much better-suited than a PLC-based one.

  • Ruggedness vs. Cost

PLCs do not require excess of protection equipment to increase their ruggedness and shielding. In comparison, a PC may require considerable investment on shielding it from harsh environment effects so that maximum uptime can be guaranteed.

Interested in learning more? Contact an expert, or visit our website: PanelShop.com.

You May Also Be Interested In Reading

Aaron Severa / product manager—HMI, FieldConnex, remote IO / Pepperl+Fuchs

Application-agnostic PCs embrace evolution more quickly

I suppose the answer here might depend on how quickly your company wants to be able to innovate. It’s true that technologies, libraries, operating systems, protocols and everything else tend to move on more quickly toward obsolescence in the PC world than in the PLC world. But, to take another angle on this, those same factors moving more quickly in PC solutions also allow you to more readily embrace the rapid iterations and innovations that come along. Technology advancements are not done just for the fun of it.

There are deliberate motivations behind these changes. Each improvement is done with the intention of allowing users to do more, to do it on a greater scale and to do it with more efficiency. The same forces are applied in both PLCs and PCs, as, underneath it all, these share many commonalities. However, the fact that PCs are designed to be more application-agnostic and less hardware-oriented allows for evolution to take place more quickly.

Regardless of whether you take a stance that is more PLC or PC-centric, an important factor to consider is what dependencies your application has: is there a path forward, and does the vendor have a future-proof plan? The horror stories resulting from Windows XP’s retirement weren’t a result of the need for us to start building systems with a newer operating system.

These resulted from the plethora of software technology providers who had made no forward-looking plans for what comes next. No technology is going to be relevant forever. All will eventually face obsolescence. The key goal is to pick technology providers who have a vision and a plan for how to stay ahead of the curve and who can help carry you forward along the way.

Jotham Kildea / solutions sales engineering supervisor / Iconics

Reduce the risk of choosing the wrong control architecture

The breadth of applications for PC- and PLC-based control is increasing, and the line between PLC and PC is becoming more nebulous. Driven by the production pressures to reduce costs within manufacturing, increase finished goods part counts and establish a robust log of traceability data to clearly document quality, both PC- and PLC-based control architecture have their merits, many of which you have clearly articulated. The risks of choosing the wrong control architecture can be devastating, and you are absolutely correct in taking an objective perspective when comparing the two control-based architectures. Before we address the risks of PC-based control, two pieces of data should be gathered, the first being the prioritization of the facilities’ objectives; the second are principles to compare each architecture’s specifications to these objectives.

Each of the facilities’ objectives, not only from the perspective of one department, but the facility as whole, should be paired with the facilities’ pressures, which are incentivizing the achievement of the objectives, as well as the facilities’ current challenges inhibiting the objectives from coming to reality immediately. This prioritization will help when guiding the selection between PC- and PLC-based control architectures and even between different PC and PLC manufacturers.

You are absolutely correct that phase-outs can become a source of risk. Moore’s Law does limit the product lifecycle of specific PC models, and software development is continuing at an ever-increasing pace. When helping customers determine between PC- and PLC-based control, our team builds a rubric, focusing on machine performance, developing transparent and simple architecture and leaving future opportunities to easily harvest more data from the system.

Overlaying these three principles with the facilities’ objectives can help focus the team on not only the obvious costs, such as hardware and software licensing, but also the hidden cost, such as first-pass yield or the opportunity cost of not pursuing other projects and training. Many vendors offer both PLC and IPC platforms for control as both have distinct value when helping facilities meet their production objectives. However, both control methodologies maximize machine performance, minimize architecture complexity without compromising robustness and allow for more data harvesting without incurring additional costs.

For the specific application, the value of a PC-based control system may be worth the risk, but it may not. Laying out your team’s needs and future roadmap can offer both PC and PLC control the opportunity to create a solution, which not only generates returns, but also leaves the door open for sustaining that performance in change that is yet to come.

Thomas Kuckhoff / product manager—controller / Omron Automation Americas

Advantages and disadvantages of PLCs and IPCs

To begin, an important difference between an industrial PC and a PLC is the way it executes a program. A PLC is usually a scan-based program, whereas an IPC is event-driven. More businesses are wanting to make their operations more flexible and scalable, and PC-based control provides such capabilities. Understanding end users’ needs and desire for continued growth and sustainability is vital to helping them select the right solution. Both PLCs and PC-based hardware have their place in modern facilities. You can combine them together to get the best of both worlds or look into PACs.

PLC advantages:

• It’s made for reliable operation in very harsh environments.

• Ease of programming and troubleshooting usually follows scan-based programmable software. See International Electrotechnical Commission (IEC) 61131-3 standard.

• Proprietary processors and unique operating systems are resistant to viruses and cyberattacks.

• It supports scalability with easy-to-add expansion modules and long lifecycles of 15 to 20 years.

• It is used in nearly every industry.

PLC disadvantages:

• I/O options are limited since they’re tied into the same manufacturer.

• It can be expensive.

IPC advantages:

• New industrial PCs are even more resistant to harsh environments and extreme temperatures.

• It has enhanced programming capabilities and increased connectivity and investment value.

• It uses more widely known programming languages, such as C++, and is not tied to one hardware platform.

• It has communication between programmed controls and equipment.

• An IPC can control multiple functions on one platform and runs programs and applications that PLCs cannot.

IPC disadvantages:

• They are difficult to upgrade when new Windows versions are released.

• Long-term product support is lacking.

• They are susceptible to hacking.

Gary Guess / product portfolio manager / RS

Built-in capabilities

Programmable logic controllers and PCs can be used to automate specific functions of machines, entire processes or even entire production lines. These processes can include timing, control, sequencing and starting and stopping motors, pumps and valves. The primary thing that sets PLC control apart from PC-based control is built-in or snap-on input/output (I/O). Many types of I/O can be combined in a PLC: analog, digital, thermocouple. While PC control systems have the same types of I/O available, the I/O is often distributed on a deterministic network.

Programmable logic controllers often need to be connected to other systems, typically PC-based, to complete tasks such as supervisory-control-and-data-acquisition (SCADA) and structured-query-language (SQL) database management. Often PC-based controls have these software features and network capabilities built-in.

Since IPCs use the same hardware and software as hundreds of millions of other PCs across the world, there are no shortages of new updates, products and technology to use. Industrial PCs are widely available, versatile and easy to implement into a system. When the hardware and software used in a system are so mainstream, it’s guaranteed that users will always have state-of-the-art computing power at their fingertips. Industrial PCs often mimic a standard office PC in function, making them familiar to operate and maintain.

Industrial PCs may use Microsoft OS, Linux OS and other operating systems to control non-real-time tasks, which means IPCs can be used for multiple tasks beyond the cyclic control tasks. Additionally, IPCs can combine real-time operating systems with non-real-time operating systems. A real-time operating system is a computing environment that reacts to input within a deterministic time period. A real-time clock and turnaround reaction time can often be measured in microseconds. Industrial PCs also have easy connection to the network using Ethernet connectivity.

Industrial PCs are not a niche market. The cost to purchase and maintain these types of control systems are typically lower for a given processing speed or update rate. Industrial PCs also come in a wide range of sizes and power and can be purchased with options that include fanless or high IP ratings, such as IP67 or higher. Maintenance and replacement may be significantly easier and options to upgrade abound. Often, IPCs from one manufacturer can be replaced with an IPC from another. When processing or computing power becomes a limiting factor, there are usually options to upgrade the processor speed, memory, port options or number of network interface cards.

Industrial PCs have the capability to work with all controllers, including PLCs, and networks such as EtherCAT, Ethernet/IP and Modbus TCP/IP. This allows for a more streamlined, purpose-built control architecture that is flexible and scalable.

Danny Weiss / senior product manager / Newark

The line between PC-based controllers and PLCs is blurred

I’m still a fan of traditional PLCs due to their longevity, long lifecycles and ruggedness. But many PLCs are, at their core, PC-based controllers, as they run a logic engine on a form of Linux or Windows IoT and offer many of the advantages typically associated with PCs, so the line between PC-based controllers and PLCs is becoming blurred.

However, a full-fledged PC can bring many advantages due to its sheer computing power. Industrial Internet of Things (IIoT) integration, databasing and higher-level languages are all very desirable in automation applications, and these are very achievable with PC-based controllers.

Take these precautions to mitigate some of the risks:

• Be sure to use an IPC rather than a standard PC in a cabinet. The ruggedness of the construction will result in a much longer lifespan.

• Be sure to work with a reputable manufacturer and discuss the expected lifespan and opportunities to extend the lifespan. I have worked with more than one company that manufactures IPCs, and they usually offer operating-system upgrades that can extend the useful lifespan of the hardware.

• When selecting a logic engine to run the control, consider a product that is hardware-independent and can be moved around. CoDeSys is a good example of a logic engine that runs on a vast array of operating systems and hardware platforms.

In conclusion, PC-based controllers offer a lot of value and should be considered; just do your homework and contingency planning.

Ted Thayer / principal product marketing specialist—control / Phoenix Contact

PC-based control supports Industry 4.0

First off, you’re right. PC-based control offers undeniable advantages compared to the legacy PLC approach. Industrial PCs (IPCs) offer an unbeatable price-to-performance ratio, and their scan times are incredibly fast (Figure 3).

What is the difference between PLC and industrial PC?

How to choose between a PLC and PC-based control

You can find more information on our web, so please take a look.

If you are looking for more details, kindly visit Oem Barcode Reader.