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

<<attachment: winmail.dat>>

Reply via email to