// ---------------------------------------- // // 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 SMA 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 SMA 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. // ---------------------------------------- @START \\ ** D&M 6 CNC MILL ** \\ #FILE \\ #DATE G70 G00 X1. Y3. Z2. RAPID ABS M06 #TOOL M07 #FEED M04 #SPEED Z#ZPOS RAPID ABS @TOOLCHG #MOV X1. Y3. Z2. RAPID ABS M06 #TOOL M07 #FEED M04 #SPEED Z#ZPOS RAPID ABS @END G00 X1. Y3. Z2. RAPID ABS M06 0 M04 0 X0 Y0 Z1 RAPID ABS M30 @STPROF <#MOV> < Y#YPOS>< Z#ZPOS> RAPID ABS @ENDPROF <#MOV> < Y#YPOS>< Z#ZPOS> RAPID ABS @RAP <#MOV> < Y#YPOS>< Z#ZPOS> RAPID ABS @ZDPTHMV M07 #FEED Z#ZPOS FEED ABS @LINE <#MOV> < Y#YPOS>< Z#ZPOS> FEED ABS @ARC <#MOV> X#XCTR Y#YCTR FEED ABS X#XPOS Y#YPOS FEED ABS @ZCLRMV <#MOV> Z#ZPOS RAPID ABS @ZCHKMV <#MOV> Z#ZPOS RAPID ABS @FXD1 < #FXD> X#XPOS Y#YPOS Z#ZDPTH FEED ABS @FXD2 #FXD X#XPOS Y#YPOS Z#ZDPTH FEED ABS G80 @FXD3 @FXD4 < #FXD> X#XPOS Y#YPOS Z#ZDPTH FEED ABS G80 @FXD5 < #FXD>< 0 #PECK> X#XPOS Y#YPOS Z#ZDPTH FEED ABS @DWELL G04 #EVAL(#TIME=#DWELL/60) @