Monday, December 05, 2005

Part 3-3 - STEP NC-The End Of G-Codes

STEP NC

Although STEP NC has not quite completed the formal standards making process, it is well into the review and approval cycle, which will ultimately settle a few remaining matters of technical detail. STEP NC defines data representing "working steps," that is, a library of specific operations that might be performed on a CNC machine tool. In keeping with the STEP concept, these working steps are generic descriptions that can be incorporated into a product model. These descriptions are not linked to a specific format or code. However, STEP NC working steps are roughly equivalent to the machining commands represented by traditional M and G codes.
STEP NC is the basis, the enabling standard that underlies the potential for using the digital product model as machine tool input. STEP NC allows a complete database of machining information to be built around it. The database, then, dictates what capabilities must exist in the machine tool controller to cut the part.
What's called for is a "super model" that includes design information such as geometry, manufacturing planning information such as form features (holes, slots, contours and so on), plus manufacturing strategy information such as tool selection, fixture location and so on.
The effort to develop the super model and make it usable as machine tool input is being spearheaded by STEP Tools, Inc. of Troy, New York. STEP Tools is a developer of data exchange software for worldwide manufacturing. Although the official name of the project is the Model Driven Intelligent Control of Manufacturing, participants are simply calling it the Super Model project. Funding is coming from the National Institute of Standards and Technology (NIST), an agency of the U.S. Commerce Department's Technology Administration. The Super Model program was formally launched as an Advanced Technology Project with an award of $2.9 million in October 1999. Participating in the program is an Industrial Review Board consisting of manufacturers, software vendors and machine control builders, government and defense agencies, and a range of small- and medium-sized job shops from the Hudson Valley in New York State.
The Super Model project has a three year time line. The target for the first year is to build a STEP and STEP NC database containing three kinds of manufacturing features, and use the database to drive a machine tool controller. The target for the second year is to build a database containing all of the features defined by the STEP NC milling schema and use that database to manufacture the STEP NC test part. The target for the third year is to produce a database for another machining process such as turning, grinding or electrical discharge machining.

The Super Model Database
The challenge for the Super Model project is to create interfaces that bring together the information defined by STEP and STEP NC. Product geometry can be defined by one STEP application protocol. Product features can be defined by another STEP protocol. Machining operations can be defined by STEP NC. However, all three types of data and others must be integrated in a complete product model database. Moreover, this database must be Internet compatible.
Starting with product geometry in the STEP format is the easy part because STEP translators are built into most CAD systems these days (and they handle 3D geometry, doing so more effectively than IGES ever did, apparently). The super model test part happened to be created in a ProEngineering workstation.
The next step in building the database is adding features to the geometry. For the sake of demonstration, STEP Tools originally used a Microsoft Excel spreadsheet to link STEP-defined feature names to the test part geometry. The Super Model program is evaluating an automatic feature recognition system being developed by Honeywell FM & T, one of the subcontractors in the program. Called the FBMach Process Planning System (FBMach is short for feature-based machining), this software reads STEP geometry and automatically determines what features, such as holes, pockets, slots, and so on, are represented by the geometry. The user interface allows these determinations to be validated before proceeding. The FBMach system is expected to be available commercially by the end of 2000. Its application to the super model test part will be demonstrated in November.
STEP NC establishes a hierarchy of workingstep supertypes/subtypes. In other words, it breaks down every machining operation into the steps required to perform the operation. These steps include actions to be taken as well as data (such coordinates of point-to-point motion) to be applied. These steps are then linked to the appropriate part model geometry to fill in the values. STEP Tools is setting up tables to match workingsteps, workingstep-methods, workingstep actions, and machined features.
According to Martin Hardwick, president of STEP Tools, the super model database is adapting a modified version of the company's ST Repository product data management software to structure the database. Each repository uses standard interfaces to import and export geometry, features and workingsteps to the tools used by CAD and CAM engineers.
A key part of STEP Tools approach to the super model database is the use of XML in its interfaces. XML, the eXtensible Markup Language, is a vendor-neutral data exchange language for passing information, not just data, across the Internet. XML allows data to be "tagged" so that software applications reading the database can identify what type of information is stored in the database and extract the data that is needed. HTML, the Hyper Text Markup Language, is a similar"metadata" language that the Web uses so that text can be displayed no matter what Internet browser happens to read it. XML offers a comparable level of interoperability. An XML standard for STEP is nearing completion. This standard will ensure that all data in a product model is "tagged" in the same way.
For the super model, XML provides a convenient means to link manufacturing strategy, tool pathing, and tool selection information to geometry, features and machining steps in the database. By sorting out data with the appropriate tags, for example, geometry identified as a hole to be drilled can be linked to operations such as rough drilling, boring and counterboring steps. Each of these steps will require that other data be extracted, such as workpiece material, surface finish requirements, and so on, to link with speed and feed tables. XML provides the tags so that the data is sorted correctly.
Ultimately, XML ensures that a CNC networked to the Internet will be able to find the information it needs from the product model database to machine a part.
At the May 2000 Industrial Review Board meeting, STEP Tools demonstrated how XML transactions had been used to complete a database for its test part, linking the required information for three different types of machined features, including a hole, a slot and a pocket.

