Urgent: Help needed for Duet 3D Delta Printer working



  • Proper homing is not happening for my Delta printer. Kindly guide for the same:

    My Code: Config.g

    ; Configuration file for Duet WiFi (firmware version 1.21)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue Dec 04 2018 11:34:12 GMT+0530 (India Standard Time)

    ; General preferences
    G21 ; All units in millimeters
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M665 R105.6 L340 B85 H250 ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them

    ; Network
    M550 P"My Printer" ; Set machine name
    M552 S1 ; Enable network
    ;*** Access point is configured manually via M587
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Drives
    M569 P0 S0 ; Drive 0 goes forwards
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S0 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation
    M92 X100.00 Y100.00 Z100.00 E663.00 ; Set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; Set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; Set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; Set accelerations (mm/s^2)
    M906 X1000.00 Y1000.00 Z1000.00 E800.00 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 Z0 S1 ; Set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; Set active high endstops

    ; Z-Probe
    M558 P0 H5 F120 T6000 ; Disable Z probe but set dive height, probe speed and travel speed
    M557 R85 S20 ; Define mesh grid

    ; Heaters
    M305 P0 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; Set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; Set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S0.3 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

    ; Tools
    M563 P0 D0 H1 ; 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

    ; Automatic saving after power loss is not enabled

    ; Custom settings are not configured

    Home.g

    ; homedelta.g
    ; called to home all towers on a delta printer
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Tue Dec 04 2018 11:34:12 GMT+0530 (India Standard Time)

    G91 ; relative positioning
    G1 S1 X500 Y500 Z500 F1800 ; move all towers to the high end stopping at the endstops (first pass)
    G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
    G1 S1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
    G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
    G90 ; absolute positioning
    G1 X0 Y0 F6000 ; move X+Y to the centre


  • administrators



  • @dc42 Thanks David! I had overlooked setting the max potential homing distance when I built my new delta (largely based on your Kossel), and couldn't figure out why it would sometimes take 2 attempts to home.

    I had used the RR configurator, and so I believe it chose the G1 values in homedelta.g, just plugging in my max Z (~460mm). In reality, the max distance any carriage may have to travel was closer to 580mm, when an arm is stretched way out to near the edge of the bed.



  • @dc42 Hello David.

    When I take test for motors through macros, they work fine. But when I try to home all the axes for my Delta printer, they just move 5 mm up and stop. I am hereby attaching video for home movement. The upward movement in the video is not that visible.

    Furthermore, when I try to move X , Y and Z axes through steps, X and Y move really well as in upward for positive steps and downwards for negative steps (1, 10 mm etc.). But that is not the case with Z axis. For positive steps Z moves downwards and for negative it goes upwards. I tried to change the polarity for Z-axis (through software and hardware), but there is not any success.

    Kindly guide me to resolve the issue.

    [0_1546517715814_home.mp4](Uploading 100%)


  • administrators

    @yd14, to change the direction of the Z motor, find the M569 P2 command in config.g and change S0 to S1 or vice versa.

    The other problem is likely to be caused by incorrect endstop switch configuration. Test the endstop switches as described at https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches.


Log in to reply