Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

white

paper

Busting Common Myths about PC-based Automation


PC-based control systems enhance industrial automation compared
to PLCs, providing benefits for performance, cost and system
lifecycle
PC-based control systems are the target of many
misconceptions. In some cases, these misconceptions
are perpetuated by PLC manufacturers as a means of
marketing PLCs. Dispelling misconceptions can help with the
implementation of and the benefits from PC-based control
systems.
First, let's bust five of the most common myths about PC-
based control. Then, we will explore the unique advantages it
offers to applications across industries. Doug Schuchart
Material Handling &
1. PCs are not real-time because they rely on the clock Intralogistics Manager
speed of the PC Beckhoff Automation LLC

FALSE: Most PC-based control platforms today, including


TwinCAT from Beckhoff, utilize a real-time kernel or a real-
time operating system (RTOS). If a real-time kernel is utilized,
the kernel is started during the boot process of the operating
system. From that point on, the kernel does not rely on the
operating system (OS), although there is communication
between the kernel and the OS. TwinCAT gets its real-time
nature from the real-time kernel.

1
white
paper

Modern PLCs are actually mimicking PC-based controllers 3. PCs are not deterministic
in many ways, utilizing real-time operating systems or kernels
instead of firmware. In these “black box” setups, however, FALSE: A Beckhoff system runs deterministic scans of the PLC
engineers do not gain the benefits of an open system. with high repeatability. When a Task (such as a PLC code
execution) is scheduled to run, the system latency is quite low
2. PCs are not as fast as a PLC at less than 5 µs. Using distributed clock technology on the
EtherCAT fieldbus, the accuracy of synchronizing fieldbus data is
FALSE: A Beckhoff system running TwinCAT on a Beckhoff IPC in the nanosecond range.
with EtherCAT communication is one of the fastest control Most PLCs on the market today, including some from the
systems in the world. PC-based largest automation suppliers,
control systems in general take do not run deterministic scans
advantage of newer, faster "PLCs today are attempting to add but instead still run through the
processors, ensuring that the entire program as fast as it can.
systems are always leading in further communication openness This leads to greatly varying
performance while maintaining
lowest costs.
that is, and has been, inherently execution times of the PLC.
One scan might finish in 800
A Beckhoff system for
instance is capable of 50 µs
available to the PC." µs, but the next scan could take
several milliseconds based on
scan rates synchronous with a what PLC logic is executed. In
50 µs EtherCAT network scan. Distributed clocks in EtherCAT this example, it would mean that without special I/O hardware,
devices on the network automatically synchronize, making there is no way to repeatedly capture an input that might only
the system capable of doing control in between the network stay on for, say, 1ms.
scan down to 1 µs, with accuracy in the nanosecond range. In Also, with varying program execution times, it is extremely
addition, this can be accomplished with very low jitter. difficult to synchronize motion control. This is why many
Further, unlike PLCs with real-time operating systems, a vendors will need to add an additional CPU – either on the
Beckhoff system running TwinCAT utilizes the full performance same hardware or in a rack module – to independently control
of modern multi-core processors. This means that separate the motion control loops.
PLC tasks can run in separate cores of a multi-core machine Adding CPUs and associated hardware means increased
controller. Applications such as vision systems, robot controllers costs, as well as an obvious increase in the amount of hardware
and other software functions – even those from third parties and necessary real estate inside the cabinet. Anytime excess
– can additionally execute in dedicated cores of the multi-core CPUs are added to the control system, you also reduce flexibility
machine controller alongside the TwinCAT PLC. The operating and introduce more obsolescence, in addition to the latency
system can also be isolated to one core, enabling the other created in the communication between the two processors.
cores to operate with zero jitter.
PC-based
automation
offers many
common
approaches
to protect the
system as well
as many third-
party software
packages that
can be utilized
as part of
the security
solution.

2
white
paper

4. PCs don’t offer the security that PLCs offer

FALSE: It is a known fact that several of the largest global PLC


