Page 1 of 1

Tool setting macro

Posted: Tue Oct 10, 2023 7:09 pm
by wiremonkeyGuy
I have been converting a Laguan Swift router to acorn and has been working really well. I'm trying to add a fixed tool touch sensor. Being going over the tutorials as well as the larger thread with all the tool setting options macros. I feel very close but I'm tripped up with the offset. When I change tools the zero is off by about an inch.

What I would like to do is insert and measure a tool. Then set the tool to the spoilboard. The TT is mounted below the spoil board level. It's a spring type electronic one. When I change tools I would like it to set the offset to the spoilboard again. This seems to be where something goes wrong and I'm pretty sure it has to do with perameter 71. Not sure how to come up with a number.

Right now I'm working with the mfunc6FixedToolTouchOff.mac from this thread.

https://centroidcncforum.com/viewtopic.php?f=63&t=1493

Any help would be greatly appreciated.

Re: Tool setting macro

Posted: Tue Oct 10, 2023 9:35 pm
by Ken Rychlik
I have a macro to measure the tool, and it can be used in the M6 or not. I have a macro that sets the height of the switch offset to the spoilboard, so all tools are set there when measured. The macro's might confuse you but if you study them, you can apply them to your machine. macro 49 is calibrate switch to spoilboard. Macro 28 is Measure tool. M6 also included for reference. Mine uses param 251 instead of 71, you can change as needed, and the input may be different on yours for the tool measure switch. I change limits before and after tool measure and then it won't hit the switch on a normal file. Feel free to pm me if you want help making it work.

Re: Tool setting macro

Posted: Wed Oct 11, 2023 11:57 pm
by cnckeith
Ken Rychlik wrote: Tue Oct 10, 2023 9:35 pm I have a macro to measure the tool, and it can be used in the M6 or not. I have a macro that sets the height of the switch offset to the spoilboard, so all tools are set there when measured. The macro's might confuse you but if you study them, you can apply them to your machine. macro 49 is calibrate switch to spoilboard. Macro 28 is Measure tool. M6 also included for reference. Mine uses param 251 instead of 71, you can change as needed, and the input may be different on yours for the tool measure switch. I change limits before and after tool measure and then it won't hit the switch on a normal file. Feel free to pm me if you want help making it work.
cool.

what reference point position are you using to measure from?

Re: Tool setting macro

Posted: Thu Oct 12, 2023 7:34 am
by Ken Rychlik
Keith, you can choose any reference point you want any place on the table. I use top of spoilboard and adjust any bit to the surface manually anywhere on the table. If someone wants to use top of material, it will do that as well. Wherever your current bit height is, that is measured and stored. I have a Custom button to run that macro, but you can enter it in the mdi. It stores the current height, then goes to your TM SW and gets that height. It takes that difference and stores it as your offset for future bit changes. If you resurface (flycut) your spoilboard, you re calibrate, or change it with another macro that changes the stored offset by .010 each time you run it.

Re: Tool setting macro

Posted: Thu Oct 12, 2023 5:14 pm
by cnckeith
cool. if you have a good repeatable Z home position i like to use that as a reverence point to measure from. then all the tool lengths are a easy to understand value (the distance from Z home to the top of the tool setter) and easy to make sense of when looking at the tool library. at least that is the way i like to set it up.

Re: Tool setting macro

Posted: Fri Oct 13, 2023 3:13 am
by tmadrms
This thread just saved me from an upcoming weekend of insanity. Ken's macros are exactly what I was after. Thank you for sharing!

Re: Tool setting macro

Posted: Fri Oct 13, 2023 8:41 am
by Sword
Swissi's Probe App is another excellent option.

https://centroidcncforum.com/viewtopic.php?f=60&t=6149

Re: Tool setting macro

Posted: Sun Oct 15, 2023 5:34 pm
by wiremonkeyGuy
Thanks for these macros. Will try them out this week. Theoretically my Z won't change after I surface it.

Re: Tool setting macro

Posted: Sun Oct 15, 2023 5:35 pm
by wiremonkeyGuy
Sword wrote: Fri Oct 13, 2023 8:41 am Swissi's Probe App is another excellent option.

https://centroidcncforum.com/viewtopic.php?f=60&t=6149
I was planning on using it and reached out to Swissi but never heard back.