New to Duet. Need help with sensorless homing.

  • I believe I've successfully configured the X axis. I've copied the X axis g-code to the Y axis but I'm not getting the same result. The Y axis hits the limit and then continues and skips.

    My printer is a CoreXY. Hypercube for those familiar.

    Here is my homey.g config:

    ; homey.g
    ; called to home the Y axis
    M400 ; make sure everything has stopped before we make changes
    G1 Y-30 F8000 S2 ; move from Y0
    ;G1 Z1 F6000 ; Lift Z
    M574 Y1 X1 S3 ; set endstops to use motor stall
    M574 Y2 S3 ; set endstops to use motor stall
    M913 Y50 X50 ; drop motor currents to 50%
    M915 Y S3 R0 ; set sensitivity to +3 unfiltered
    G91 ; use relative positioning
    G1 Y-205 F3000 S1 ; move Y all the way left and stop at end
    M913 X100 Y100 ; motor currents back to normal
    G92 Y0 ; set Y0 at edge of glass

    Please forgive me if this is not sufficient information. I am new to duet and this forum.

  • administrators

    On a CoreXY printer, when homing either X or Y you don't know which motor will stall first, because both motors are involved. So you must set M915 stall parameters for both motors (and reduce the current on both motors, which you are already doing).

    Which firmware version are you using? The original implementation of stall detect homing didn't work on CoreXY printers.

  • Firmware Electronics: Duet WiFi 1.02 or later
    Firmware Version: 2.0(RTOS) (2018-06-05b3)

Log in to reply