manufacturers have had hackers break into their PLCs via a
software “back door.” PLC manufacturers are solely responsible
for protecting the system for their customers. With a PC-based
system, there are common approaches to harden the system as
well as many third-party software packages that can be utilized
as part of the security solution.
PLCs today are attempting to add further communication
openness that is, and has been, inherently available to the PC.
Adding those protocols to make PLCs more open while at the
same time indicating that the openness of PC-based control is a
security risk is taking both sides of the argument.
Beckhoff is at the forefront of PC security. A whitepaper is
available to help customers harden their machine controllers
and ensure they have a good strategy for security of the control
system architecture. In addition, we are leading in organizations
such as the OPC Foundation in developing new standard Embedded PCs offer the power, flexibility and openness of industrial PCs
protocols for encrypted secure data communication between in a DIN rail-mounted format familiar to traditional PLC users.
the machine controller and the enterprise, as well as into
the cloud. This work helped bring about the OPC UA (Unified
Architecture) standard. Beckhoff was one of the first companies 5. Companies are moving more towards distributed
supporting this communication from our control software and control over centralized control because there is more
was the first to support both server and client implementations risk in centralized control if you lose the controller
running on the controller.
FALSE: Due to limitations of PLCs, there is heightened interest
in distributed control to meet the growing demands of the
technology being added to machines on the plant floor. To be
clear, “distributed control” is referring to distribution of control
functions to multiple machine controllers or PLCs, which again
eliminates flexibility and introduces further obsolescence.
Distributed networks, on the other hand, to connect sensors,
drive technology, robots, vision cameras and barcode readers,
etc., provide optimal flexibility and diagnostics while reducing
installation effort.
Smarter sensors have created a need for protocols that can
deal with the parameters available in the sensor which are
often updated via on-board web servers. An example of such
a protocol is IO-Link which is supported as a gateway from
Beckhoff’s powerful EtherCAT system. Ideally all parameters
for drives, sensors and other devices across the system can
be stored in one central location. That way, when connecting
remotely these can be viewed and updated easily, and the data
can be used for troubleshooting. Replacement of smart devices
also becomes quite easy as the parameters can be sent down to
the replacement device without any preconfiguration. EtherCAT
as a fast communication protocol can send parameters down to
devices upon start-up or as parameters are changed on the fly.
From micro-controllers to compact Industrial PCs and Embedded PCs all Decentralized control also has its place in automation
the way up to powerful many-core machine controllers with up to 40 solutions however this is not an argument for or against
cores, the Beckhoff machine control portfolio offers robust, scalable and PC-based control. Beckhoff offers both centralized and
industrial-hardened options for all applications. decentralized control solutions. While much fewer, there are
certainly modular machines that can benefit from such a

3
white
paper

control strategy. Often, however, a centralized controller with offers a publish and subscribe model for exchanging data
EtherCAT’s hot connect functionality is ideally suited to modular between controllers.
applications. To say, however, that by combining HMI, PLC and motion
If distributed controls are desired for an application, and even other technologies onto a central controller
Beckhoff can employ EtherCAT Automation Protocol (EAP) for increases risk if there is a failure is a silly notion. The majority
communication between controllers. EAP is an open protocol of machines cannot function if any one of these critical
managed by the EtherCAT Technology Group and offers fast functions is eliminated. That argument simply encourages
real-time communication using routable TCP communications customers to add undue cost, complexity and increased
frames. The data is sent directly from the real-time Kernel and obsolescence to their system with undue merit.

The broad
range of PC-
based machine
controllers
– including
IPCs, Embedded
PCs and Panel
PCs – offers
solutions for
all industries,
with extreme
scalability
for countless
application
types.

Sound Bytes: What do engineering leaders say about PC-based control?


Jason Johnson, Sr. Manager of Machine the Beckhoff controllers operate four mills more of the factory floor merging with the
Control Development, Honeywell each. In addition, to achieve the same data back-end database side of operations."
Intelligrated: "Since we don’t have to use acquisition and cloud connectivity, the
air-conditioned cabinets or install PCs in the previous controllers would have required Jeff Werner, General Manager, Eclipse
IT space, Beckhoff IPC technology saved us a separate PC. ... With Beckhoff IPCs, we Automation, Cambridge: "Most students
upwards of 50% in hardware costs, even over can run approved antivirus software in the are not learning traditional PLC programming.
PLCs. Our customers like these embedded PCs Windows environment. This solution meets Instead, they leave university with a far better
because they look similar to a PLC. Although all cybersecurity demands without affecting understanding of PC-based control systems
some are uncertain about transitioning from performance, which is impressive." than ever before, and that grows every year.
legacy PLC technology, they mainly care Fortunately Beckhoff has proven to be a
about performance and uptime. The fact Jeff Zerr, Advisory Controls Engineer, reliable partner for this as well as all areas
of the matter is: both are industrial-grade EuroSort: "With our previous PLC vendor, of automation technology. When we have
machine controllers with an operating system, not only did we have three or four different challenging applications, we’ll be ready to
but unlike hardware PLCs, Beckhoff PC- software packages for each controller provide competitive solutions together."
based control is cost-effective, flexible and type, but the engineering software all
transparent.” added considerable cost to our projects. ...
The intralogistics industry is increasingly For case studies, visit us online:
David Leeson, VP of Engineering, data-driven, so having a secure PC-based
Glidewell Dental: "Our previous controllers automation platform as your standard is a ► blog.beckhoffus.com
could only handle a single mill each, where good place to be. I believe we’ll see even ► PC-Control.net/english

