Duet Wifi RR3 Endstop Config issue
-
Hi all, I'm having some hard time with my CoreXY printer which is finally working and able to print but my Y axis is flipped and I discovered the reason:
my homing (config working with Y flipped) is on the backword left, which is not compatible with standard slicers config where X1-Y1 are located to the bottom Left:
My Config
X-Min,Y-Min ------- X-Max,Y-Min1
X-Min,Y-Max ------- X-Max,Y-MAX; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S0 ; physical drive 3 goes backwards E3D HEMERA M584 X0 Y1 Z5:6:7 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z1666.00 E409.00 ; set steps per mm M566 X750.00 Y750.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X600.00 Y600.00 Z30.00 E250.00 ; set accelerations (mm/s^2) M906 X1600 Y1600 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X400 Y425 Z520 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" ; configure active-high endstop for high end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z
Now looking at documentations and forum to get my Y-Min (Y1) positioned on my front left should be pretty easy by modifying my M574 command for Y endstop as following:
; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z
Except for the fact that my duet wont accept that and when I try to home the Y axis does nothing other than messaging "G28 Error: Failed to enable endstops" and "G28 Error: homing failed"
The hardware and electronic part works perfectly, in fact I can print and home consistently with my old config which has Y axis flipped.
Does anyone knows if I'm missing something?
-
@eman74
the second correct code mode I was meant to write is; Endstops M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z1 S2 ; configure Z-probe endstop for low end on Z
-
See here for some setup and to do some motor direction tests to get those moving correctly first.
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter
The assumption is that 0,0 is the front left corner of the bed. -x moves left, +x moves right, -y moves forward, +y moves back.
The endstop position is defined in M574 at either the - side of travel (low end) or the positive side of travel (high end).
Then the homing direction is controlled by the homing files and should move towards the endstop.