# Toolsetter question

**URL:** <https://forum.onefinitycnc.com/t/toolsetter-question/26960>\
**Category:** Uncategorized\
**Created:** [May 11, 2024, 1:45am UTC](https://forum.onefinitycnc.com/t/toolsetter-question/26960 "2024-05-11T01:45:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [May 11, 2024, 2:44am UTC](https://forum.onefinitycnc.com/t/toolsetter-question/26960/2 "2024-05-11T02:44:30Z")

</div>

Hey Bill,

you know from my private e-mail that I have so much to do at the moment, however what you try to do is on my list for the buildbotics-derived Onefinity controller: To implement a g-code tool setter algorithm for recording bit length on tool change events on the buildbotics-derived controller. It should not be difficult, it is just required to use a variable (variables are called [“parameters”](https://linuxcnc.org/docs/html/gcode/overview.html#sec:overview-parameters) in g-code) and to store a value from the last tool change in a [user parameter](https://linuxcnc.org/docs/html/gcode/overview.html#sub:numbered-parameters), and there would be an initial tool change required, even if the tool is already in the spindle, just to record the initial tool length of the first tool. Unfortunately unlike other CNC controllers (like the Masso controller), the Buildbotics does not remember values over a power down or an estop.

> [@Tool changes And Z Height](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/52):
>
> Mike Bogart @BNB187 wrote this [Bit setter macro v2.0](https://forum.onefinitycnc.com/t/bit-setter-macro-v2-0/2757) ([updated version](https://forum.onefinitycnc.com/t/bit-setter-macro-v2-0/2757/42)) that you can enter into the ‘program-start’ and the ‘tool-change’ fields of the SETTINGS page. I have not tested it. He doesn’t use the tool table but stores the tool lengths in g-code user parameters (#31–#5000). He also wrote a [‘tool-change’ routine](https://forum.onefinitycnc.com/t/measure-tool-button-on-home-screen/4497) similar to [mine](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/29).

Recently @Makermatt tried to combine my [Aiph5u’s tool change routine](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/29) with Mike @BNB187’s [Bit Setter Macro v2.0](https://forum.onefinitycnc.com/t/bit-setter-macro-v2-0/2757) ([updated version](https://forum.onefinitycnc.com/t/bit-setter-macro-v2-0/2757/42)) in

→ [this thread](https://forum.onefinitycnc.com/t/tool-changes-and-z-height/7715/53).

Unfortunately I did not yet find the time to analyze Makermatt’s tool change routine but he reports that it works for his RapidChange tool change system, but should work for manual tool change also, with popup windows requesting the correct bit by number.

A script like this would use entries both in the ‘program-start’ and the ‘tool-change’ input fields of the SETTINGS page. You may have a look 🙂

---

_[View the full topic](https://forum.onefinitycnc.com/t/toolsetter-question/26960)._
