Using #THDPTCH Works for me feeding feedrates to my Mazaks, which look for pitch as well.
#EVAL(#S2=#THDPTCH) John Morris > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, January 07, 2002 11:42 AM > To: Mfg-Smartcam (E-mail) > Subject: > > Hi All, > For the threading cycle (G84) on our DeckelMaho, instead of providing a feedrate, we just enter a value "J" which is the pitch of the thread. > Trouble is, when I try to capture the pitch from the JOS to use it in the .tmp the jos tag "JOS(pitch) returns the fractional rep of the pitch. How do I get the .tmp to convert this into decimal format? > > This is the section in question: > > // hole tap > @OP_TAP > < #COOLNT> > #EVAL(#S2=JOS(pitch)) > < #ABSI>< #CYCLE Y#CHKD J#S2 Z-#ZDPTH S#SPEED #SPNDL> > #EVAL(#ZPOS=#ZCHK-#CHKD) > G79< X#XPOS>< Y#YPOS>< Z#ZPOS> > @@CYCLE > 0,G84 > @ > > thanks in advance > -ernie > ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
