Trouble with Z axis touch off being unreliable

More
20 Mar 2016 03:18 #71926 by Hypnotoad
I've had this issue where I home my axes, touch off on each axis, and start my CNC program and it seems like half the time the Z axis will be randomly off by an inch or so. It's always been off in the positive direction (cutting imaginary workpiece in mid air) so I just re-touch off the Z and start over and it's fine.

Tonight it rolled the dice and went negative into my vise. No real harm done (the end mill doesn't look so good) but it's really frustrating.

I don't know how to debug this or even how to detect that touchoff is wrong before I kick off the program. Help!

I'm using LinuxCNC/AXIS 2.5.0.

Please Log in or Create an account to join the conversation.

More
20 Mar 2016 05:12 - 20 Mar 2016 05:13 #71930 by Rick G
Might want to start by checking all your offsets on your machine and your program.
wiki.linuxcnc.org/cgi-bin/wiki.pl?CoordinateSystems
wiki.linuxcnc.org/cgi-bin/wiki.pl?Coordi...t_what_should_you_do
Are you using tool offsets?

I don't know how to debug this or even how to detect that touchoff is wrong before I kick off the program. Help!

I'm using LinuxCNC/AXIS 2.5.0.


After you touch off does the Z DRO read correctly?

Rick G
Last edit: 20 Mar 2016 05:13 by Rick G.

Please Log in or Create an account to join the conversation.

More
21 Mar 2016 03:50 #71960 by Hypnotoad

Are you using tool offsets?

[/quote]

Thanks for the reply.

Looking at my tool table, it appears I have Z offsets specified for a variety of tools. I clearly did not know what I was doing at that time. My CAM program is picking arbitrary tool numbers (I haven't bothered to figure out how to control this) and I imagine that explains the somewhat unpredictable results. It doesn't explain why if I re-touch-off after noticing this has gone wrong that it works again.
T1 P1 D0.125000 Z+0.511000 ;1/8 end mill
T2 P2 D0.062500 Z+0.100000 ;1/16 end mill
T3 P3 D0.201000 Z+1.273000 ;#7 tap drill
T4 P4 D201000 Z+0.375 ;2mm flat end mill (is this right?)
T5 P5 D201000 Z+1.5 ;3/4" end mill
T99999 P99999 Z+0.100000 ;big tool number

If I just zero out all the Z offsets in my table will that solve my problem? I'm not doing multi-tool programs right now, I just want to be able to grab an end mill, home, touch off, and press go.

Please Log in or Create an account to join the conversation.

More
21 Mar 2016 09:21 #71971 by cncbasher
firstly be sure it's not missing steps , this is usually the z axis moving down all the time .
just to remove that from the equasion
clear the tooltable between jobs , it could be your initialisation is not correct at the top of your gcode or in your ini file
what cam program are you using ?
The following user(s) said Thank You: Hypnotoad

Please Log in or Create an account to join the conversation.

More
21 Mar 2016 11:01 - 21 Mar 2016 11:05 #71981 by Rick G

I'm not doing multi-tool programs right now, I just want to be able to grab an end mill, home, touch off, and press go.

The problem there is that if you are going to say mill a 1" square the path the machine must take if you use a 1/8" bit or a 3/8" bit are different.
In your CAM program you can select what size mill to use and it will create the correct path for that bit. If you change mill size the path will have to be altered. You can do this in the CAM program or linuxcnc.

If you are always going to touch off with the tool you are going to use then leave the Z offset in the tool table as zero.

It doesn't explain why if I re-touch-off after noticing this has gone wrong that it works again.

If you have z offsets in your table and you touch off with one tool and do not change tools all is well, However if you touch off with one tool and then your program selects another tool a new z offset will be in effect until you touch off again.

Rick G
Last edit: 21 Mar 2016 11:05 by Rick G.
The following user(s) said Thank You: Hypnotoad

Please Log in or Create an account to join the conversation.

More
21 Mar 2016 15:25 #71988 by Hypnotoad

what cam program are you using ?


Fusion 360. It has an output processor for LinuxCNC. It doesn't insert tool change code correctly so I output separate programs for each tool and re-touch-off at the beginning of each program.


If you have z offsets in your table and you touch off with one tool and do not change tools all is well, However if you touch off with one tool and then your program selects another tool a new z offset will be in effect until you touch off again.


Got it. Will fix my tool table and see how it goes. Thanks guys!

Please Log in or Create an account to join the conversation.

More
24 Mar 2016 17:52 #72105 by LearningLinuxCNC


Fusion 360. It has an output processor for LinuxCNC. It doesn't insert tool change code correctly so I output separate programs for each tool and re-touch-off at the beginning of each program.


I use Fusion 360 and I use the EMC post processor and it works fine with tool changes. Are you sure you have your machine set up correctly for tool changes.

Also Fusion 360 does not assign random tool numbers to the tools they are specified by the user when the tool is set up in the library.

Please Log in or Create an account to join the conversation.

Time to create page: 0.100 seconds
Powered by Kunena Forum