// ---------------------------------------- // // 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. // ---------------------------------------- // LODGE & SHIPLEY LATHE WITH A G.E-1050 @START % N0001 #ONBLK #IF(#TLID=1)< M11> #ELSE< M13> G97 S0150 #SPNDL G70 G90 T#TOFF G92 X#XSET Z#ZSET M08 M80 M81 G98 S1500 #SPMODE< R#CSSRAD> S#SPEED #SPNDL G94 M80 #NEXTPT @TOOLCHG #MOV X#XPOS Z#ZPOS #RFEED T#LTOOL M81 M05 M09 M80 M81 M01 G90 T#TOFF G92 X#XSET Z#ZSET M08 M80 M81 G98 S1500 #SPMODE< R#CSSRAD> S#SPEED #SPNDL #NEXTPT G21 X#XPOS Z#ZPOS F8 @END #MOV X#XPOS Z#ZPOS #RFEED T#LTOOL M01 M11 M30 #OFFBLK% @RAP < #MOV>< X#XPOS>< Z#ZPOS>< #RFEED> #RESET(F#FEED) @LINE < #MOV>< X#XPOS>< Z#ZPOS>< F#FEED> @ARC #MOV X#XPOS Z#ZPOS I#XCTR K#ZCTR< F#FEED> @FXD1 X#XCTR Z#ZCTR G33 Z#ZPASS K#FTHRD G21 X#XPOS F8 Z#ZPOS @DWELL G04 X#DWELL @