Down To The CNC

The goal for the Super Model project is to show how these features can be cut on a machining center using the product model as the NC part program, so to speak. One of the subcontractors deeply involved is this phase of the program is Electro-Mechanical Integrators, Inc. (EMI) of Franconia, Pennsylvania. Engineers at EMI are writing new software for a Bridgeport control unit that will enable it to accept STEP NC data. (The company has considerable experience with Bridgeport control units and is the factory-authorized support and repair agency for the Bridgeport DX32 control.)
According to Bart Stater, head programmer of EMI, this effort requires a customized command parser and command interpolator to process STEP NC. "Essentially we are creating a new CNC protocol to interpret the information in the product model in real time. This software will extract the data it needs to determine axis moves, get the specified tool, and issue commands. It will not need or use G-codes," he says. Otherwise, the I/O structure and servo system of the machine remain the same. He notes that this concept assumes that the CNC will be networked to a file server that receives and stores data, most likely through an Internet connection.
EMI is looking at two approaches to configuration of the CNC. One approach runs all of the executive software in the CNC's internal processors. Another approach uses a "PC front end" interfaced to the CNC. The PC would process the STEP NC data and spoon feed it to the CNC, filling a buffer with blocks of data on demand. This approach would ensure that the CNC is not starved for data while the product model is processed.
In November 2000, EMI is scheduled to demonstrate actual cutting of the three selected workpiece features on the test part. Although the concept could be proven with a simulation of the machining operations, cutting chips is a more convincing demonstration. "We want to show the CNC accessing the product database on the Web, finding the features to be machined, then generating commands to drill the hole, mill the slot and machine the pocket," Mr. Stater insists.
STEP Tools is also working with the Lawrence Livermore National Laboratories, where a STEP NC interface is being developed for the OMAC (Open Modular Architecture Control) project. Additional shopfloor tests and demonstrations of STEP NC are set to take place at a production machining facility operated by General Dynamics Land Systems in Scranton, Pennsylvania. A pilot project at the Jet Propulsion Laboratory is also in the proposal phase awaiting funds.

Art To Part

Those three words sum up the promise of STEP NC and the Super Model project.
From a shop floor viewpoint, art to part means the intermediate steps of creating an NC program are eliminated. Most of those intermediate steps necessitated a transformation of product data, causing data files to proliferate. Part geometry had to be translated, reconstructed or edited. The edited, translated or reconstructed geometry had to be processed to generate tool paths. Tool path files had to be post processed to suit the requirements of the machine tool and control unit combination. Postprocessed files were often edited on the shop floor. In short, one piece of part geometry begot hundreds by the time the part was actually cut from metal.
With STEP and STEP NC, the digital product model database replaces all of the other product data files otherwise created to make the part.
From a design and engineering viewpoint, art to part means that design and manufacturing can be managed with a single database. Just as data files need not proliferate down the supply chain, they need not proliferate across the manufacturing organization. Product data can be shared between products, between corporate divisions and between applications. The Internet will make this sharing of data global and virtually instantaneous.
This concept of art to part does make G-code programming obsolete. But this traditional form of programming for machine tools was already on its way out. Advances in CAM software make G-codes less and less visible to programmers and machine operators.
This concept also implies that CAD and CAM will have a different relationship than they did in the past. Dr. Hardwick believes that product models will originate in CAD, with STEP enabling a high degree of collaboration between designers and engineers. Feature recognition will be applied at this level as manufacturing engineers define the manufacturing process that becomes part of the product model. "At this point, the process data will be ready for any machine tool but will allow for important local parameters to be defined when it gets to the machine," he predicts. Selecting cutting tool, setting feeds and speeds and so on will be handled at the machine tool on the shop floor.
These CAM functions become the domain of intelligent controllers with on-board CAM software. This software will generate the movements necessary to make the parts after the appropriate parameters have been set on the CNC. "The on-board CAM software is there to do the last minute custom tool path generation using selections made by the operator," Dr. Hardwick says. Intelligence built into the software stops the operator from making mistakes or using less than optimum settings. "It's a huge opportunity for the CAM industry. This software will be a required component of all future CNCs," Dr. Hardwick contends.

Vision

With the development of STEP NC, what's happening is not simply the re-shaping of CNC. It is the reshaping of manufacturing. And in the vision that is emerging, the CNC machine tool will be more important than ever.

No comments: