-
Notifications
You must be signed in to change notification settings - Fork 42
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
Ganging using 4 drivers #13
Comments
I now have added a board profile and tentative support for both ganged/auto squared axes and TMC5160 stepper drivers. Since I do not have the hardware to verify these changes with I'll have to ask you to do that. Note that I have not added support for enabling SD Card and Trinamic drivers at the same time, try with Trinamic drivers first. |
Thank so much i'll get this tested in the next few days |
Got it compiled and flashed everything works except i cannot get the steppers to move. They seem to be recognized and i was able to change the amount of current going to them but I cannot get them to move at all. I've messed around with inverting the direction pins but that doesn't seem to be having an effect. Although i found if i enabled a pull-up on the reset button the steppers would move very slightly when i pressed the reset button. I could be missing some super obvious setting though. i've included the setting i have currently below % |
Try $4=7 |
That appears to have done it. What setting does that change? |
Motor enable signals - opposite of legacy Grbl where it is motor disable. |
Okay so i it seems to all be working except the motor ganging Y2 will only move in one direction no matter which button is pressed it always moves the same way, Y1 behaves normally. |
Is the pin definition for the Y2 motor direction correct? |
Yep just double checked against the default firmware and the grblHAL pins and they're all correct should be 32 for direction and 33 for step. |
Setting direction is done here: Lines 761 to 788 in 0f64293
Can you copy line 782 to below line 766 and try again? If not working then the pin is likely not set as output at startup as it should. |
Yeah no luck on copying the 786 to 766 had a shot at switching the driver pins to see if the issues move to the other driver it seems they always stay on that driver even if it's assigned to Y1. So yeah I guess it's likey the output pin is not set correctly at start up. Is there anything i can try to rectify that? |
Went back to GRBL ESP32 and the direction pin is working there so i assume there is some weird software thing going on somewhere. |
The pin is set as input due to an incorrectly sized variable, replace these lines with:
I guess I should make a "motherboard" for my Nucleo-64 BOB for testing... |
Works thanks so much. The Y2/A driver, however, seems to not like resetting after a reset the other drivers all work but the Y2 fails to come back up and needs to reset the controller too. Not a huge issue but i thought I'd mention it. Also is there any way to disable stealth chop which seems to be on by default on ZY1Y2 but not X |
It does not turn anymore?
Yes, basic configuration is in trinamic.h.
Did you see that in the Trinamic tuner tab in ioSender when querying the driver status? If so it disables StealthChop for the selected axis and reenables it when leaving the tab. |
It fails to respond to commands after a reset either manual or caused by an alarm and requires a full power cycle to bring it back online |
Ok, what happens if you send |
Got it disabled but i had to go into the tmc5160.h file to do it |
hmmm that brings them back but they have extreme vibrations and run terribly until i do a full reset |
I have fixed a number of bugs in the Trinamic code and just committed an update, hopefully this will fix your problems. |
That seems to have resolved all outstanding issues. Thanks so much for the help is there anywhere i can donate to support this project? |
How would i go about configuring a XYYZ set up using an individual driver for each motor. I'm trying to create a board board profile for the CNC xPro V5 based on this GRBL-ESP32 file. https://github.com/Spark-Concepts/xPro-V5-Firmware
The text was updated successfully, but these errors were encountered: