article_008_fig2
article_008_fig2
article_008_fig2
article_008_fig2
article_008_fig2

Control Platform Options Open Up

Jan. 24, 2006
How Sensible Simplifying Ever-More Complex Machine Control Applications Is, and How Practical it Is Now or Might Someday Be
Your machine's software platform controls motors, actuators and other moving parts in real time. But real-time machine control may be evolving into the smallest part of many modern control software platforms. Other emerging aspects of a software platform include the HMI, integration with external equipment, network communications, and support for various software packages such as machine vision, remote diagnostics, web servers and maybe even an upward path to your customer's MES and ERP systems. As a result, a machine builder just can't choose a platform based on its real-time control performance. Builders must consider a host of related issues, and select a platform that can support them all.
About the Author
In 2006, Rich Merritt was senior technical editor for Control Design.Difficult Decisions
Deciding to change a software platform isn't easy. Take the case of Glasstech, which builds glass tempering equipment in Perrysburg, Ohio. "We previously used a proprietary control system based on a Motorola 6809 processor, which had components that became obsolete," explains Steve Connell, Glasstech's systems engineering manager. "This forced us to upgrade our controls. We had two primary goals. The first was the capability to control all of our products on the same platform, and the second was that the platform be acceptable in the U.S. and internationally." About two-thirds of Glasstech's sales are international (See Figure 1).Glasstech's former 6809 processor was a very robust and reliable system, Connell reports, and over the years the company developed its own motion control software for the platform. "One option was to keep a similar platform based on the Motorola 68000, but the hardware and software would require too many man-hours to develop," says Connell. "Another alternative was soft control, but we felt the software costs were too high, and support of the software controls would become obsolete eventually. We've found it's extremely difficult to support a machine running on a software platform that is 25 years old, and it's just as hard to find computer equipment to run it. We decided to require that our control systems be open, and not need a specific operating system."In addition, Glasstech needed a system that would support simulation, enterprise integration, and remote diagnostics of those faraway systems. "We decided that the ControlLogix platform provided what we needed," Connell says. "Our simpler machines did not require servo accuracy, while our more complex machines had 18 servos. This platform is scalable for both types of systems, yet is fairly cost effective on the low end. Our goal is to have this become our control system standard for the next 15-20 years."
Figure 1: Far Away Choices
Many issues go into the choice of a software control platform. Glasstech needed a platform that would support its glass tempering equipment for the next 20 years in faraway places, such as this installation in Turkey.Going with one vendor, Rockwell Automation in Glasstech's case, is one option for machine builders. Another option is to choose an open system that isn't dependent on any particular hardware or software. For example, Greer Co. builds industrial boom cranes at its plant in Santa Ana, Calif. When developing its new MicroGuard crane control system, Greer chose a Windows CE-based system from Applied Data Systems and CAN bus I/O.Controlling a crane is a computing-intensive environment, requiring constant calculations of the "overturning moment" of the crane. These calculations are based on real-time position and pressure sensors, comparisons to a database and modeling calculations. They're all displayed to the operator as a clear percentage of how close he is to tipping over the crane. For extra safety, as the crane reaches its safe limits, the controller (See Figure 2) steps in and throttles back on hydraulic oil flow, so the machine can't enter a dangerous configuration.Greer chose Windows CE because of its real-time performance (more about this later), its ability to deal with real-time sensor data and perform the calculations, and its support from a host of hardware and software integrators such as ADS.Either way, it's tough to choose one vendor or an open system. Glasstech is betting that Rockwell Automation will be around for the next 25 years, and Greer is betting that Windows CE hardware and software also will be around. From what we can see, both are pretty good bets.Vendor-Specific PlatformsWe hesitate to call vendor-specific platforms proprietary, because many of them are more or less open. Nevertheless, if you choose to go with one vendor's platform, such as Rockwell, Beckhoff, Bosch Rexroth or many others, you are, for the most part, locked into their controllers, I/O and software. Because they're "open," you can buy vision systems, motion control systems and other support hardware and software that will work with the controllers, but the basic control equipment comes from one vendor.Kevin Roach, president of Rockwell Software, recently visited CONTROL DESIGN's headquarters to promote the premise that machine builders and end users must consider upward integration from the machine on the plant floor, all the way up to MES and ERP systems. According to Roach, anything less than a completely integrated platform is "loosely coupled software" that is subject to integration, interfacing and operational problems. 

