Homing Issue after board replacement

  • Hi All,

    I recently replaced my Duet 2 Ethernet Board due to DOA.
    Since I swapped the Board I cannot home anymore.

    Here is what I get from M119 or from the webinterface:

    When I trigger the endstops manually they do what they should do. But when I try to home all axis the motors dont stop when they trigger the endstops. I need to Emergency Stop the Printer to shutdown the steppers.

    I already uploaded new Firmware and compiled over the Reprap Firmware Configuration tool. Everything should be fine.
    With my DOA Board homing was no Problem and I tested several times if I have everything connected like before. That Thing should work

    here is my homing Setup:
    ; homedelta.g
    ; called to home all towers on a delta printer
    ; generated by RepRapFirmware Configuration Tool v2 on Sun Dec 23 2018 12:24:41 GMT+0100 (Mitteleuropäische Zeit)
    G91 ; relative positioning

    G1 S1 X275 Y275 Z275 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

    here is my 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 Sun Dec 23 2018 12:24:41 GMT+0100 (Mitteleuropäische Zeit)

    ; General preferences
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M665 R125 L333 B115 H260 ; 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"Kossel XL" ; Set machine name
    M551 P"xxxxxxx" ; Set password
    M552 P0.0.0.0 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 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 X32 Y32 Z32 I0 ; Configure microstepping without interpolation
    M350 E16 I1 ; Configure microstepping with interpolation
    M92 X200.00 Y200.00 Z200.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
    M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
    M558 P9 H10 F120 T2400 ; Set Z probe type to bltouch and the dive height + speeds
    G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
    M557 R115 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

    Any help is welcome.

    btw: Merry Christmas to all

  • administrators

    Do all of the motors fail to stop, or just some of them? The usual reason for some of them failing to stop is that you have got the motor or endstop connections mixed up. For example, check that the X endstop is at the top of the tower whose carriage is driven by the X motor.

  • @dc42 thank you for your reply. I checked that already.... have seen another post of you telling that this could be a reason for bad homing behaviour.

    for example:

    • I place the axis so that X must hit the trigger first, then Y and then Z
    • Hit homing button..... X is stuttering when it hits the Trigger, Y isnt moving at all.... and Z is moving upwards... but I prefered to Emergency off the printer

  • administrators

    Put the effector as low as it will go. Reduce the motor currents so they are just enough for the motors to lift the carriages. Reduce the homing speed in the G1 S1 command in homedelta.g. Command the printer to home; check that all 3 motors are moving; then trigger one of the endstop switches and see which motor (if any) stops.

  • U @dc42 are just genious !
    it ist not just that u sir knew already that my wiring was wrong. U also found a simple way to show me were my fault was !

    So. for the moment my homing is working as it should.
    I follow the next step and try to figure out how to work with the z-probe.

    thank you very, very much for your patience and help.
    best regards

Log in to reply