Currently there isn't a way to do what you want.  I had asked a while 
back and one of the developers had produced this untested patch..  This 
was in 2010 so I don't know how much it applies to the current code.

diff --git a/src/emc/task/emccanon.cc b/src/emc/task/emccanon.cc
index 6f36a75..e8f3ff4 100644
--- a/src/emc/task/emccanon.cc
+++ b/src/emc/task/emccanon.cc
@@ -1797,9 +1797,9 @@ void CHANGE_TOOL(int slot)
          x = FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.x);
          y = FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.y);
          z = FROM_EXT_LEN(TOOL_CHANGE_POSITION.tran.z);
-        a = FROM_EXT_ANG(TOOL_CHANGE_POSITION.a);
-        b = FROM_EXT_ANG(TOOL_CHANGE_POSITION.b);
-        c = FROM_EXT_ANG(TOOL_CHANGE_POSITION.c);
+        a = canonEndPoint.a;
+        b = canonEndPoint.b;
+        c = canonEndPoint.c;
          u = FROM_EXT_LEN(TOOL_CHANGE_POSITION.u);
          v = FROM_EXT_LEN(TOOL_CHANGE_POSITION.v);
          w = FROM_EXT_LEN(TOOL_CHANGE_POSITION.w);

I never gotten around to trying it.  It makes it so that none of the 
rotorys move during a tool change.  I am sure there are other ways too - 
to the simple as moving the axis in gcode before the tool change - to 
the more complicated gcode remapping.

http://linuxcnc.org/docs/devel/html/remap/structure.html

sam

On 11/27/2012 9:27 AM, Kasey Matejcek wrote:
> Is there a way I can prevent my A axis from moving when I do a tool change
>
> I have the TOOL_CHANGE_POSITION = 0 0 0 in the ini file I left the forth
> zero off doesn't help
>
> Right now I running a part and the A axis get wond up to 900 deg then it
> does a tool change it unwinds it to zero
>
> Then after the tool change winds backup to 900 deg and start machining again
> it take a long time that I would like to elemenate
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to