vlachoudis / bCNC

GRBL CNC command sender, autoleveler and g-code editor
GNU General Public License v2.0
1.57k stars 533 forks source link

Adding a new tool change policy -- TLO From Library #1177

Open pomeroyb opened 5 years ago

pomeroyb commented 5 years ago

Currently all tool change policies assume you either have a probe to check the length of each tool using a macro that replaces M6 (policy 2-3), or assumes that every tool is exactly the same length (No Probe, policy 4).

I'd like to bring up the idea of adding a tool library that enumerates tools and allows you to set TLO offsets manually -- something like we see in this video. Any system that uses repeatable collets (I personally use the TTS) would benefit from this.

sfinexer commented 5 years ago

https://github.com/vlachoudis/bCNC/issues/1001 Yes, that's right. And if there is no sensor that can be attached to the spindle?

pomeroyb commented 5 years ago

I'm confused... that issue doesn't seem to be at all related to this one? Tool lengths are manually measured and entered, and no sensor is necessary.

sfinexer commented 5 years ago

@pomeroyb I meant it, the link is given to the fact that it is necessary to use a sensor. But if there is no sensor, it is impossible to apply auto level.

You might use probe to scan your machine automaticaly. For your case the probe would be as simple as microswitch glued to old endmill or something. If you for some reason want to enter the compensation matrix manualy, then you can manualy create plaintext *.probe file and load it to bcnc.

pomeroyb commented 5 years ago

Having a tool length library does not prevent you from using a probe. The probe is also a tool that's overall length is inputted into the library, and any auto level measurements can be adjusted accordingly.

In your example, if the microswitch glued to an old endmill is placed into a tool holder (Like an ISO 40 or a Tormach TTS holder), the offset of that switch can be measured and is very repeatable.