@COMMENT Machine: Bridgeport Vertical Mill Control: Boss 3 Notes: (see disclaimer at bottom) 1. This machine and template file have been set up to support the following fixed cycles: G80 - Fixed Cycle Cancel G81 - Drill Cycle G82 - Spot Drill with Dwell Cycle G87 - Chip Breaking Drill Cycle * G83 - Deep Hole Drill Cycle * G84 - Tapping Cycle G86 - Boring Cycle * (See Note #3) 2. Speeds in the Job Plan should be specified in revolutions per minute (RPM). Feeds should be in inches per minute (IPM). In order to produce code which will turn the spindle in a reverse direction, type the spindle speed in Job Plan as a minus number. 3. SmartCAM will automatically ouptut a G83 peck drill cycle, assigning the first "Z" value to equal the total depth of the hole, the second "Z" depth is the Initial Peck Depth, and the third "Z" is the Peck Increment from the JOS. To use G87, set Cycle to Cycle 2. @ @DECLARE //#OUTCND // outputs conditional status //#OUTSEC // outputs @section names //#OUTREF // outputs processing errors //#OUTRPT // outputs an error report file #DEC#peckinit // 2nd Z for Peck drilling #DEC#peckincr // 3rd Z for Peck drilling @ @VARSET #EVAL(#peckinit=jos(pekdpth1)) #EVAL(#peckincr=jos(pekdpth2)) @ @CYCLE -1,G80 @ @START #CALL(VARSET) %N01 #ABSI #MOV X#XPOS Y#YPOS S#SPEED T#TOOL M06 #ONBLK Z#ZPOS @ @TOOLCHG #CALL(VARSET) #EVAL(#V0=0) #RESET(#CYCLE) #ABSI #MOV X#XPOS Y#YPOS S#SPEED T#TOOL M06 Z#ZPOS @ @END < #DCOMP> G90 G00 X#XHOME Y#YHOME M02 #OFFBLKE @ @STPROF < #ABSI>< #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS> @ @RAP < #ABSI>< #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS> @ @LINE < #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS>< F#FEED> @ @ARC < #MOV>< X#XPOS>< Y#YPOS> I#XCTR J#YCTR< F#FEED> @ @ZCLRMV < #CYCLE>< #MOV>< Z#ZPOS> @ @ZCHKMV < #MOV>< Z#ZPOS> @ @ZDPTHMV < #MOV>< Z#ZPOS>< F#FEED> @ @OP_SPEC #CALL(OP_DRL) @OP_REAM #CALL(OP_DRL) @OP_DRL #IF(#V0=0)<#RESET(#XPOS,#YPOS)> < #ABSI>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< F#FEED> #EVAL(#V0=1) @@CYCLE 0,G81 @ @OP_SPDRL #CALL(OP_CSINK) @OP_CDRL #CALL(OP_CSINK) @OP_CBORE #CALL(OP_CSINK) @OP_SPFACE #CALL(OP_CSINK) @OP_CSINK #IF(#V0=0)<#RESET(#XPOS,#YPOS)> < #ABSI>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< F#FEED> #EVAL(#V0=1) @@CYCLE 0,G81 @ @OP_TAP #IF(#V0=0)<#RESET(#XPOS,#YPOS)> < #ABSI>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< F#FEED> #EVAL(#V0=1) @@CYCLE 0,G84 @ @OP_BORE #IF(#V0=0)<#RESET(#XPOS,#YPOS)> < #ABSI>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< F#FEED> #EVAL(#V0=1) @@CYCLE 0,G86 @ @OP_PDRL #IF(#V0=0)<#RESET(#XPOS,#YPOS)> < #ABSI>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< Z#peckinit>< Z#peckincr>< F#FEED> #EVAL(#V0=1) @@CYCLE 0,G83 1,G87 @ @DISCLAIMER ---------------------------------------- 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. ---------------------------------------- @