TLAR's Smart Tool Change, A tool Change for the rest of us!
Вставка
- Опубліковано 10 лют 2025
- Here is my M6 tool change macro for Mack4
The script is too long to put it here so here's a link to it.
Just copy and paste it into your M6. Remember to fill out the user inputs.
docs.google.co...
Your Google Doc missed the whole "local ProbeSpeed" line. I am going to try this script this weekend, I have been struggling with my m6 macro for about a year. Thanks for sharing!
great video, thanks for sharing, I just moved from mach3 to 4, and having issues with pendant or MPG whis is a USB XHC whb04b-4
Hi,
I want to purchase CNC at the hobby level, and I want to be able to make my own kitchen cabinets and more. I want to be able to load 4 by 8 sheets. Which brand and software do you recommend? I appreciate your help.
nice to meet you.
I am also using Mach4.
I have copied and pasted your program.
Next, I used Mach4's MDI, but the milling machine did not work.
Please tell me how to deal with it.
Great job. Thanks for sharing.
great job, thanks for sharing . best regards for France ;-)
from France ;-)
This might be a stupid question, how do you compensate for the touch plate thickness.. I can’t figure it out for the life of me. Thank you!
If you're using my m6 script, you don't need to tell it your touch plate thickness, it doesn't really matter because if how the script functions.
@@TLARinc thank you so much for the reply. I am using your script. When the g-code is invoked “ G43H..Z0” the tool hovers on top of the material with an offset of the touch plate thickness. I could offset in the negative direction my G-code, but I will increase the chances of bottoming the tool in the machine if or when something goes wrong. Thanks again! And awesome job!
Will the script work OK if Mach4 is in metric?
Yes it'll work. The script doesn't contain any units just numbers so 5 will be either 5 inches or 5 cm.
The M6 needs to be changed in both places to m6
No it doesn't. M6 works just fine.
@@TLARinc I'm not sure when Mach4 changed but with the newer releases it is necessary. I copied and tried your mcs and it would not run. Changed the M6 to m6 and it ran. see: www.machsupport.com/forum/index.php?topic=43073.msg279195#msg279195
As far as I know Mach 4 is capitalization agnostic. BUT, I do not run the latest update. Thanks for the link and hopefully if someone is having an issue they'll see your comment.
@@TLARinc I didn't see the comment, discovered the hard way. Set to lower case and it works. Updates are fun.
Hi. I'm not able to get this to work. Is there any settings in Mach4 I have to change? I use Smoothstepper ESS. It doesn't matter if I set ManualChange to true or false. The "CycleStart" stops at M6 command and flashing the screen once. You can mail me micke(at)ludwigsson.se if you have any idea what to do.
Thanks!
It could be alot of things, start with your pin setting in ESS and Mach4 control, then follow the video again.
@@TLARinc hehe I asked as the user Borlänge Musikteater. Sorry for that. I continue as Micke Ludwigsson.
When you mean the pin configs in the video, do I have to change this physical at the board or do I only change the "values" in config settings?
In Mach 4 you have to tell the ESS plugin what input pin you connected your touch plate to, then in Mach 4 inputs you gave to tell if to look at the plugin for that input. It's confusing. I have so many video ideas to make Mach 4 better but to time.
@@TLARinc
Sorry for the long answer....
Hehe I agree. That I have set in ESS config is Input Signals to PROBE 1 (G31.1), Mach mapping ESS. mapped pin {P1-15} and in the Probing tab checked Probe 1. In Mach4 config the Input Signals is Probe 1pointing to device ESS {P1-15}.
If I do Edit/debug Macro scripts from Mach4 the script works well.
I'm missing something but I can't figure it out.
This is what the log says when pressing Cycle Start:
2021-01-12 11:33:32.365 - API: mcCntlCycleStart(inst = 0) (unknown caller)
2021-01-12 11:33:32.467 - Attempt transition from "Idle" on event "Cycle Start" machapi.cpp:3039
2021-01-12 11:33:32.467 - S_IDLE_on_exit
2021-01-12 11:33:32.467 - Signal id 1172, (Machine Idle), changed from HIGH to LOW.
2021-01-12 11:33:32.468 - ACTION_start_cycle
2021-01-12 11:33:32.468 - SoftSync()! Clearing planner. command.cpp:343
2021-01-12 11:33:32.468 - S_FILE_RUNNING_on_entry
2021-01-12 11:33:32.468 - SoftSync()! Clearing planner. stateinterface.cpp:850
2021-01-12 11:33:32.468 - S_FILE_RUNNING2_on_entry
2021-01-12 11:33:32.469 - Signal id 1114, (Gcode Running), changed from LOW to HIGH.
2021-01-12 11:33:32.469 - !!!!TMC3in1/VERSION Register HANDLE FAILURE !!!!!!
2021-01-12 11:33:32.497 - Signal id 1121, (Tool Change), changed from LOW to HIGH.
2021-01-12 11:33:32.498 - >>>>> ESS received a Tool Change Required notification.
2021-01-12 11:33:32.503 - >>>>> ESS received a Tool Change Done notification.
2021-01-12 11:33:32.503 - Signal id 1121, (Tool Change), changed from HIGH to LOW.
2021-01-12 11:33:32.504 - >>>>> ESS received a Tool Change Done notification.
2021-01-12 11:33:33.009 - Attempt transition from "File Running" on event "Stop" gcodeexec.cpp:1026
2021-01-12 11:33:33.009 - S_FILE_RUNNING2_on_exit
2021-01-12 11:33:33.009 - S_FILE_RUNNING_on_exit
2021-01-12 11:33:33.009 - Signal id 1114, (Gcode Running), changed from HIGH to LOW.
2021-01-12 11:33:33.009 - ACTION_stop
2021-01-12 11:33:33.039 - S_IDLE_on_entry
2021-01-12 11:33:33.058 - Signal id 1172, (Machine Idle), changed from LOW to HIGH.