Figure 2: Cold Controls

This crane controller has to sit out in the weather for weeks at a time, and then start up immediately. Greer chose a diskless Windows platform for it.

  Rockwell has an integrated platform, FactoryTalk, which is a hardware/software solution that starts at the factory floor. "Our vision for FactoryTalk includes helping an OEM to information-enable a machine or skid in advance with modular software components," explains Matt Bauer, Rockwell Software's marketing director. "This approach would make it significantly faster and less costly to incorporate new assets into a plant's information environment." In other words, the basic structure of Rockwell's automation controllers, I/O and networks, all working with FactoryTalk, enables machines to communicate with the rest of the factory. Eagle Technologies Group, a system integrator in St. Joseph, Mich., was one of the first to use FactoryTalk. Its first project involved five ControlLogix processors controlling an automotive assembly line with 800 ft of conveyor and 20 automated work cells, each with a VersaView industrial computer. Software on the FactoryTalk system includes HMIs, RSSql transaction manager, RSBizWare Historian and PlantMetrics, and RSLinx Gateway. The assembly line system components communicate via a VPN link. Loosely Coupled Can Be TightWhile we acknowledge Rockwell's efforts to strive for an effective, integrated solution, it appears that the "loosely coupled" software industry already has been doing the above for years. Standards such as OPC, Ethernet, fieldbuses, SERCOS, CAN, XML and others accomplish the same functions of upward integration and universal integration. To do the same thing that FactoryTalk does, you can install a modern HMI system on your PLC-based machine from companies such as Wonderware, Intellution, Iconics, Citect, Indusoft, National Instruments and others. Each HMI has all the interfaces you could want.For example, KHS Maschinen-und Anlagenbau AG, a machine builder in Dortmud, Germany, uses Iconics software to meet U.S. Food and Drug Administration (FDA) requirements. KHS builds aseptic, cold-filling machines for the beverage market. The machines are controlled by Siemens' S7 PLCs with Iconics' Genesis32 HMI/SCADA software on a desktop PC. In addition to its HMI duties, the software includes a Security Server that supports FDA's 21 CFR Part 11 requirements, including audit trails, multi-level password protection, and documenting everything in a database.Iconics relies on OPC for its interfaces. "A hot button for machine builders today is having OPC-compliant applications built in at the core," says Tim Donaldson, Iconics' marketing manager. "OPC-compliant applications allow machine builders to save time getting machines installed in plants. With OPC, no custom code or driver needs to be built to talk to existing hardware and other plant-level applications."Similarly, MPI builds lost-wax, investment-casting equipment (See Figure 3 below) in Poughkeepsie, N.Y. "The environments in the wax rooms where these machines operate impose certain limitations," explains Keith Gardener, MPI's product engineering manager. "To reduce the chance of system failure, spinning media such as hard drives were ruled out, which left only the option of a flash-based operating system." MPI uses a diskless, industrial PC running Windows CE 4.1 and Indusoft's Web Studio HMI/SCADA software. What's too hot for a disk drive also might be too hot for operators, so they access data using Windows Mobile and a handheld PDA.
