Page 1 of 1

Saving current Z position into the tool length table.

PostPosted: Mon Oct 26, 2020 8:18 pm
by zerodivide
So the way tool offsets work in other controls is you call the tool you need.
Then jog the tool to the top of gauge block/part top/etc and hit the button "Write offset"
that saves the current machine Z position into the current Tool offset number.

Is there something like this in uccnc? Because I am missing it and currently have to remember the values and enter them manually.

Also, do UCCNC input fields at least allow copy/paste functionality?

Re: Saving current Z position into the tool length table.

PostPosted: Tue Oct 27, 2020 10:51 am
by dezsoe
A macro can be written to automatically set the tool length. Enable the On-screen keyboard plugin: with that you can copy/paste values.

Re: Saving current Z position into the tool length table.

PostPosted: Wed Dec 16, 2020 4:18 am
by zerodivide
Howdy guys,
Ended up writing a plugin to do just that:
https://github.com/swindex/UCCNCMachineZToolSet

when you click on the Tool Z Offset field, a little popup shows.
Click OK and it writes the current Machine Z into the field.
YMMV
Image

Re: Saving current Z position into the tool length table.

PostPosted: Sun Jan 15, 2023 1:12 am
by hacker77
I can't seem to get this to work with the new version of UCCNC 1.2115 Firmware ver 1.0370.
When I try to enter numbers into the tool slot the POPUP screen you refer to flashes then disappers and the program freezes.
Didn't see a new updated version on your github page.
Thanks Richard

Re: Saving current Z position into the tool length table.

PostPosted: Sun Jan 15, 2023 1:55 pm
by dhanger
If you have the on screen keyboard plugin enabled you don't need any macro, just type in 'MZ' into the keyboard field, hit enter and it will write the current Z machine coordinate into the tool offset field. Same with 'MX' and 'MY' although you wouldn't use those for tool length of course.

Dan

Re: Saving current Z position into the tool length table.

PostPosted: Fri Jan 27, 2023 2:06 am
by hacker77
Thanks got it working correctly. :D

Re: Saving current Z position into the tool length table.

PostPosted: Wed Mar 29, 2023 8:03 pm
by Abakker
I'm trying to get this to work as well. Keyboard plugin is working, tool z plugin is on, and when i click in the tool table field, I get the tiny window to flash and then it freezes. @Hacker77, can you post your solution? it seems you had the same problem.