Yes, by checking the variable #CYCLE. You need to set the Machine Define file to use canned cycles and build the ability into the template section to generate the individual moves.
This is an example of a simple drilling section. @FXD1 #IF(#CYCLE=3)< G00 Z#ZCHK G01 Z#ZDPTH< F#FEED> G00 Z#ZCHK >#ELSE< < #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< R#ZCHK>< F#FEED> > This is an example of a more complex drilling section. @FXD1 #IF(#CYCLE=3)< #EVAL(#MOV=0) #IF(#RTNLVL=1)<< #MOV> Z#CLEAR> < #MOV>< X#XPOS>< Y#YPOS> Z#ZCHK #EVAL(#MOV=1) #MOV Z#ZDPTH< F#FEED> #EVAL(#MOV=0) #IF(#RTNLVL=1)< #MOV Z#CLEAR>#ELSE< #MOV Z#ZCHK> >#ELSE< < #RTNLVL>< #FXD>< X#XPOS>< Y#YPOS>< Z#ZDPTH>< R#ZCHK>< F#FEED> > � Pecking operations would require the use of a #REPEAT() loop. This can allow you to build in support for multiple peck increments, multiple feed rates, dwells, etc... ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Joe Geraci [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 03, 2000 11:58 AM To: 'Smartcam' (E-mail) Subject: [mfg-smartcam] Canned Cycles Hello SCusers, Does anyone know if its possible to switch between long hand drill cycles and canned cycles based on a test with in the tmp file ?? Thanks, J.G. ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