Figure 3: Hot Controls
If the environment is too hot, like around this lost-wax casting system, operators may want to work from afar with a handheld PDA, using Windows Mobile. An open system, like Indusoft's Web Studio running under Windows CE, makes this possible.Ernie Roland, president of Indusoft, says Windows CE provides all the upward access any machine builder needs. "Web Studio software uses Windows CE to access standard SQL databases," says Roland. "This means that even an embedded PC can communicate with MES or ERP software."Likewise, Wonderware has scaled down its ArchestrA platform, making it more suitable for machine builders. "In 2006, Wonderware will be releasing an ArchestrA-based, single-node, industrial application server specifically for the OEM and machine builder community," says Jay David, Wonderware's senior marketing specialist for OEM and system integrator programs. "This provides machine builders with the flexibility to offer a very powerful alternative to the traditional single-HMI solution that is embedded into machines."ArchestrA is a MES-type solution, similar to Iconics' WorX packages and Rockwell Automation's RSBizWare offerings. David says the single-node version will be offered at a price, "...that is almost competitive with traditional HMIs."So, does a machine builder need to provide enterprise integration? KHS had to because it needed access to software that would meet FDA requirements. Most machine builders probably don't need such advanced software, but Glasstech's Connell says you still need to provide the hooks. "We don't provide enterprise integration," says Connell. "As a small company, we focus on our core competency, which is our machines. We provide an open control system, so our customers have the ability to interface with our system through Ethernet from any enterprise software they wish to use."Both vendor-specific and open systems can integrate your machine with the outside world and other systems. However, integration still isn't easy in any scenario. Integrating a System
When you're choosing a new software control platform, integrating all the various parts poses a particular problem. "System design software and hardware are constantly growing areas, filled with a variety of niche tools," explains Greg Wempe, product manager at National Instruments. "As a result, today's design cycle is a complex mesh of software and hardware tools that, in many cases, are left up to the control expert to integrate. When selecting a software control platform, integration is a key area that is often overlooked. Software tools for niche applications are important, but they're merely tools, not a platform. A software package that spans the entire development cycle represents a software platform."Rami Al-Ashqua, product manager at Bosch Rexroth Electric Drives and Controls agrees. "Integration of all the project software tools will influence the choice of what software platform the machine builder will use for a project," he says. "Software that allows the control engineering unit to set up its I/O, program its motion, configure the amplifiers, and visualize the HMI screens is becoming a must since projects are becoming more complex and more and more machine and supervisory data is integrated into programming any machine."Integration and machine control involves software programming of the control logic, motion control, HMI, device interfaces and a host of other functions in any of several different languages, ranging from ladder logic to C++. Almost all modern software control platforms allow use of IEC 61131 PLC-type programming languages, including ladder, so your PLC programmers can move from a PLC to an open platform with no problems.If you want to employ advanced features such as HMIs on mobile PDAs, your programmers might need a more capable language than ladder logic. Fortunately, help is coming. "Engineers just coming out of school will be familiar with Microsoft products such as Visual Basic and C++," notes Rob Rawlyk, applications and engineering manager at Beckhoff Automation. "Software that can adhere to standard OSs and global programming languages will become more critical as machine builders increase adoption, and as their customers begin to demand it for more seamless integration of machines from different manufacturers."Simulation Speeds DevelopmentBeing able to simulate machine actions and responses is becoming a more important part of integration, especially when machines incorporate advanced functions and support equipment. Simulation also helps when debugging machines in remote locations.Beckhoff provides simulation capabilities in its Simulation Manager, which allows users to configure and set up systems to simulate machine operation. "This is a recognition that software development and hardware development for machines don't necessarily coincide," says Rawlyk. "In some cases, you can build and simulate an entire operation on your machine with the ability to switch back and forth to test processes in simulation mode without actually having any axes running."Al-Ashqua agrees. "Being able to simulate your project offline has always been a big plus for machine builders," he says. "It saves integration time and offers a lot of flexibility to the control engineer. Simulating a complete control, I/O, drive and HMI project allows the end user to save on-site setup time and reduce training costs for engineers and service people."The system that Eagle Technologies built for its automotive manufacturer client not only builds parts, it tests them. Part of the test involves in-vehicle simulation, and all test data has to be archived in case of a product recall. As you might expect, all such data is stored in a standard "open" database that can be accessed by higher-level software.As in the case of enterprise integration, a machine builder doesn't have to write simulation, test or quality control software, because such packages are readily available from software vendors. To make it possible for the user to do this, once again, the software control platform needs to be open.Does Open Mean PC?
"For most people, the term 'PC' evokes an image of desktop or laptop computers," says Chuck Harrell, director of marketing at Advantech. "PCs typically used in control are industrial units as small as videocassettes and mounted in racks, panels or on DIN rails. Typically, these computers are equipped with communications ports and central processing units. The operating system, often Microsoft's Windows CE or Windows XP Embedded, is embedded in solid-state flash disks in the unit. In addition, the units also rely on solid-state flash memory for applications and data storage."When discussing control platforms, the argument of PCs versus PLCs always tries to enter the game. This article doesn't focus on that value discussion, but anyone choosing a software control platform does have to make that hardware decision. Often, the choice boils down to a PLC with a PC-based HMI, or a PC-based control system with HMI/SCADA software. Both solutions get you an open system. Some "hybrid" PLCs are actually PCs with PLC features, so that gets you an open solution, too.
Figure 4: Open Printing
This laser engraver runs on an industrial PC, using a software platform platform, plus its NC, PLC and motion control software.Max Daetwyler AG (MDC), a manufacturer of printing equipment in Switzerland, had to make that decision. "We've been using advanced controllers for some time, but in the past our systems weren't integrated," explains Peter Pfister, MDC's development manager. "We scrutinized all major automation providers in terms of technology and applications support offered because worldwide acceptance and support are of central importance for us. In the end, we had to decide between Beckhoff, a controls provider from Germany, and one from the U.S." MDC chose Beckhoff's PC-based software platform running on an industrial PC (See Figure 4) using Beckhoff's NC, PLC and motion control software. The solution is being installed on all of MDC's engravers and grinding machines.Meanwhile, Concept Systems, a system integrator in Albany, Ore., has used PLCs for years, so when customer Kettle Foods, a potato chip maker, needed to integrate upward, adding a PC was the answer. "Kettle Foods needed a database server computer that would provide not only a good vehicle for the collection and storage of process information, but also a platform that was well supported with easy-to-use tools for developing reports needed by varied users on the company's business network," says Michael Gurney, Concept's engineer.Concept's solution was a PC loaded with Rockwell's RSBizWare framework software, which interfaced to the PLCs and provided all the necessary business software.Consequently, no matter what hardware control platform you have, getting "open" provides all the capabilities needed.Open System Benefits
With an open system, you get features and benefits not available with proprietary controllers. Larry Ricci, business development manager at Applied Data Systems, says these include:
  • Secure wireless network
  • Web servers
  • SMTP, TAPI (e-mail and pager messages)
  • Multimedia (instruction books, how-to videos, etc.)
  • VoIP (voice over Internet)
  • Authentication and security
  • Embedded databases (not on disk)
  • Thin client (client and server)
  • Virtual Private Networking (VPN)
  • International fonts
  • Video inputs
  • Web browser
  • XML

