// ---------------------------------------- // // 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. // ---------------------------------------- //Machine: Trumpf //Control: Bosch Micro 5 @START % #ONBLK G92 G70 M20 #ABSI F2400 T#TOOL M80 G00 X#XPOS Y#YPOS M06 G92 X6.0 M00 @TOOLCHG T#TOOL M20#RESET(#PUNCH) G00 M06 @END M20 M02 #OFFBLK% @STPROF < #ABSI> < #MOV>< X#XPOS>< Y#YPOS> M20#RESET(#PUNCH,#CUTC) @RAP < #ABSI> < #MOV>< X#XPOS>< Y#YPOS>< #PUNCH>#RESET(#CUTC) @LINE < #MOV>< X#XPOS>< Y#YPOS>< E#FEED #CUTC> @ARC < #MOV>< X#XPOS>< Y#YPOS>< I#XCTR>< J#YCTR>< E#FEED #CUTC> @DWELL G04 P#DWELL#EVAL(#TIME=#DWELL/60) @STOP < #MOV>< X#XPOS>< Y#YPOS> M20 M00 @REPO < #ABSI>< X#XPOS>< Y#YPOS> M20 M12 #EVAL(#YPOS=#YPOS+.04) < Y#YPOS> #IF(#XSET>0)<#EVAL(#XSET=#XPOS-#XSET)> #IF(#XSET<0)<#EVAL(#XSET=#XPOS+#XSET)> X#XSET M11 #EVAL(#YPOS=#YPOS-.04) G92 X#XPOS Y#YPOS #RESET(#PUNCH) @