// ---------------------------------------- // // 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. // ---------------------------------------- @COMMENTS 8/16/88 Machine: Emco-Maier Compact 6 Training Lathe @START O#FILE #ONBLK G70 G53 G56 G95 G54 G92 S4000 X0.0 Z#V1 G59 #SPMODE S#SPEED #MOV X#XPOS Z#ZPOS T#TOFF #SPNDL M08 @TOOLCHG G00 X#XPOS Z#ZPOS T#TOFF #SPMODE S#SPEED #SPNDL @END G53 G56 M05 M09 T0000 M30 #OFFBLK " @STPROF < G00 X#XPOS Z#ZPOS> @RAP < G00 X#XPOS Z#ZPOS> @LINE < G01 X#XPOS Z#ZPOS F#FEED> @ARC #MOV X#XPOS Z#ZPOS I#XCTR K#ZCTR F#FEED @FXD1 G85 X#XPASS Z#ZPASS#EXLN D3=#FMT(#V2,T2.4) D5=60 D6=#FMT(#V1,T2.4) F#FTHRD @FXD2 G84 X#XPASS Z#ZPASS F#FEED @FXD3 G84 Z#ZPASS X#XPASS F#FEED @FXD4 G33 Z#ZPASS F#FEED M04 G33 Z#ZPOS F#FEED @FXD5 #EVAL(#V3=#TLDIA/2) G87 Z#ZPASS D3=#FMT(#V3,T2.4) D4=2 D5=50 D6=25 F#FEED @FXD6 G86 X#XPASS Z#ZPASS D3=#FMT(#XOV,T2.4) D4=2 D5=#FMT(#TLWD,T2.4) @