// ---------------------------------------- // // 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 Machine: LEBLOND MAKINO FNC60 VMC Control: FANUC 0MB Date: March 12, 1990 Special Functions Supported: #S1 = File number for FANUC Control (example: #S1=O0001 Note: first letter is a "O" not the number "0" #S2 = Work Coordinate offset (G54 thru G59) Provides a restrart in the program at each tool change. @START % #ONBLK G49 G40 G80 G90 G17 G20 #S2 T20 T#TOOL #MOV #S2 X#XPOS Y#YPOS M06 #SPNDL S#SPEED F#FEED G43 H#LOFF Z#ZPOS M08 @TOOLCHG < #FXD> M09 #MOV G91 G28 Z0 T#TOOL #S2 X#XPOS Y#YPOS M06 G90 #SPNDL S#SPEED F#FEED G43 H#LOFF Z#ZPOS M08 @END < #FXD> M09 G00 G91 G28 Z0 G49 G90 X0 Y0 T20 M06 M30 #OFFBLK% @STPROF < #ABSI>< #FXD>< #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS> @ENDPROF < #MOV>< #DCOMP>< Z#ZPOS> @RAP < #ABSI>< #FXD>< #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS> @LINE < #DCOMP#EXC D#DOFF>< #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS>< F#FEED> @ARC < #PLANE>< #MOV>< X#XPOS>< Y#YPOS> I#XCTR J#YCTR< F#FEED> @XZARC < #PLANE>< #MOV>< X#XPOS>< Z#ZPOS> I#XCTR J#YCTR< F#FEED> @YZARC < #PLANE>< #MOV>< Y#YPOS>< Z#ZPOS> I#XCTR J#YCTR< F#FEED> @HELIX < #PLANE> #MOV< X#XPOS>< Y#YPOS> Z#ZPOS I#XCTR J#YCTR< F#FEED> @XZHELIX < #PLANE> #MOV< X#XPOS> Y#YPOS< Z#ZPOS> I#XCTR J#YCTR< F#FEED> @YZHELIX < #PLANE> #MOV X#XPOS< Y#YPOS>< Z#ZPOS> I#XCTR J#YCTR< F#FEED> @ZCLRMV < #ABSI>< #FXD><< #MOV> Z#ZPOS> @ZCHKMV < #FXD><< #MOV> Z#ZPOS> @ZDPTHMV << #MOV> Z#ZPOS< F#FEED>> @FXD1 < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD2 < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK P#DWELL>< F#FEED> @FXD3 < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD4 < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD5 < #ABSI>< #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED> @DWELL G04 P#DWELL @