Homing issue - Cartesian with dual Y motors
-
You may have to wait for @dc42 to reply to resolve this; I don't have a Duet 3 and expansion board to test. He's away in Germany this week.
However, if you got it working the other day, I'd suggest that you manually typed in something that corrected the issue, that didn't get updated to config.g or your macros. Retrace your steps! Perhaps:
@too said in Homing issue - Cartesian with dual Y motors:
Actually, after looking again I realised I got a "Error: M574: Pin 1.io1.in is not free" In the console.
After changing the two endstops to a different IO port it shows up in the machine specific section as triggered and the axis homes just fine.Ian
-
@droftarts I have tried all the other pins on the expansion board, with no success. I will try and replace the board to see if that might change something - It did work for a while after all..
Let's see what @dc42 says when he's back.
-
I have now replaced the expansion board that controls the two Y motors + their endstops, but stil can't make the homing on the Y axis work.
@dc42 Could it be an issue in the firmware? Have you tested the dual motor + dual endstop on an extension board?
-
@too I'm curious as to how you want this to work. If you have 2 Y motors and two end stops, I'd assume that you have one motor and one end stop at each end of the axis yes? If so I'd also assume that want to be able to move both motors until one or other end stop triggers, then move each motor in turn until each individual end stop triggers, so that both end stops are triggered yes? If that's the case, then I think the only way to do that is to create another axis, say U. Then you spilt the motor mapping and assign one motor to Y and the other to U. Then move both Y and U together until one or other end stop triggers, then move Y and U independently so that both end stops trigger. Then finally re-map both motors to back to Y.
But I don't see any axis other than Y defined in your config.g . Unless I've missed something, I can't see how else you could move Y using 2 motors until both end stops trigger. Can you post your latest config.g in full as well as your homing files.
Edit - answered my own question when I re-read the overview for RRF 3 which states that it is not necessary to split axes during homing.
-
@too said in Homing issue - Cartesian with dual Y motors:
I have now replaced the expansion board that controls the two Y motors + their endstops, but stil can't make the homing on the Y axis work.
@dc42 Could it be an issue in the firmware? Have you tested the dual motor + dual endstop on an extension board?
Please post your complete config.g and homing files, and I will try to reproduce this.
-
@dc42 here you go
config (3).g
homex.g
homey.g
homez.g -
@dc42 any updates?
-
@dc42 Sorry if I am being annoying, but did you guys look into this yet?
-
Have you re-tested this using RRF 3.0RC1 on both the main board and the expansion boards? I think it is probably fixed.
There is one remaining known issue with endstops, which is that an endstop connected to the main board will not stop a motor connected to an expansion board unless a motor connected to the main board is moving too.
-
@too, please test again with release 3.0 stable.