Here is what I do. This allows me to do plunge threading or infeed angle threading. To do left right alternating you can add additional logic to the @FXD1 section.
In my .smf file I set the following. This is for inch system only.
Question No. 180 = no
No. 188 = 29.5
No. 189 = 5
No.. 190 = .8
No. 191 = .5
No.192 = .002
No. 193 = .001
For metric system change No. 192 to .05 and No. 193 to .025
In the .tmp file I use section FXD1 for threading.
Here's a sample.
@FXD1
#RESET(#ZPASS)
#IF(#TLTYPE=7)<#EVAL(#V3=#V0+.05)>#ELSE<#EVAL(#V3=#V0-.05)>// sets clearance for ID or OD threading
#EVAL(#V4=#ZPOS-(TAN(#V10)*#V1))// logic for next pass
 G01< X#XPASS>< Z#V4> F100.// Infeed
 #FXD< X#XPASS>< Z#ZPASS> K#FTHRD// thread pass
 G01 X#V3// clearance move
 G00< X#V3> Z#ZPOS// rapid to start of thread
 
V10 is used to store in feed angle for threading. It must be set with a user command in the .pm4 file.
-----Original Message-----
From: gary [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 17, 2003 7:55 AM
To: Smartcam Users Group (E-mail)
Subject: [mfg-smartcam] Threading

I have a question concerning the control of threading in advanced turning.
 
I would like to have control over the feed in methods. 
 
Straight
Specified angle (29.5 Deg)
Left right alternating
 
How can this be accomplished.
 
Gary

Reply via email to