Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: dec@rocketmail.com on May 01, 2013, 06:46:24 PM
-
Hi all,
I am trying to get my head wrapped around tool offsets (we just installed our first ATC).
When I go to the Offsets screen and set the "Tool Offsets on/off" to "ON", I see the DRO display the correct Z value. But when I start a toolpath, it goes back to the standard fixture coordinates. I have added a Tool_Length_Offsets = YES line in my post processor, but no dice.
Any leads?
-
Does your g code issue a G49 during the initialization?
This turns off any current tool offsets.
Paul T.
www.springtest.com
-
Hi Paul,
Yes, in fact. I removed it and added a "G43 H__" after every M6 command (where H matches the preceding T__). Does this look right to you?
m103 G01 G40.1 G17 G80 G50 G90 G64
G20
(EHT_0.33Flat)
M6 T2 G43 H2
M03 S6000
G01Z1.000
G00X2.184Y0.093
Z1.010
G01Z0.316F30
X2.243Y0.075Z0.256F35
X2.247Y0.073
X2.248Y0.070
X2.250Y0.057
X2.252Y0.027
X2.253Y-0.010
X2.251Y-0.053
X2.248Y-0.100
-
Your code appears to be correct to me, single step thru it to make sure.