// ---------------------------------------- // // The following SmartCAM code generator has been // created to generate NC code for the respective // machine and control combinations listed below. // // Due to differences in programming styles, // controller versions, and optional equipment, // SmartCAMcnc DOES NOT and CANNOT guarantee // that the NC code generated is correct for any // specific machine. Some modification to the code // generator to match your setup and output // requirements is likely necessary. // // Modifications to code generators do not TYPICALLY // require a significant amount of time. SmartCAM // customers with active SSA contracts are entitled // to support for their code generators from the // SmartCAMcnc Support Group. To contact them for // support, please send an email to: // Support@SmartCAMcnc.com. If you would like // information on purchasing SSA for your SmartCAM // products, please contact: Sales@SmartCAMcnc.com // // DISCLAIMER: It is the responsibility of the end // user to confirm and verify that the NC code // created by any code generator is accurate and // will not cause a machine malfunction which // could result in stock, tooling, machine, and/or // personal injury. // // SmartCAMcnc assumes no responsibility or // liability for any damage caused or alleged to // have been caused by the use of any of the code // generators it provides. // ---------------------------------------- @COMMENTS Name: MBPANV01 Machine: Bridgeport Series 2 Vertical Mill Control: Anilam Crusader GXM Supported Functions: G-Codes (Preparatory Functions) G00 Positioning mode G01 Linear interpolation (contouring) G02 Clockwise circular interpolation G03 Counter clockwise circular interpolation G17 Circular Interpolation in XY Plane G18 Circular Interpolation in XZ Plane G19 Circular Interpolation in YZ Plane G04 Dwell G40 Tool offset cancel G41 Tool offset left G42 Tool offset right G70 Inch input G71 Metric input G79 Milling Cycle G80 Cancel fixed cycle G81 Drilling cycle G82 Drill / Dwell G84 Tapping cycle G85 Bore in / Bore out G86 Bore in / Spindle Stop / Bore out G89 Bore in / Dwell / Bore out G90 Absolute positioning mode G91 Incremental positioning mode G92 Preload absolute stores G93 1/ Time Feed Rate Mode G94 IPM Feed Rate Mode M-Codes (Miscellaneous Functions) M00 Program stop (user command @STOP) M01 Optional stop (user command @OPSTOP) M03 Spindle on CW M04 Spindle on CCW (use negative spindle speed in job plan) M05 Spindle Stop M06 Tool Change M08 Coolant on - Flood M09 Coolant off E End of program / rewind tape @START % G37J#FILE #ONBLK G0 G40 G70 G80 G90 Z0. M5 T1 M3 X#XPOS Y#YPOS @ @TOOLCHG < #FXD> G0 Z0 T0 M5 X#XPOS Y#YPOS T#TOOL @ @END < #FXD> G90 G0 Z0 T0 M5 X#XHOME Y#YHOME M30 C#FILE #OFFBLK% @ @STPROF < #ABSI> < #FXD> < #MOV>< X#XPOS>< Y#YPOS> @ @ENDPROF < #MOV>< Z#ZPOS> @ @RAP < #ABSI> < #FXD> < #MOV>< X#XPOS>< Y#YPOS> @ @LINE < #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS>< F#FEED> @ @ARC #MOV X#XPOS Y#YPOS I#XCTR J#YCTR< F#FEED> @ @ZCLRMV < #ABSI> < #FXD> < #MOV>< Z#ZPOS> @ @ZCHKMV < #FXD> < #MOV>< Z#ZPOS> @ @ZDPTHMV < #MOV>< Z#ZPOS>< F#FEED> @ @OP_SPEC #CALL(OP_DRL) @OP_REAM #CALL(OP_DRL) @OP_DRL < #ABSI> < V20R#FEED> < V21R#ZCHK> < #CYCLE> < X#XPOS>< Y#YPOS>< Z#ZDPTH> @@CYCLE 0,G81 @ @OP_SPDRL #CALL(OP_CSINK) @OP_CDRL #CALL(OP_CSINK) @OP_CBORE #CALL(OP_CSINK) @OP_SPFACE #CALL(OP_CSINK) @OP_CSINK < #ABSI> < V20R#FEED> < V24R#ZCHK> < V22R#DWELL> < #CYCLE> < X#XPOS>< Y#YPOS>< Z#ZDPTH> @@CYCLE 0,G82 @ @OP_TAP < #ABSI> < V20R#FEED> < V24R#ZCHK> < V26R1> < #CYCLE> < X#XPOS>< Y#YPOS>< Z#ZDPTH> @@CYCLE 0,G84 @ @OP_BORE < #ABSI> < V20R#FEED> < V21R#ZCLR> < #CYCLE> < X#XPOS>< Y#YPOS>< Z#ZDPTH> @@CYCLE 0,G86 @ @OP_PDRL < #ABSI> < V20R#FEED> < V21R#ZCLR> < V23R#PECK> < V24R#ZCHK> < #CYCLE> < X#XPOS>< Y#YPOS>< Z#ZDPTH> @ @@CYCLE 0,G83 @ @DWELL G04 @