4
white
paper

Superior functionality, processing power, flexibility and cost:


7 important benefits of PC-based control in industrial automation
Once you dispel the myths perpetuated by PLC vendors, the location and utilize one central communication method for all
many benefits of PC-based control architectures are clear. This devices on the control system.
whitepaper will seek to highlight some of those advantages. Traditional machine architecture approaches involve a
However, this is certainly not a comprehensive list. PLC, motion controller and separate PC for HMI, vision, data
collection, etc. Many vendors today are choosing to integrate
1. Performance a secondary CPU for motion control into the main PLC body,
or into a rack module rather than a standalone black box.
PC-based systems can more quickly bring faster processors Wherever the CPUs are located, the system still involves three
to the market ensuring that a PC-based system offers the separate processors – plus the add-on PC – and extra clock
highest performance over a PLC. Most PLC vendors utilize CPU cycles for real-time PLC and motion control.
technology that is vastly slower than today’s common PC CPU, A centralized architecture with one IPC eliminates extra
such as a multi-core Intel® Core™ i7, AMD Ryzen™ or many- CPUs, hardware and, thus, costs. This approach vastly simplifies
core Intel® Xeon® processors. the control system and improves uptime by providing better
Beckhoff already supports and can fully utilize each diagnostics in one central location. It also reduces energy usage,
individual core of a multi- or many-core processor to gain helping companies meet green production initiatives.
far more performance than a single threaded PLC. High-
performance PC CPUs have a great cost-to-performance ratio 3. Obsolescence protection: increase system lifecycles
when compared to other CPU architectures or chipsets. This is
due to the economy of scale. When a PLC becomes obsolete, what generally happens? The
complete control architecture becomes obsolete, including the
2. Reduction of hardware and thus reduction of costs software running on the PLC. Thus, companies must constantly
redesign their control system from scratch every five years or so.
Most machines benefit from a centralized control approach, In a PC-based control system, one processor’s end of life does
which is particularly suited to PC-based control. Of course, not make the entire architecture obsolete.
there are instances where decentralized control makes sense, By incorporating more into software running on a standard
and Beckhoff also offers such solutions. However, it is most IPC, engineers can simply replace aging hardware without
advantageous to access all software and data from one central any changes to the control system, including the software.

The core isolation


capabilities in
TwinCAT allow
engineers to
assign individual
processes to
specific cores to
achieve better
performance. For
example, this
C6030 ultra-
compact IPC with
eight cores assigns
the PLC task to
core 0, NC to core
1, C++ to core 2,
safety to core 3,
Windows to core
4, HMI to core 5
and CNC to core 6,
with the final core
reserved for future
functions.

5
white
paper

PLC programs and fieldbus configurations simply download


to a TwinCAT runtime on the new IPC, without need for code
changes. Code written on TwinCAT in the early 2000s on early
generation processors easily runs on today’s leading-edge
processors.
As in the general consumer PC market, new processors with
increased performance are often introduced to the market at
lower prices. This cycle of performance-versus-cost optimization
applies also to PC-based control, while PLCs continue to fall
behind in performance and lifecycle.

4. Openness for communication: use standard protocols

Today’s competitive global market forces every company


to analyze data from the plant floor to optimize quality,
throughput, efficiency and cost effectiveness. So machines must
offer open methods for both collecting and sharing data with
the enterprise for further analysis. Further, it is increasingly
important for companies to react to analytics as well as control With support for all open communication protocols, TwinCAT establishes
the machines from the enterprise. secure data transfer to the enterprise level or the cloud.
With the next Industrial Revolution, Industrie 4.0, companies
will need high-end computing analysis tools operating across
their global facilities. PC-based control has been prepared by eliminating switches and proprietary backplane protocols,
for Industrie 4.0 for many years, while PLC vendors are TwinCAT and EtherCAT offer communication capabilities to
scrambling to offer the necessary open PC protocols. For many other open protocols including EtherNet/IP, PROFINET,
example, communication of OPC UA across Ethernet provides PROFIBUS, DeviceNet, CANopen, SERCOS, Interbus, Modbus
an encrypted method of sharing data bi-directionally between RTU, Modbus TCP and standard serial and Ethernet
the machine and the enterprise. More IPCs that utilize standard communication. In addition to typical machine control
Ethernet, USB and other PC protocols are rapidly entering the protocols, Beckhoff also supports many other industry protocols
market. such as those used in entertainment and building automation.
Beckhoff uniquely supports all open fieldbus protocols. By offering interfaces and couplers to more than 30 protocols,
While the EtherCAT protocols provides significant advantages we enable users to choose the perfect sensor or other device for
their application, without fear of communications integration to
the main machine control.

