Duel motor/endstop on the Y
-
Good morning all,
I am trying to configure duel motor Y axis, each with their own endstop. I have been following https://duet3d.dozuki.com/Guide/Independent+Z+motors+and+endstop+switches/18?lang=en#content but struggling to get it working.
Does HomeAll.g call HomeY.g (where is am splitting Y into Y and U) or do i need to configure the Y/U split in HomeAll as well?
If it helps I have uploaded the relevent config files that i have been changing in order to try and get it working homey.g homeall.g config.g
Any pointers most welcome, for a bit of background its for a custom printer using lead screws on X, Y and Z and i need the 2 Y leadscrews to both hit their endstops so that they "square up" on the printer
Mark
-
@mark said in Duel motor/endstop on the Y:
Does HomeAll.g call HomeY.g (where is am splitting Y into Y and U) or do i need to configure the Y/U split in HomeAll as well?
It depends how homeall.g was created. If you generated it using the online configurator, then homeall.g does not call homey.g.
BTW if you use RepRapFirmware 3 then you no longer need to split Y into Y and U to home the two motors independently. However, upgrading to RRF3 requires substantial changes to config.g so should not be undertaken lightly.
-
@mark You can do it either way. The simplest way might be for homeall to call homey. But otherwise, you duplicate all the homey commands in your homeall. It depends on what else you want to to do in homeall and in what order.
Edit - was typing at the same time as DC
-
Thanks both,
@dc42 is there a guide on what changes need to be made when upgrading from RepRapFirmware 2 to 3?
@deckingman I might just copy the HomeY changes across to see if that helps me get it working for now.
I will let you know how i get on!
Thanks,
Mark
-
@mark said in Duel motor/endstop on the Y:
Thanks both,
@dc42 is there a guide on what changes need to be made when upgrading from RepRapFirmware 2 to 3?
https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview#Section_Summary_of_what_you_need_to_do_to_convert_your_configuration_and_other_files. But if you generated tour c=current config.g file using the online configurator, you can do that again, selecting RRF3 instead of RRF2.
@deckingman I might just copy the HomeY changes across to see if that helps me get it working for now.
If homing Y by itself is already working as you want it, that's probably the simplest solution.
I will let you know how i get on!
Thanks,
Mark
-
@dc42 said in Duel motor/endstop on the Y:
If homing Y by itself is already working as you want it, that's probably the simplest solution.
That's a good point, when i home Y only my Y end stop works but my U endstop does not. As the U is using the Z endstop pin (my Z motors are plugged into my duex5) do I have to do something to enable it (the LED on the board lights up when i press the end stop)?
Sorry for all the questions, I have been struggling with this all week.
Mark
-
@mark I'm struggling to remember here as I've converted to RRF3 and things are a lot different. But IIRC, in RRF2 end stops get assigned to axes in the order that axes are created and you can't change them (I think). Which means that the Z end stop input will only work on the Z axis. I think, for U you'll need to use the next available end stop after Z which is probably the first one on the Duex. Hopefully DC42 or someone else with a better memory than mine will confirm or correct what I've said.
-
@deckingman I appreciate your reply, I am starting this think I should just upgrade to RRF3 before i get all this working and then have to do it later.
-
@deckingman said in Duel motor/endstop on the Y:
@mark I'm struggling to remember here as I've converted to RRF3 and things are a lot different. But IIRC, in RRF2 end stops get assigned to axes in the order that axes are created and you can't change them (I think). Which means that the Z end stop input will only work on the Z axis. I think, for U you'll need to use the next available end stop after Z which is probably the first one on the Duex. Hopefully DC42 or someone else with a better memory than mine will confirm or correct what I've said.
The U motor will use the E0 endstop input.
-
@dc42 and @deckingman Massive thank you for your help, I swapped the endstop over to the E0 endstop and it now works.
Mark
-
@mark said in Duel motor/endstop on the Y:
@dc42 and @deckingman Massive thank you for your help, I swapped the endstop over to the E0 endstop and it now works.
Mark
Glad you are sorted.