"If a machine builder needs to incorporate any of these functions, a proprietary system becomes much more expensive to develop and maintain," says Ricci. "Features built into an open architecture, supplied and maintained by the OS vendor, become costly overlays when added to a system that is proprietary at the core."

These functions are available in computers running Linux, Windows NT, Windows XP, Windows XP Embedded, Windows CE, and many real-time extension operating systems. "A machine builder can find single-board computers that include the OS, display interface, network interface and power supplies," says Ricci. "Integrating application packages is done easily. Software for HMI, machine control, sequence control, logic control and motion control has been modularized, and is available at a reasonable cost."

Growing on Machine Builders?
We write entire articles about real-time operating systems (see "Embed with Machines," CONTROL DESIGN, Oct. '04) but, for the purposes of this article, we'll confine ourselves to an increasingly popular RTOS for machine builders: Windows CE. It is safe to say that other RTOSs offer similar capabilities.

CE's ability to be embedded in a machine is a primary reason for the growing interest in it. Many industrial environments, especially where machines operate, are hostile to PCs and require diskless operation. Because Windows CE is able to run with a Flash disk or EPROM, instead of a hard disk, it's an ideal software platform for a machine builder. Therefore, a single-board computer or an industrial embedded PC with CE becomes a rival to PLCs in terms of the reliability, robustness and performance needed by machine builders. Panel PCs (diskless PCs with an HMI screen) also use Windows CE.

Another reason for CE's emergence is cost. A base version (Windows CE .NET 4.2 Core) costs only $3 per copy. One with a few more functions costs $15 per copy. CE also provides real-time performance needed for microsecond-level response and all the attributes of a larger, open Windows OS.

Bosch Rexroth, for example, chose CE as the RTOS for its IndraWorks software control platform because it supports everything from development tools to remote diagnostics. "IndraWorks is an engineering framework for uniform engineering workflow that allows integration of all software tools, and gives the control engineering unit a comfortable project administration with central data storage to allow multiple users to configure different parts of the project at the same time," says Al-Ashqua. "Engineering tools also are essential. Web capabilities, device support, and many other tools allow machine builders to remotely diagnose and upgrade software. Web capabilities provide not just viewing, but also commanding the machine."

Windows CE is up to real-time tasks, according to Mike Hall, technical product manager at Microsoft. In an article in Embedded Computing Design, Nov. '05, he reported that Windows CE meets 95% of the requirements of the Open Modular Architecture Controls (OMAC) User Group. "OMAC reviewed hundreds of applications and found that 95% of systems require cycle times of 1 millisecond and greater," writes Hall. "With a response time averaging 50 µsec on a 200 MHz x86 system, Windows CE meets or exceeds the requirements of all but 5% of the applications OMAC reviewed."