try change #S... to #V....

#S... is string type variable

T.Holst


At 11:42 07.01.2002 -0500, you wrote:
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


-------------------------------------------------------------------
Thorbjoern Holst, CAM Coordinator
Prototech AS,  PostBoks 12,  Fantoftveien 38,  5036 FANTOFT, NORWAY
E-Mail        : mailto:[EMAIL PROTECTED]
Telefon       : + 47 55574039
Sentralbord   : + 47 55574110
Fax           : + 47 55574114
--------------------------------------------------------------------

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to