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
Dual Axis 1.1h build - Spindle enable problem #828
Comments
Looking in the source code I saw that the spindle enable pin cannot be used with dual axis because Coolant Enable uses Pin D13. I came up with the following idea:
To do so I came up with the following changes in the code. Would this make sense? /################ config.h Changes - Begin ####################### Line 642: /################ cpu_map.h Changes - Begin ####################### Line 189: |
It is now working I share Limit pin X1 and Y on Pin D09 and X2 and Z on D12. D10 is used for spindle enable . I had to changes config.h, cpu_map.h and grbl.h. Here are the changes I needed: Line 327: (Uncomment) Line 663: (Uncomment) /################ cpu_map.h Changes - Begin ####################### Line 189: /################ grbl.h Changes - Begin ####################### It is working great and I'm now able to use my spindle with a self-squaring gantry. /################ config.h Changes - Begin ####################### Line 327: (Uncomment) Line 361: (Uncomment) Line 663: (Uncomment) /################ cpu_map.h Changes - Begin ####################### Line 189: /################ grbl.h Changes - Begin ####################### Even with my limited the code is quite simple to understand and modify to suits our needs! This is working for my machine but might not for another machine so use this with caution. |
This is very similar to what I was looking to do, but I have dual axis on Y. I think by default it says to share the dual axis limit with Z, so you could keep the Z home, and X/Y home sequence. I was going to change the Coolant Flood (Dig pin 13) to Spindle Enable. I will give your changes (modified to suit my situation) a try. |
I installed GRBL 1.1h with dual axis for Protoneer shield.
The problem I now have is that the D13 pin is now for coolant but I need it for spindle enable because I don't have coolant and I control my spindle using a SuperPID.
My previous installation was using USE_SPINDLE_DIR_AS_ENABLE_PIN switch in config.h. And it worked great. If I use this switch AND ENABLE_DUAL_AXIS switch, will D13 pin be for spindle enable? If not, how would I do that?
Thanks
The text was updated successfully, but these errors were encountered: