Ender 3 Pro and Duet wifi with BL Touch homing issues



  • I have successfully configured my ender 3 pro with duet wifi and I can communicate with board, send g code commands for bl touch and all axes, and turn on bed and heater ok. The problem comes with homing printer. After I home to hard endstops with x and y in proper physical location the x reads 0, but Y reads 235 on screen for location. Any attempt to give manual positive movement changes on y axis causes issues since it thinks it at 235 instead of 0 and won't move any further in the positive direction. I am a noobie so still figuring the g codes out. I really like the wifi interface, changing config and other files on the fly but after hours of trouble shooting I need help? The motors seem to be moving in the correct directions . I have also seen several examples of homex,y, and all files but the configurator produces only simple files.



  • You need to post your config.g at least before we can help, but at a guess I'd say you have your Y endstop configure as the high end.
    Check your M574 settings
    https://duet3d.dozuki.com/Wiki/Gcode#Section_M574_Set_endstop_configuration


  • Moderator

    Should be: M574 X1 Y1 Z2 S1 ; Set active high endstops
    Ignore the Z2, that's for a zmax endstop



  • ; Configuration file for Duet Maestro (firmware version 2.03)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.1.8 on Sun Mar 22 2020 13:13:28 GMT-0500 (Central Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"Ender 3 Pro" ; set printer name
    ;M918 P1 E4 F2000000 ; configure direct-connect display

    ; Network
    M552 S1 ; enable network and acquire dynamic address via DHCP
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwards
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S1 ; physical drive 2 goes forward-
    M569 P3 S0 ; physical drive 3 goes backwards
    ;M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z400.00 E93.00 ; set steps per mm
    M566 X1200.00 Y1200.00 Z24.00 E300.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X9000.00 Y9000.00 Z180.00 E6000.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z100.00 E5000.00 ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E1000 I50 ; 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, CHANGED X AND Y AND Z FROM ORIGINAL
    M208 X235 Y235 Z260 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 Z1 S1 ; set active high endstops

    ; Z-Probe
    M574 X1 Y2 S1 ; NEW LINE:X home to min. Y home to max. NC microswitches.
    M574 Z2 S1 ; SET ENDSTOPS CONTROLLED BY PROBE

    M307 H3 A-1 C-1 D-1 ; DISABLE HEATER ON PWM CHANNEL
    M307 H4 A-1 C-1 D-1 ; DISABLE HEATER ON PWM CHANNEL
    M558 P9 H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
    M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
    G31 P500 X-28 Y-8 Z2.20 ; SET Z PROBE TRIGGER VALUE,OFFSET AND TRIGGER HEIGHT-;CHANGED Z FROM 0.85 TO 0 FOR CALIBRATION
    M557 X20:205 Y40:180 S60 ; define mesh grid
    ;m557 X40:225 Y20:215 S65 ; ADDED FROM OLD ONE may be duplicate

    ; Heaters
    M305 P0 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 0
    M143 H0 S150 ; set temperature limit for heater 0 to 150C
    M305 P1 T100000 B4092 R2200 ; set thermistor + ADC parameters for heater 1
    M143 H1 S275 ; set temperature limit for heater 1 to 275C

    ; Fans
    M106 P0 S0 I0 F500 H-1 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P2 S1 I0 F500 H1:0 T45 ; set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; Tools
    M563 P0 D0 H1 F0 ; define tool 0
    G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets
    G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

    ; Custom settings are not defined

    Here is config.g file


  • Moderator

    @Okcsmith said in Ender 3 Pro and Duet wifi with BL Touch homing issues:

    ; Endstops
    M574 X1 Y1 Z1 S1 ; set active high endstops
    ; Z-Probe
    M574 X1 Y2 S1 ; NEW LINE:X home to min. Y home to max. NC microswitches.
    M574 Z2 S1 ; SET ENDSTOPS CONTROLLED BY PROBE

    Do you see the problem?



  • Yes- thanks for your quick reply- the change worked fine. I will continue with bed setup and calibration and try a test run. I figured it was something simple but still learning about G codes.


Log in to reply