Dave,

At the beginning of this year I started programming a lathe with live tooling and have run into the same situation. I ended up doing pretty much what you did except instead of dividing the Milling output by 2, I changed the lathe smf file to output the 'X' values in radius and doubled the output in the lathe tmp file.

You will need to add the #UPDATE(#XPOS) command in every @ section that you use your #xmill variable or else you will end up with some problems. At least that has been my experience. As an example, you @LINE section should look like this:

@LINE
G112 //Turn on Polar Conversion
#EVAL(#xmill=#XPOS/2)
X#xmill Y#YPOS
#UPDATE(#XPOS)
G113 //Turn off Polar Conversion



Also, you say that you're "trying to get a handle on when and why Smartcam switches back and forth between the milling and turning
CG's." If I understand your question, it switches to the mill tmp/smf file parameters whenever a live tool is being processed, and it uses the lathe tmp/smf files when a static (lathe) tool is being use.

Good luck,

Daryl


At 12:19 PM 8/27/02, [EMAIL PROTECTED] wrote:
All,
We have a HAAS VTC (VTL with live tooling) and I'm just getting into
programming the live tooling with Aturn. I'm trying to get a handle on when
and why Smartcam switches back and forth between the milling and turning
CG's. I'm thinking it's triggered by plane changes (Z,X vs. X,Y) but am not
sure. My question stems from the following scenario...Included with this
HAAS control, is a G112, which is defined as Polar coordinate conversion.
How it works...command G112, then input X,Y coordinates as if you were
milling, and the control out puts X,C coordinates and moves the machine to
the proper place. The problem is that SC outputs all X moves in Diameter,
and the G112 requires radial coordinates. We already have many many
programs programmed in diameter coordinates, so I would rather customize SC
to output the proper code than change my machine parameters or .SMF file
for one program. What comes to mind is to edit my milling .TMP file as
follows...

@DECLARE
#DEC #xmill

@LINE
G112 //Turn on Polar Conversion
#EVAL(#xmill=#XPOS/2)
X#xmill Y#YPOS
G113 //Turn off Polar Conversion

@ARC
G112 //Turn on Polar Conversion
#EVAL(#xmill=#XPOS/2)
X#xmill Y#YPOS
G113 //Turn off Polar Conversion

Does it sound like I'm on the right track, or is there a better way?

TIA, Dave


======================================================================
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]
======================================================================

Reply via email to