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