Tool setting macro

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
wiremonkeyGuy
Posts: 3
Joined: Sat Jul 22, 2023 8:55 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Tool setting macro

Post 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.
Attachments
mfunc6FixedToolTouchOff.mac
(9.65 KiB) Downloaded 10 times


Ken Rychlik
Posts: 544
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool setting macro

Post 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.
Attachments
mfunc6.mac
(800 Bytes) Downloaded 36 times
mfunc28.mac
(1.38 KiB) Downloaded 31 times
mfunc49.mac
(1.86 KiB) Downloaded 32 times
Ken


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Tool setting macro

Post 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?
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


Ken Rychlik
Posts: 544
Joined: Wed Jan 23, 2019 4:19 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5B92C3A-0213236854
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool setting macro

Post 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.
Ken


cnckeith
Site Admin
Posts: 8942
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Tool setting macro

Post 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.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


tmadrms
Posts: 4
Joined: Tue Feb 21, 2023 12:26 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 80F5B5AA2D3E-1216226758
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool setting macro

Post 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!


Sword
Posts: 836
Joined: Fri Nov 30, 2018 1:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Thorp WI

Re: Tool setting macro

Post by Sword »

Swissi's Probe App is another excellent option.

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


wiremonkeyGuy
Posts: 3
Joined: Sat Jul 22, 2023 8:55 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool setting macro

Post by wiremonkeyGuy »

Thanks for these macros. Will try them out this week. Theoretically my Z won't change after I surface it.


wiremonkeyGuy
Posts: 3
Joined: Sat Jul 22, 2023 8:55 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Tool setting macro

Post 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.


Post Reply