Trouble with Z axis touch off being unreliable
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.
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
Please Log in or Create an account to join the conversation.
[/quote]Are you using tool offsets?
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.
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 ?
Please Log in or Create an account to join the conversation.
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.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.
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.
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.It doesn't explain why if I re-touch-off after noticing this has gone wrong that it works again.
Rick G
Please Log in or Create an account to join the conversation.
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.
- LearningLinuxCNC
-
- Offline
- Platinum Member
-
- Posts: 327
- Thank you received: 61
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.