The STEP-NC AP238 standard is the result of an international effort, begun in the late 1990s, to replace the RS274D (ISO 6983) M and G code standard with a modern associative language that connects the CAD design data used to determine the machining requirements for an operation with the CAM process data that solves those requirements. STEP-NC builds on the previous ten year effort to develop STEP data standards for CAD data and uses the modern geometric constructs in STEP to define device independent tool paths, and CAM independent volume removal features.
You can find more information about the development and deployment on the STEP-NC Standard Page
STEP-NC defines a CNC part program as a series of operations that remove material defined by features. The features supported include holes, slots, pockets and volumes defined by 3D surfaces. Each operation contributes to the manufacture of a feature by defining the volume of material to be removed, the tolerances, the type of tool required and some basic characteristics such as whether this is a roughing or finishing operation. The operations are then sequenced into a work plan that converts the stock into the final part. The work plan may be sophisticated and include conditional operations that depend on the results of probing operations, and it may be divided into sub-plans to be executed concurrently on machines that have multiple cutting heads.
A key feature of STEP-NC AP238 programs is that they are machine and organization independent. If a machine has the underlying capabilities (axes, table size etc), then a STEP-NC "compiler" should be able convert the part program into a sequence of tool movements for that machine. If a CNC has a Tool Cutter Programming (TCP) interface then the tool movements can be executed directly without converting to axis movements. This has two significant consequences for industry.
Fig. 3 shows how design data is communicated to manufacturing in current practice. Design creates the specification for a product as a 3D model. Detailing decides the manufacturing requirements for the product by making a drawing. Path planning generates tools paths. Manufacturing controls production. The job of design is performed using a CAD (Computer Aided Design) system, the job of detailing is performed using a drawing CADD (Computer Aided Design Draughting) system, the job of path planning is performed using a CAM (Computer Aided Manufacturing) system, and job of manufacturing is controlled using a CNC system. In many cases the CAD, CADD and CAM functions are combined into a single integrated CAD/CAM system but in all cases the CNC function is performed by a separate system.
Information can be lost in the pipeline because incomplete data is sent from the CAD to the CAM, because fixes to the geometry are made in the CAM and not communicated back to the CAD, because only the surface data is communicated to the post, and most of all, because the RS274D standard only allows axis movement data to be communicated to the control. This means that no adjustments can be made on the control in response to changes in the available tooling, the control cannot optimize the machining process for the capabilities of the selected machine, and the operator cannot rely on software in the control to check the safety of the set-up and the program.
In the new method enterprises can continue to use their existing systems for CAD, CADD and CAM, but the end result is sent to the CNC as a STEP-NC AP238 file instead of an RS274D file. Fig. 4 shows the modified pipeline. The change is small because no systems need to change only the interfaces, but the advantages are significant:
The deployment of AP238 may take a different path to that of AP203 because the economic benefits are quite significant. There has been considerable early testing of AP238 by industry as a new interface for defining machine independent tool paths. This is the concept originally defined for BCL (RS494). However, BCL did not have a means to display the design geometry and tolerances of the part, or the features being manufactured in each operation. There is strong reason to believe that if this data is added then AP238 CNC machine independent files can be used as the basis for contracting work between customers and suppliers and if this is so then the deployment of AP238 may be driven by stronger economic forces than those that lead to the implementation of AP203.
NEXT: Future of STEP
 ISO 14649-1:2001 Industrial automation systems and integration Physical Device Control-Part 1: Overview and Fundamental Principles, Draft International Standard ISO TC184/SC4, 2001.
 Suh, S.H., Cho, J.H., and Hong, H.D., 2001, "On the architecture of intelligent STEP-compliant CNC," Int'l J. Computer Integrated Manufacturing, Vol. 15, No. 2, January 2002, pp. 168-177