|
Hi Kevin
If I am reading your question right you need to have
the G81 line changed to say a G83 for deep drilling
of holes. If I am here's how it is done in the
*.tmp file I use.
You will see how the "Z" depth for the holes
is looked at ,to change the code out put and also
is controlling a certain out put on a given tool number in this case 7
& 8 .
Hope this gives you an idea on what to try.
Brock
#STR #pecker ( put at top
of *.tmp file )
#RESET(#pecker) ( after tool
change )
#IF(#ZDPTH>=-1.875)<#EVAL(#pecker=G73)> #IF(#ZDPTH<=-1.8751)<#EVAL(#pecker=G83)> <#ABSI ><#RTNLVL ><#pecker ><X#XPOS ><Y#YPOS ><Z#ZDPTH R#ZCHK Q#PECK >< F#FEED #COOLNT> #RESET(#FXD) @FXD5 #IF(#U10=1)< ***** This is the FXD5 Section ***** > #IF(#U1=1)<#CALL(DRILL5)> #IF(#U1=1)<#EXIT> #EVAL(#U1=1) #UPDATE(#FXD)// #EVAL(#S1=G73) #IF(#TOOL=7,#OR#TOOL=8)<<#ABSI ><#RTNLVL >#S1 X#XPOS Y#YPOS< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED M08 >> #IF(#TOOL<>7,#AND#TOOL<>8,#AND#ZDPTH>=-1.875)<<#ABSI ><#RTNLVL >#S1 X#XPOS Y#YPOS< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED M08 >> #IF(#ZDPTH>=-1.875,#OR#TOOL=7,#OR#TOOL=8)<#EXIT> //( here a G83 is out put see
hole depth )
#EVAL(#S1=G83)
#IF(#ZDPTH<-1.875)<<#ABSI ><#RTNLVL >#S1 X#XPOS Y#YPOS< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED M08 >> @DRILL5
#IF(#U10=1)< ***** This is the Drill5 Section ***** > #EVAL(#S1=G73) #IF(#ZDPTH>=-1.875)<<#ABSI ><#RTNLVL ><#S1 ><X#XPOS ><Y#YPOS >< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED>> #EVAL(#S1=G73)
#IF(#TOOL=7,#OR#TOOL=8)<<#ABSI ><#RTNLVL ><#S1 ><X#XPOS ><Y#YPOS >< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED>> #EVAL(#S1=G83) #IF(#TOOL<>7,#AND#TOOL<>8,#AND#ZDPTH<-1.875)<<#ABSI ><#RTNLVL ><#S1 ><X#XPOS ><Y#YPOS >< Z#ZDPTH R#ZCHK Q#PECK>< F#FEED>> -----Original Message----- From: Kevin <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, April 04, 2002 12:59 PM Subject: [mfg-smartcam] point of actavation for a cycle Hey All i hope everyone is well. i am still developing my post for our little maho. I've got most things working fine and have been working with it. what I can't figure out for some reason is how to get my G79 to output the correct posistion. what the G79 does for our machine is actavate a canned cycle. so you would type something like this... N20 G81 X0 Y0.05 Z-0.1 F4.8 M3 N25 G79 X-0.875 Z-3.8 Y0.0 N30 G79 Z-5.8 N35 G79 X-9.875 N40 G79 Z-3.8 so everytime it sees the G79 in this case it actavates the drill to do the cycle at the posistion the post for that looks like this.. @FXD2 < #ABSI>< #FXD X#DWELL Y#ZCHK Z#ZDPTH>< F#FEED>< S#SPEED>< #SPNDL> #EVAL(#V1=0) G79< X#XPOS>< Z#YPOS>< Y#V1> this is fine on most ocations, but not fine when drilling in pockets, I have tryed to change things, with no resolve, any input would be greatly valued, thank you! kevin Brown Brock University Canada
|
- [mfg-smartcam] point of actavation for a cycle Kevin
- Brock Shimon
