Multiple y axis endstops issue
-
I have a y axis with 2 motors in which im triyng to use 2 endstops (one per motor). When i home the printer in the y axis only one motor turns. Am i missing something?
Here is my config
M584 X4 Y1:2 Z9:8 E0 U2 ; set drive mapping M569 P0 S0 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes FORwards M569 P3 S0 ; physical drive 3 goes forwards M569 P5 S0 M569 P6 S0 ; physical drive 3 goes forwards M569 P7 S0 ; physical drive 3 goes forwards M569 P8 S0 ; physical drive 3 goes forwards M569 P9 S0 M350 X16 Y16:16 Z16 E16 U16 I1 ; configure microstepping with interpolation M92 X816.5 Y793.4:793.4 Z626.4 E100.00 U793.4 ; set steps per mm M566 X500.00 Y500.00:500.00 Z60.00 E120.00 U500.00 ; set maximum instantaneous speed changes (mm/min) M203 X600.00 Y600.00:600.0 Z180.00 E1200.00 U600.0 ; set maximum speeds (mm/min) M201 X25.00 Y25.00:25.0 Z20.00 E250.00 U25.0 ; set accelerations (mm/s^2) M906 X800 Y800:800 Z800 E800 U800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 U0 Z0 S1 ; set axis minima M208 X300 Y600 Z500 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop+!e0stop" ; configure active-high endstops for low end on Z via pins zstop and e1stop M574 Z1 S2 ; configure Z-probe endstop for low end on Z
Here is my homey.g
G90 ; absolute positioning M584 Y1 U2 P4 ; split two Y motors G91 ; relative positioning G1 H2 Z5 F6000 ; lift Z relative to current position G1 H1 Y-905 F1800 G1 H1 U-905 F1800 ; move quickly to Y axis endstop and stop there (first pass) G1 H2 Y5 U5 F6000 ; go back a few mm G1 H1 U-905 F360 G1 H1 U-905 F360 ; move slowly to Y axis endstop once more (second pass) G1 H2 Z-5 F6000 ; lower Z again M584 Y1:2 P3 ; re-join Y motors G90 ; absolute positioning
-
@Drak A very quick glance shows me that you are using colon separated values for things like speed, acceleration, jerk etc, for the Y axis. This is incorrect as they are applied per axis, not per motor. Colon separators should only be used where you have multiple extruders because they are treated as individual axes. Remove those and see how you get on.
-
@Drak if your aim is to move both motors at the same time while homing then your homing file is wrong.
G1 H1 Y-905 F1800 G1 H1 U-905 F1800
these 2 lines will move one motor first and then the other.
They should in case beG1 H1 Y-905 U-905 F1800
of course if you're running RRF3 and you aren't going to individually adjust the endstop positions, there no need to split the axis into Y and U and you can just home them as Y with 2 endstops. see here https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_auto_levelling#axis-levelling-using-endstops
-
Thank you,
I have that in my config but does it need to go in my homey.g also?M584 X4 Y1:2 Z9:8 E0 U2 ; set drive mapping M569 P0 S0 ; physical drive 0 goes forwards M569 P1 S0 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes FORwards M569 P3 S0 ; physical drive 3 goes forwards M569 P5 S0 M569 P6 S0 ; physical drive 3 goes forwards M569 P7 S0 ; physical drive 3 goes forwards M569 P8 S0 ; physical drive 3 goes forwards M569 P9 S0 M350 X16 Y16:16 Z16 E16 U16 I1 ; configure microstepping with interpolation M92 X816.5 Y793.4:793.4 Z626.4 E100.00 U793.4 ; set steps per mm M566 X500.00 Y500.00:500.00 Z60.00 E120.00 U500.00 ; set maximum instantaneous speed changes (mm/min) M203 X600.00 Y600.00:600.0 Z180.00 E1200.00 U600.0 ; set maximum speeds (mm/min) M201 X25.00 Y25.00:25.0 Z20.00 E250.00 U25.0 ; set accelerations (mm/s^2) M906 X800 Y800:800 Z800 E800 U800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 U0 Z0 S1 ; set axis minima M208 X300 Y600 Z500 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"!ystop+!e0stop" ; configure active-high endstops for low end on Z via pins zstop and e1stop M574 Z1 S2 ; configure Z-probe endstop for low end on Z
-
@Drak no, in whichcase theres no need to have any U axis information in your config or to split the axis into Y and U in homing
-
Simplified
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X816.5 Y793.4 Z626.4 E100.00 ; set steps per mm M566 X500.00 Y500.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X600.00 Y600.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X25.00 Y25.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
Then in your homing file you only need
G1 H1 Y-905 F1800
-
@Phaedrux Thank you it worked
-
-