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.

12/17/2011


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, www.controleng.com. Look for related controller programming articles related to the January Control Engineering cover story.

www.beckhoffautomation.com/twincat 

www.plcopen.org 

controleng.com/PACs



No comments
The Top Plant program honors outstanding manufacturing facilities in North America. View the 2015 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...
World-class maintenance: The three keys to success - Deploy people, process and technology; 2016 Lubrication Guide; Why hydraulic systems get hot
Your leaks start here: Take a disciplined approach with your hydraulic system; U.S. presence at Hannover Messe a rousing success
Hannover Messe 2016: Taking hold of the future - Partner Country status spotlights U.S. manufacturing; Honoring manufacturing excellence: The 2015 Product of the Year Winners
The digital oilfield: Utilizing Big Data can yield big savings; Virtualization a real solution; Tracking SIS performance
Getting to the bottom of subsea repairs: Older pipelines need more attention, and operators need a repair strategy; OTC preview; Offshore production difficult - and crucial
Digital oilfields: Integrated HMI/SCADA systems enable smarter data acquisition; Real-world impact of simulation; Electric actuator technology prospers in production fields
Improving flowmeter calibration; Selecting flowmeters for natural gas; Case study: Streamlining assembly systems using PC-based control; CLPM: Improving process efficiency, throughput
Putting COPS into context; Designing medium-voltage electrical systems; Planning and designing resilient, efficient data centers; The nine steps of designing generator fuel systems
Warehouse winter comfort: The HTHV solution; Cooling with natural gas; Plastics industry booming

Annual Salary Survey

Before the calendar turned, 2016 already had the makings of a pivotal year for manufacturing, and for the world.

There were the big events for the year, including the United States as Partner Country at Hannover Messe in April and the 2016 International Manufacturing Technology Show in Chicago in September. There's also the matter of the U.S. presidential elections in November, which promise to shape policy in manufacturing for years to come.

But the year started with global economic turmoil, as a slowdown in Chinese manufacturing triggered a worldwide stock hiccup that sent values plummeting. The continued plunge in world oil prices has resulted in a slowdown in exploration and, by extension, the manufacture of exploration equipment.

Read more: 2015 Salary Survey

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.
This article collection contains several articles on the vital role that compressed air plays in manufacturing plants.
This article collection contains several articles on the Industrial Internet of Things (IIoT) and how it is transforming manufacturing.
This article collection contains several articles on strategic maintenance and understanding all the parts of your plant.
click me