Chris This section in the tmp looks at the B axis and out puts a "Y" location depending on a negative or positive "B" head tip.
You may be able to fiddle around with this idea and get it to work for you. #IF(#INDXA<0)<Y-4.0> #IF(#INDXA>0)<Y12.0> G68 X#XFO Y#YFO Z#ZFO I1 J0 K0 R#FMT(#rindex,D3.4)//(REFERENC FROM WORLD ORIGIN) Z4.0 #EVAL(#checka=1)//****************JOE inserted for G68 redundant check #EVAL(#checkc=1)//****************JOE inserted for G68 redundant check In that codder I pull up all the way to home and have to reset the G68 code at every work plane change for the some tool. But I am not really sure if it is necessary to do that every time I do it because it costs 20 grand to put the spindle bears into the head if I bump the tool the ceramic bearing go south. I would like a copy of your *tmp Thanks Brock -----Original Message----- From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Tuesday, August 15, 2000 1:14 PM Subject: [mfg-smartcam] Found answer for Rusty post work #2, now comes #3 > >Brock, > I found part of what I want in your .tmp which gives me the "G80 >Z1.0"; I added:"#IFCHG(#WKPLN)< G80 Z#ZPOS>" into my "@FXD*" sections. > >I still need to post the following logic in my drill cycles (#1 is already >taken care of above): > >(1) If the workplane changes, cancel the drill cycle and go to the >clearance plane >(2) If the workplane has changed, test which workplane is active and output >specific code for axis rotation. >(For G54: G68 X____ Y____ R#507) >(For G55: G68 X____ Y____ R#508) > >An example of the desired code is below in my first post. >Any other ideas out there? > >Chris > >--------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ----- > >>Chris >> >>I am really busy so I didn't pull out the section for you. >> >> I attached my 5 axis *.tmp that does this very thing, it is laid >>out really nice you should be able to find the section you need. >> >>Thanks >>Brock > >--------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ----- >>>Now I need another post tweak: When the same drill moves from one >workplane >>>to the next, I need a drill cycle cancel, the conditional workplane >output >>>for the corresponding workplane, then the drill cycle started again, as >>>follows: >>>G80 Z1.0 >>>G68 X____ Y____ R#508 >>>G98 G83 X____ Y____ Z-____ R0.1 Q0.25 >>> >>>Any help, as always, would be greatly appreciated. >>> >>>Chris > >====================================================================== >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] ======================================================================
