It's all about precision and timing
It's all about precision and timing
Cassettes enter the accumulation table on a belt conveyor equipped with side rails that keep the cassettes standing upright. The accumulation table is essentially a series of stainless steel slots that advance in a direction perpendicular to the direction in which cassettes are fed in. As soon as 20 cassettes are hanging suspended from a slot, the table advances one position and cassettes start filling the next row.
At the opposite or discharge end of the accumulation table, each row of cassettes is sent out of its slot at a right angle and is conveyed to a star wheel that feeds cassettes beneath a flighted belt. It pushes the cassettes forward on a conveyor belt, past vision inspection system #3, and subsequently inserts them into a puck with 20 slots. When the 20th slot of the puck is filled, the puck advances to a station where all 20 cartridges are pushed out of their pucks and into a slotted mechanical device that gently lowers them into the paperboard trays waiting below.
Why the need for an accumulation table? Because the ratio of glass beads to fluid reagent in each cassette cavity can only be checked by vision inspection system #3 if the beads and fluid have had eight minutes to settle. The accumulation system provides this needed period of time.
Computing power required
Now back to the controls package that we set out to explore in the first place. Among the challenges it needs to address is that it must have enormous computing power in order to cope with all the data produced by three separate vision inspection systems: one checking labels at the tray erector discharge, one checking filled cartridges at the infeed of the accumulation table, and one checking the ratio of glass beads to fluid reagent just before the filled cartridges are placed in their trays.
“The communication speed between vision inspection to HMI and to the PLC can be a real bottleneck,” says Wierciszewski. “It’s difficult to pass the results back and forth to a traditional PLC fast enough and respond with the required control functions.”
Other controls challenges are at the tray erector and the accumulation table. Though the manufacturer always orders paperboard having the identical caliper and paper weight, minor variations from batch to batch are difficult to rule out. If there are materials changes, the timing to bend the flaps, fold the paperboard, and glue the flaps must change accordingly. And at the accumulation table, timing must be very tightly controlled as the filled cassettes move through the system or else the glass beads and fluid reagent won’t settle out as they are supposed to. This kind of control requires complex handshaking between motors and the control system.
In addition, the FDA requires rigorous electronic record keeping for all biotech companies, medical device manufacturers, and drug makers. So this system for labeling and packaging blood-test cassettes needed an SQL database for audit trails and detailed tracking for CFR 21 part 11 compliance. All changes in production must be kept track of and must be reflected in detailed reports that can verify regulatory compliance. “Who logged in, when did they log in, what’s the expiration date and lot number, who initialized the lot, who terminated the lot—all these things must be kept electronically, and it takes some computing power to do it,” says Wierciszewski.
To address these challenging requirements, Wierciszewski selected as his controls centerpiece the Beckhoff Automation Panel PC, a CP7202 with 15-inch touch screen that handles all automation, motion control, SQL database and HMI functions. The controller in this application is equipped with Beckhoff’s TwinCAT PLC software package.
“It’s sometimes referred to as a ‘soft’ PLC,” says Wierciszewski. “It’s PLC software running on the HMI. It’s a great solution in this case because I don’t have space for a dedicated, stand-alone PC to run the vision systems in this line. As an even greater space savings, I didn’t have to build an enclosure for the Panel PC. All I had to do was attach a movable mounting arm.
“The CP7202 is more than up to the task for the CPU-hungry vision systems plus every automated function on the machines, handled all at once. Also, ADS [Automation Device Specification communications protocol] in TwinCAT was a snap. With it, I can transfer huge amounts of data between HMI and PLC in real time.”
HMI software
Wierciszewski also developed his own HMI software using a Visual Basic.Net and C sharp platform. “The HMI can communicate very easily with TwinCAT PLC and display visual inspection results, counters, or any other system information,” adds Wierciszewski.
To handle motion control in such a limited space, Wierciszewski designed a stepper motor system from Beckhoff that includes KL2541 I/O terminals for stepper motor control that are wired directly to Beckhoff AS1050 and AS1060 stepper motors. This method does not require additional amplifiers.
Wierciszewski networks the system’s I/O via Ethernet TCP/IP using a Beckhoff BK9000 Bus Coupler. Additional Beckhoff I/O is also used for relay outputs, motor starters on the conveyor, and for solenoids carrying 1 Amp each. “In the past I was using separate analog outputs, thermocouple inputs, and heating control units from various vendors,” says Wierciszewski. “The 250-plus assortment of Beckhoff I/O terminals covers these functions in one compact I/O system.”
Wierciszewski finds that the IEC 61131-3 programming environment in TwinCAT is very efficient. “I’m even showing some colleagues who still program in ladder logic the flexibility of TwinCAT and IEC 61131-3. Some are surprised by what the system can accomplish with just a couple lines of Structured Text. To do the same in ladder logic, it would require a couple pages worth of tedious code.”
The two machines built by Wierciszewski benefited from a number of cost-saving initiatives. “Even with the integrated SQL server and comprehensive vision system, the Beckhoff control platform cost an average of 40 percent less than devices I’ve used previously,” says Wierciszewski. “Using one Panel PC to control two machines also saved considerable time and money.”
The flexibility of the I/O connections brought additional savings. “It’s the labor cost that can be a dominant source of expense, and Beckhoff has helped me greatly improve my assembly and wiring efficiency,” says Wierciszewski. “Previous methods of I/O wiring could take days. With Beckhoff I/O and Ethernet TCP/IP, there’s just one main wire to run. The potential cost and time savings is huge as an alternative to dedicated wires run to every sensor over a long distance.”
Wierciszewski can also save time by logging in and debugging online more often instead of traveling to the customer’s site. “Often, it takes just a few minutes to find and solve a problem,” he points out. “The PC-based architectures and wide range of Ethernet and Internet connectivity solutions are indispensable in this regard.”














Comments(0)
Add new comment