PC-based automation, in various forms, has been around for decades, but PLCs and related systems remain as popular as ever. Brian Tinham examines the differences and establishes which approach makes most sense where
It's probably fair to say that the vast majority of plant managers neither know nor care much about the mud-slinging that was de rigueur around a decade ago concerning computer-based automation. Back then, and for many years previously, debates raged over whether it was better to use PC- or PLC-based control – and, in extremis, whether one signalled the demise of the other. Fact is, it was fairly arcane stuff even then, since both had already become quite capable of dipping into each other's 'territory' and doing the job tolerably well. However, for some the legacy lives on, so it's worth just getting some context.
In a nutshell, PLCs were initially developed to automate factory equipment and lines, using electronic logic to replace earlier relays, cam timers, drum sequencers and hard-wired control panels. So, suffice to say they were masters of managing discrete and sequential (discontinuous) logic, with all-important flexibility provided by their programmability, processor ranges, function libraries and input/output capabilities. Before long, they could manage everything from simple, single-controller machines to complete multi-product production lines, using networks of PLCs. Development since has centred on miniaturisation and extending intelligence.
Meanwhile, PC-based control grew out of test and QA labs, as well as 'low-end' process plants and the utilities – the latter admittedly mostly SCADA (supervisory control and data acquisition), often with PLC front-ends. Most important, however, those test and process roots fostered a focus on continuous control of analogue (non discrete) parameters, such as temperature, pressure and flow.
Indeed, for a time, ruggedised PCs were the low-cost pretenders to the throne hitherto dominated by the mighty DCS (distributed control system) giants that had made their names, and their fortunes, in the high-value petrochemical, and oil and gas industries. They didn't offer anything like the scope of their bigger brothers, but the provenance was clear – with more than a nod to the earlier pneumatics, analogue electronics and subsequently digital loop controllers.
So, went the argument, why would you use PC-based controls to automate factory production lines? They simply weren't fit for purpose. And vice versa: why PLCs on a process plant? That infallible logic started to crumble when plants and factories alike – particularly those with hybrid production lines involving, say, mixing and/or cooking, followed by high-speed filling and packing machines – saw the potential for cost cutting inherent in single source automation. It was further eroded when automation system vendors on each side of the divide saw the opportunity and not only added appropriate functionality, but also started acquiring one another. And it collapsed almost entirely when virtually everything, from the chipsets to the programming languages and even the HMIs, became practically (but not quite) indistinguishable.
Soft controllers
As a result, the old dogma only now stands up at the extremes of, say, managing a petrochemical plant (where PC-based DCSs would routinely be applied) or OEM automation for a modest machine (a clear PLC choice). Well almost: three more points remain. First, it's worth noting that PLCs are also available in very small automation increments, as micro- and even nano-PLCs – almost intelligent relays. Secondly, this is a mature market, so suppliers, such as Siemens, have long since also offered products that amount to a halfway house between PLCs and PCs. They are what we used to term 'soft controllers' – effectively Windows-based PCs in a PLC form factor. And thirdly, some of the suppliers have also unified the traditionally diverse engineering and training environments for the PC, PLC and even DCS camps – effectively deferring the platform decision right down to the application.
So, clearly, best advice today is that selection of one approach over the other is a 'horses for courses' issue, where course criteria include not only the application, but also the skill sets available, existing systems, spares inventory and comfort zone of the plant, factory or business concerned. Put that another way, and it's the scope and detail of the intelligence required, whether it is mission critical, the preferred language and where best to house it.
As Paul Herron, business development manager for PC-based automation with Siemens, puts it: "It's not one versus the other. There's a set of automation solutions required, and PCs cover some of them better, and PLCs others. For many applications, though, either could be fine." For him, it's about understanding the implications of the underlying technology. PCs, he observes, have been the beneficiaries of solid state devices, for example. So, given the right components and protective packaging, their reliability can match that of PLCs, even in harsh industrial environments.
"At an application level, then, if you want to run open technologies and Microsoft software with highly performant parallel tasks running on the same machine [such as control and visualisation] then a PC-based system may well be the obvious choice." Herron gives the example of a cigarette packaging machinery manufacturer, where the sheer speed and sophistication of its latest equipment effectively ruled out a PLC and HMI approach. "We looked at a PC-based solution and helped them to make a tenfold performance improvement. That was achieved primarily because of the multi-core processor power available."
That said, PLCs, he confirms, still score in terms of their fitness for purpose for factories. "They start up without any intervention, are designed for plug-in maintenance, and are configured using languages, such as ladder logic," he explains. "That's why, for a lot of factories, the engineering team favours PLCs. Quite simply, the IT skills may not be there at the shopfloor level to support PCs."
And there are other persuasive arguments for PLCs. As Mark Daniels, Rockwell Automation business leader for systems architecture and software, points out, equipment longevity and security are still better served by PLCs. "Most PLC manufacturers, like ourselves, have stuck to traditional processor platforms, with our own chipsets, so when customers ask us for support terms up to 20 years, we're in a better position to confirm acceptance," he asserts.
It's a similar story with security: closed operating systems, typically employed to run PLCs, still attract far fewer viruses than their PC counterparts. "Stuxnet [the first worm to attack industrial systems] heightened our awareness and the PLC industry has been upping its game in security ever since. But, for the most part, with PLC operating systems it's a matter of closing the doors that have been left open. We won't need to install antivirus software any time soon," states Daniels.
What about real users' choices and experience? Take Fuchs Lubricants UK. The firm chose a Siemens' PCS 7 DCS with Simatic Batch software for its Stoke-on-Trent lubricants plant, and says it is now achieving high plant availability, reduced cycle times and waste, as well as improved production visibility and flexibility.
Fuchs engineering manager Steve Hallam explains that the project was prompted by increasing demand for its 500-plus lubricant formulations, necessitating a rapid exit from what had become an increasingly vulnerable and obsolete legacy system. The decision to move to PCS 7 followed a site trial, involving Fuchs working with Siemens to install the system on its petroleum jelly production line. That success convinced the production management team to extend Siemens into other areas of the plant.
Making that work, and specifically avoiding production interruptions, meant a staged migration and a feat of scheduling, according to Hallam – who explains that more than 5,000 I/Os, 1,000 valves, 90 raw material tanks, a large number of finished product tanks and 38 blending vessels were involved. And there's the clue to the DCS choice.
"Since the expansion of PCS 7, we have been able to see real progress in a number of key areas," states Hallam. "We are achieving a significant first time pass rate for the finished products, which has increased from 85% to 97%," he explains. "This means a drop in failure rates to just 3%, and that adds up to significantly lower levels of waste product ... and substantial cost savings, in terms of raw material consumption. In addition, our knowledge of the process is now far more in-depth, as the data we can extract from the control system informs us exactly of the type of ... information we require to ensure product consistency and drive improvements to our efficiencies."
Hallam further states that PCS 7 allows Fuchs' engineering team to undertake a continuous improvement programme around the system itself, which also helps to improve production efficiency. "I believe we are currently only using a part of the full functionality, and the great thing is that [PCS 7] allows us the flexibility to continue to gauge how we are running the production process and to seek to improve matters," he enthuses.
A good choice, then. However, systems integrator Clint Johnson, of Control Freaks, went for Mitsubishi Electric PLCs when he took on the project to automate a machine for making biscuit crumbs, breakfast cereals and snack foods. "The basic process is to mix ingredients into uniform pellets and dry them," explains Johnson. "Sounds easy enough, but the devil was in the detail."
That detail includes two horizontal spiral blade mixers running backwards and forwards at different speeds to achieve a mix. "There is quite an art to the speed profiles we use," he says. "So we stored these as recipes on a Mitsubishi FX3U PLC, which controls a number of 15kW E700 and D700 variable speed drives on the mixer axes, over RS485."
Small can be beautiful
Other controls selected included a Mitsubishi WS safety controller, which defines a multi-level control network, and an E1163 HMI, linked via Ethernet, to provide diagnostics. PLC I/O feedback loops also read current in the motors to gauge mix consistency, and the system then controls flow through a series of hoppers and graters to a dosing device, conveyors, a series of levelling mechanisms and a dryer.
"This was quite a complex job in itself, but there were two more related issues we had to address," recalls Johnson. "The first was machine safety: operators would regularly have to access the machine for product changeovers, cleaning and maintenance. The second was that the machine had to be built as several separate subsystems, then connected without compromising operator safety."
His solution was to define several discrete safety zones within the machine and connect them with a control system that could determine whether to stop a single zone, several zones or the whole machine. "We ended up with two-hand controls, multiple emergency stop zones, interlocks on the access doors and trapped key mechanisms for assembling the various sections together," explains Johnson. "In all, there are about 30 safety switches across the machine that all needed to be interconnected into one coherent system."
Another sound choice. Elsewhere, it was also a Mitsubishi PLC that was used to develop an eight-head filling machine, aimed at improving the filling of catering sized bottles with flavouring syrups for coffee, ice cream, etc, at Kerry Flavours & Ingredients. Colin Jones, of SP Filling in Llandrindod Wells in mid-Wales, makes the point that spills and drips can lead to product wastage, spoiled packaging and hygiene issues – and hence the need for a machine capable of getting syrup into the bottles and capping them securely in one smooth operation. He also says that, while performance was key, budgets were tight, and the system had to be flexible enough to cope with future changes.
"From the start we were committed to using stainless steel flexible impeller pumps and an eight-head filling geometry," explains Jones. "My initial thought was that we should use stepper motors because they were cheap. However, the Mitsubishi specialists suggested we look at the company's MRE servo motor, which met the cost criteria and whose closed-loop configuration would lead to guaranteed long-term accuracy and easy reprogramming."
Jones recalls that he was surprised at Mitsubishi's suggestion for the control system. He had assumed a small PLC for each pump/motor, plus a larger supervisory unit. However, the firm recommended a single Q-series PLC. "The Q-00J is a low cost but powerful machine controller that can be customised using specialised output cards," he confirms, adding that for the syrup filler, the system needed just one eight-channel pulse chain driver to control all the filling axes.
He also says that, having been on site and returned with a technical specification that was "dauntingly long and detailed", he was delighted to find that his anticipated problems had already been addressed. "[Mitsubishi's] engineers had written a program that allowed the machine operators to simply select the syrup type and enter details, such as bottle size, production run and timings, and everything was set automatically for optimum performance," he states. "The best thing was that we had saved so much money on the drives and controls that we could afford to fit a Mitsubishi GOT flat screen HMI, which makes setting and operating the machine as simple as possible."