Tool length sensor firmware issue

@chrismakesstuff

Ok , so let me just give a brief idea of how the TLS is setup and that may make better sense .

I got Tls properly wired up and set in position on my wasteboard . In gsender , I select the “fixed tool probe option . Jog over it , selecting “ grab current location “

Now I home machine , load new file that calls for 3 bit changes . I have x0y0 already set , so I go to . Using the probe block as a first probing , set the magnet , probe for z0 per wizard . All set .

Start file runs perfectly . As it finishes the spindle goes over pause over the TLS , per wizard , I touch off the tool before changing to the 2nd bit , it proves then I change the bit , proves that bit on the Tls , then I press resume .

And this is where the z triggers a soft alarm . Soft alarm disabled it will then just trigger hard stop, and if I disable hard stops as well , it will raise as high as it can triggering the estop .

What I think is happening is grbl is trying to raise the z height using inches instead of mm . I do have inches set in the firmware , but that doesnt seem to matter ,

A work around I found is with $13 in the firmware disabled the tls works perfectly . The results are repeatable going back and forth over and over .
I hope this helps clarify what I was seeing .
Thanks for replying back .