Programming software turns IPCs into all-in-one HMIs, PLCs, NCs, PACs

Industrial programming software: IEC 61131-3 programming, plus C++, C#, and object-oriented extensions and third-party software modules can operate on industrial PCs (IPCs), serving as multipurpose programmable logic controllers (PLCs) and/or numerical control (NC) targets. This extends the IPC well beyond a human-machine interface.


The major trend shaping industrial programming software is the increasing number of development options engineers have, building on the tried-and-tested IEC 61131-3 programming standard, promoted by PLCopen and supported worldwide by most major control software vendors. The next step is to introduce more tools for programmers including C++, C#, and object-oriented extensions to IEC 61131, and use more third-party software modules to enhance development of modern machines.

Beckhoff Automation TwinCAT 3 PC-based programming software integrates numerical control (NC), C++, safety, multiple PLCs, and MathWorks Simulink model-based software elements. Courtesy: Beckhoff Automation

The ideal platform for these software developments is the industrial PC (IPC). Moore’s law states that the number of transistors placed inexpensively on an integrated circuit doubles approximately every two years, and this is as true today as ever. Use this to your advantage and run numerous control tasks, if not everything, on one powerful multicore processor. 

IPC flexibility

Offering much more potential beyond use as a mere human-machine interface (HMI), the IPC can be treated as the centerpiece of the machine control platform. An IPC is a well designed and ruggedized PC using cost-effective off-the-shelf technologies. An OEM’s engineers can more effectively use the familiar tools from the PC world when using IPCs. But once deployed in the field, the IPC should be regarded as a PLC or PAC as far as the end user is concerned.

As a complete control platform the IPC is not used as a home or office world PC in the sense that unauthorized persons can add programs or run any software they choose at any time. Operating system (OS) access can and should be restricted when a control system is up and running at the plant after the machine has been delivered. As far as the plant is concerned, it is a powerful industrial controller. One of the major upshots of IPCs is that functionality formerly handled by hardware modules in the traditional PLC world can be taken over in software layers that run on one PC-based device. Beckhoff Automation is among vendors striving to increase software utilization and decrease hardware utilization.

The ever-increasing convergence of technologies in software results in a unified programming environment, fewer hardware components to manage, reduced spare parts inventory, the elimination of intermediate devices needed to simply exchange information, and fewer points of failure. Even critical functionality such as machine safety code can be integrated into one PC-based programming platform.

Because of the continued use of the Intel x86 architecture (now over 20 years in use), Microsoft Windows-based IPCs have the ability to control execution of tasks independent of the OS. For instance, Beckhoff’s TwinCAT platform has always worked parallel with, but independent of Microsoft Windows since NT days, and this holds true today through Microsoft Windows 8. The IPC, when properly treated as an industrial device, can be used as a highly deterministic control platform with exceptionally clean cycle times. In addition, users get all the other benefits of using an open platform.

Open platform, not source

This brings up another point to correct a common misconception: “open platform” does not mean “open source.” Having an open platform means being able to integrate already developed code and programs from widely varied sources including IEC 61131-3 environments, Matlab, .NET, Java, Web services, ASP, Microsoft Silverlight, HTML5, as well as any common language run-time (CLR) functionality that currently drives the world’s technology as we know it. This leads to practical strategies (not having to reinvent the wheel, so to speak) by using popular concepts that have a proven track record, such as object-oriented programming (OOP). An open platform should also include the ability to integrate physical devices (drives, I/O, etc.) without penalties in time and cost.

Simulation software objects from Matlab can be processed in real time by Beckhoff Automation TwinCAT 3 programming software. Courtesy: Beckhoff Automation

IPCs allow control engineers to use a deterministic I/O system that updates the inputs and outputs of field devices in a very cyclic manner. Then PC-based software components are used to manipulate the I/O system—in other words, read inputs, make decisions, and write outputs. These software components can be easily copied, reused, integrated, and executed on time threads that are synchronous to the I/O systems. Tens of thousands of TwinCAT PC run-time implementations control machines and processes globally.

While traditional, proprietary PLC system architectures and the associated programming have served control engineers well, I believe the next evolution of automation software programming is with PC-based control.

- Bob Trask, PE, is senior electrical engineer, Beckhoff Automation. Edited by Mark T. Hoske, CFE Media, Control Engineering, Look for related controller programming articles related to the January Control Engineering cover story.

No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2013 Top Plant.
The Product of the Year program recognizes products newly released in the manufacturing industries.
The Engineering Leaders Under 40 program identifies and gives recognition to young engineers who...
A cool solution: Collaboration, chemistry leads to foundry coat product development; See the 2015 Product of the Year Finalists
Raising the standard: What's new with NFPA 70E; A global view of manufacturing; Maintenance data; Fit bearings properly
Sister act: Building on their father's legacy, a new generation moves Bales Metal Surface Solutions forward; Meet the 2015 Engineering Leaders Under 40
Cyber security cost-efficient for industrial control systems; Extracting full value from operational data; Managing cyber security risks
Drilling for Big Data: Managing the flow of information; Big data drilldown series: Challenge and opportunity; OT to IT: Creating a circle of improvement; Industry loses best workers, again
Pipeline vulnerabilities? Securing hydrocarbon transit; Predictive analytics hit the mainstream; Dirty pipelines decrease flow, production—pig your line; Ensuring pipeline physical and cyber security
Upgrading secondary control systems; Keeping enclosures conditioned; Diagnostics increase equipment uptime; Mechatronics simplifies machine design
Designing positive-energy buildings; Ensuring power quality; Complying with NFPA 110; Minimizing arc flash hazards
Building high availability into industrial computers; Of key metrics and myth busting; The truth about five common VFD myths

Annual Salary Survey

After almost a decade of uncertainty, the confidence of plant floor managers is soaring. Even with a number of challenges and while implementing new technologies, there is a renewed sense of optimism among plant managers about their business and their future.

The respondents to the 2014 Plant Engineering Salary Survey come from throughout the U.S. and serve a variety of industries, but they are uniform in their optimism about manufacturing. This year’s survey found 79% consider manufacturing a secure career. That’s up from 75% in 2013 and significantly higher than the 63% figure when Plant Engineering first started asking that question a decade ago.

Read more: 2014 Salary Survey: Confidence rises amid the challenges

Maintenance and reliability tips and best practices from the maintenance and reliability coaches at Allied Reliability Group.
The One Voice for Manufacturing blog reports on federal public policy issues impacting the manufacturing sector. One Voice is a joint effort by the National Tooling and Machining...
The Society for Maintenance and Reliability Professionals an organization devoted...
Join this ongoing discussion of machine guarding topics, including solutions assessments, regulatory compliance, gap analysis...
IMS Research, recently acquired by IHS Inc., is a leading independent supplier of market research and consultancy to the global electronics industry.
Maintenance is not optional in manufacturing. It’s a profit center, driving productivity and uptime while reducing overall repair costs.
The Lachance on CMMS blog is about current maintenance topics. Blogger Paul Lachance is president and chief technology officer for Smartware Group.