// ---------------------------------------- // // 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: OKK MCV 300 Vertical Machining Center Control: Meldas 84 Date: Feb. 1991 @START ~#S1 ~ % #OFFBLK (#SYSTIME) (#DATE) (#TLCMT) (#TDESC) #ONBLK G17 G90 G92 X0 Y0 Z0 #EVAL(#U5=#TOOL) #EVAL(#U6=#NTOOL) #MOV X#XPOS Y#YPOS#IF(#U5<>#U6)< T#NTOOL> #SPNDL S#SPEED G43 H#LOFF Z#ZPOS M08 @TOOLCHG < #FXD> M09 #OFFBLK (#TLCMT) (#TDESC) #ONBLK G28 ZM6 G92 Z0 #EVAL(#U5=#TOOL) #EVAL(#U6=#NTOOL) #MOV X#XPOS Y#YPOS#IF(#U5<>#U6)< T#NTOOL> #SPNDL S#SPEED G43 H#LOFF Z#ZPOS M08 @END < #FXD> M09 G28 Z0 G28 XY #OFFBLK(EST. CYCLE TIME = #FMT(#CYTIME,D2.2)) #ONBLK M02 #OFFBLK% @STPROF < #ABSI>< #FXD>< #MOV>< X#XPOS>< Y#YPOS> @ENDPROF #MOV Z#ZPOS < #HCOMP> @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>> @FXD1 < #ABSI>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD2 < #ABSI>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK E#DWELL>< F#FEED> @FXD3 < #ABSI>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD4 < #ABSI>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK>< F#FEED> @FXD5 < #ABSI>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED> @DWELL G04 X#DWELL#EVAL(#TIME=#DWELL/60) @FOURTH G00 Z7.0 B#FMT(#V0,D4.1) @FIFTH G00 Z7.0 A#FMT(#V1,D4.1) @