5. Openness for software: use diverse programming


languages, tools and IP

A PC-based control solution affords the control system use of


any third-party software, which can run on the central controller
alongside the HMI, PLC and motion control software. This
includes your IP developed in-house. Our new non-Windows OS,
TwinCAT/BSD, also allows engineers to use UNIX-based options
as their applications dictate. With modern security options
available to PC-based control, your IP and data can leverage the
best protection available, compared to the extremely limited
options for PLCs.
TwinCAT 3 automation software from Beckhoff also
supports utilizing many programming languages to develop the
Using PC-based control allows engineers to leverage the advanced control program. Use of any of the IEC 61131-3 programming
computing power of multi- and many-core CPUs. The CX20x2 Embedded languages is possible as well as object-oriented programming.
PC series from Beckhoff, for example, utilizes Intel® Xeon® processors In addition, direct integration into Visual Studio integration
with up to 12 cores in a DIN-rail-mountable form factor. supports use of computer science standards, as well as custom
and predefined function blocks. By combining IEC 61131-3 and

6
white
paper

Visual Studio, TwinCAT provides the most open and universally


standard environment for programming globally. And in terms
of real time, it is possible to run C/C++ in the TwinCAT real-time
kernel in addition to the IEC programming languages.

6. Improved diagnostics

Diagnostics do not just benefit the PC, but they also improve
diagnostic capabilities of a complete Beckhoff control system
with EtherCAT. First, a PC-based centralized control solution
offers a single collection point for all diagnostic data, making it
easy to troubleshoot a problem and improve machine uptime.
This can easily be done remotely as remote connectivity is
inherent to PC-based solutions.
All Beckhoff IPCs incorporate a webpage for quick view
of IPC diagnostics such as temperature, fan speed, storage
capacity, etc. All IPC diagnostic data can also be accessed via
OPC UA or directly in the PLC. Furthermore, TwinCAT Scope, a
built-in software oscilloscope, and other diagnostic features can
be utilized remotely since the engineering environment can be
loaded on the IPC along with the PLC project.
EtherCAT provides further diagnostic capabilities particularly
since EtherCAT can be utilized in a Beckhoff system as the
sole communication protocol across the system. In a Beckhoff
system, EtherCAT is also used for communication to individual
I/Os on local and remote I/O racks. This provides diagnostics
not simply to the rack level but also to the individual I/O level.
As such, the central IPC gains information such as the exact
location of a communication breakdown to an I/O terminal in
the middle of an I/O rack.
EtherCAT and IPC technology from Beckhoff supports more than 30
fieldbus protocols as well as OPC UA, MQTT, AMQP and more.
7. Larger resource pool

Customers utilizing PLCs increasingly face a smaller pool of Thus, a PC-based solution, particularly a Beckhoff solution,
engineers with skills and experience using traditional PLC ensures our customers have a wide resource pool of skilled
programming languages. Engineers coming out of colleges are programmers today and as the balance of PLC-versus-PC
more comfortable and skilled in PC programming languages. programmers continues to shift in the future.

Learn more about the benefits of PC-based control technology from


Beckhoff — visit us online!
► www.beckhoff.com/ipc

Beckhoff Automation LLC Beckhoff®, TwinCAT®, EtherCAT®, EtherCAT G®, EtherCAT G10®, EtherCAT P®, Safety over EtherCAT®, TwinSAFE®, XFC®, XTS® and XPlanar®
are registered trademarks of and licensed by Beckhoff Automation GmbH. Other designations used in this publication may be trademarks whose use by
13130 Dakota Ave. third parties for their own purposes could violate the rights of the owners.
Savage, MN 55378
© Beckhoff Automation LLC 10/2021
Phone: 1-877-TwinCAT
sales.usa@beckhoff.com The information provided in this brochure contains merely general descriptions or characteristics of performance which in case of actual application
www.beckhoff.com do not always apply as described or which may change as a result of further development of the products. An obligation to provide the respective
characteristics shall only exist if expressively agreed in the terms of contract. We reserve the right to make technical changes.

You might also like