-
-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST]grblHAL tool changer support #269
Comments
No, and if the machine has a tool changer and support code for it then no changes are needed for the WebUI. The tool change protocol is for manual or semi-automatic tool changes where the tool itself has to be changed by hand, and the touch-off for setting the correct position is either manual or automatic. All modes works by the controller changing the state to When WebUI detects the 'Tool' state it should change the Pause/Resume button to Pause state so that a cycle command can be sent. This is enough to support the protocol as I belive jogging and zeroing the offsets can be done at all times from the WebUI. For more a more advanced implementation you may consider adding status markers (similar to the Input pins markers?) to indicate that the tool length reference has been set with the FYI Stefan Bauer, @S2000Stefan, has made some nice YouTube video tutorials for ioSender, among them one for tool changes. A small program with tool changes: |
sorry my question was more what do I need to do to add tool changer to my cnc ? because today I do not have any
Ho ok I was thinking grblHAL support same as this one https://www.youtube.com/watch?v=3ikLcC5NidU in grbl_ESP32
Thank you I will have a look to these
Great I will check these also - thank you |
You have to make or buy one - and then write a plugin to handle the motions involved. I have a Kress spindle in my machine, and the ATC and tool holders are very expensive so not something I would consider for my hobby use. But sure I would like to have one... One day I might write a configurable plugin for ATCs - but I would need a test setup for debugging/testing. |
Thank you the ATC and tool holders are very expensive information what was I needed ^_^ |
Don't know if I should file a separate bug, but with V3, when grblHAL goes into TOOL state, the GUI doesn't notice that is is a form of HOLD mode, and the pause button stays a pause button instead of changing to a play/resume button. So, no way to resume. |
as you see this is still in feature request, tool change is not yet implemented to mitigate you can add a macro button with command to resume |
That is fine. I couldn't figure out if this FR is only for semi auto/auto tool change, or for all tool change. |
tool is specific feature of grblHAL and I need to spend time on understand it to implement ui properly |
@luc-github I believe it should not be too difficult to implement as the WebUI runs gcode stored on the SD card - stream switching is taken care of by the SD card implementation. |
@terjeio thank you for the explanations, I did not had time to experiment tool state yet.
I will check this - it is indeed simple to implement, I just need to track I send only one ack |
@errolt @terjeio sorry for the delay - I was busy on others topics, here the implementation of the support of Tool state as described above Please give a try , let me know if any other change are necessary |
I do not have a machine to test with, however a dry run looks good to me: Even the message that can be associated with a tool change is displayed. 👍 @errolt can test with a machine? |
@terjeio I have a question - sorry I did not digged in grblHAL to grab the solution... Other user case: Any issue for getting a new 0xA3? I could ignore the change state if just opening webui but if webUI is open after any Tool state change ack is sent, webui do not send 0XA3, and so the 0xA3 will be never send It can be an edge case but because of Murphy law... |
@luc-github Sending more than one ack should have no ill effects since it is waited for after the state transitions to Tool. When the ack is received after the transition the wait is terminated and further acs are ignored. |
Perfect! thank you 😸 |
Will do, but might only happen over the weekend. |
Looks good. Can't do a probe, but that is ok. I can use jog to touch off manually. Thanks! |
Do you mean probe panel is not working ? is something wrong ? |
I'm sorry. I should have been clearer. I was testing the jogging during Tool change state. In that state probing gives an Error 40, if I recall correctly. Something like "Only $ commands allowed". And I couldn't find any info in the grblHAL on if a probe can be done during a tool change. Jogging and zeroing works great though. |
@terjeio is that expected behavior ? |
See here. Before starting streaming the gcode probe the workpiece, or a fixture, on a fixed position and set the initial tool reference with
Yes. However, I can change the code to allow G38.x, but not sure if that will be helpful as a probe should change the tool offset to match the new tool? FYI in ioSender I have "LED" indicators showing if the controller has the tool length reference set and if a tool length offset is active. |
I guess it can be close as original topic is implemented |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Per suggestion of @terjeio #252 (comment)
webui need to support grblHAL style tool change handling
here the operations: https://github.com/grblHAL/core/wiki/Manual,-semi-automatic-and-automatic-tool-change
@terjeio do you have some hardware suggestion for the tool changer ?
I need to setup one to understand the constraints
Also do you have any expectation of UI or actions you want to have in WebUI ?
As CNC newbie I need some advices 😸
The text was updated successfully, but these errors were encountered: