Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Homing axis Delta Printer doesn't work

    Scheduled Pinned Locked Moved Solved
    Duet Hardware and wiring
    3
    5
    183
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PhilippSundefined
      PhilippS
      last edited by

      Hi there,

      I built a Delta 3D Printer with the Duet3d 2 Ethernet and got problems homing the 3 axis.
      After clicking "home all" all motors are turning two times for about half a second.

      Following coordinates are displayed:
      x 0, y 0, z 800
      Now it is possible to move in z axis, but not in x or y axis.

      The lights for the end stops are turning if I am pushing them manually, while homing the lights are off.

      Following the gcode for "home all":

      ; homedelta.g
      ; called to home all towers on a delta printer
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.16 on Mon May 15 2023 15:00:35 GMT+0200 (Mitteleuropäische Sommerzeit)
      G91 ; relative positioning
      G1 H1 X1455 Y1455 Z1455 F900 ; move all towers to the high end stopping at the endstops (first pass)
      G1 H2 X-5 Y-5 Z-5 F900 ; go down a few mm
      G1 H1 X10 Y10 Z10 F180 ; move all towers up once more (second pass)
      G1 Z-5 F3000 ; move down a few mm so that the nozzle can be centred
      G90 ; absolute positioning
      G1 X0 Y0 F3000 ; move X+Y to the centre

      What should be changed/done to fix this problem?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator
        last edited by

        Can you please post your full config.g and the results of sending M122 and M98 P"config.g" in the gcode console tab of DWC?

        Can you check the endstop status by sending M119?

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • PhilippSundefined
          PhilippS
          last edited by

          config.g:

          ; Configuration file for Duet WiFi (firmware version 3.3)
          ; executed by the firmware on start-up
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.16 on Mon May 15 2023 15:00:35 GMT+0200 (Mitteleuropäische Sommerzeit)

          ; General preferences
          G90 ; send absolute coordinates...
          M83 ; ...but relative extruder moves
          M550 P"Clay Printer" ; set printer name
          M665 R447.81 L853 B300 H800 ; 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
          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 ; physical drive 0 goes forwards
          M569 P1 S1 ; physical drive 1 goes forwards
          M569 P2 S1 ; physical drive 2 goes forwards
          M569 P3 S1 ; physical drive 3 goes forwards
          M584 X0 Y1 Z2 E3 ; set drive mapping
          M350 X2 Y2 Z2 E2 I0 ; configure microstepping without interpolation
          M92 X62.50 Y62.50 Z62.50 E5.00 ; set steps per mm
          M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
          M203 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum speeds (mm/min)
          M201 X60.00 Y60.00 Z60.00 E60.00 ; set accelerations (mm/s^2)
          M906 X1400 Y1400 Z1400 E1400 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 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin xstop
          M574 Y2 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin ystop
          M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop

          ; Z-Probe
          M558 P0 H5 F120 T3000 ; disable Z probe but set dive height, probe speed and travel speed
          M557 R85 S20 ; define mesh grid

          ; Heaters
          M140 H-1 ; disable heated bed (overrides default heater mapping)

          ; Fans

          ; Tools
          M563 P1 S"2mm" D0 F0 ; define tool 1
          G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
          G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C

          ; Custom settings are not defined

          m122
          === Diagnostics ===
          RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet Ethernet 1.02 or later
          Board ID: 0JD2M-9F8TA-GJ4TN-6JKFD-3SD6P-17TQ6
          Used output buffers: 3 of 26 (26 max)
          === RTOS ===
          Static ram: 23836
          Dynamic ram: 68888 of which 44 recycled
          Never used RAM 19312, free system stack 206 words
          Tasks: NETWORK(ready,33.0%,257) HEAT(notifyWait,0.0%,388) Move(notifyWait,0.0%,363) MAIN(running,67.0%,462) IDLE(ready,0.0%,30), total 100.0%
          Owned mutexes:
          === Platform ===
          Last reset 00:01:20 ago, cause: software
          Last software reset at 2023-05-17 06:58, reason: User, GCodes spinning, available RAM 19240, slot 0
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
          Error status: 0x04
          Step timer max interval 0
          MCU temperature: min 25.4, current 25.9, max 26.4
          Supply voltage: min 24.0, current 24.0, max 24.1, under voltage events: 0, over voltage events: 0, power good: yes
          Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
          Events: 0 queued, 0 completed
          Driver 0: standstill, SG min n/a
          Driver 1: standstill, SG min n/a
          Driver 2: standstill, SG min n/a
          Driver 3: standstill, SG min n/a
          Driver 4: standstill, SG min n/a
          Driver 5:
          Driver 6:
          Driver 7:
          Driver 8:
          Driver 9:
          Driver 10:
          Driver 11:
          Date/time: 2023-05-17 06:59:38
          Cache data hit count 3047795387
          Slowest loop: 3.13ms; fastest: 0.18ms
          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
          === Storage ===
          Free file entries: 10
          SD card 0 detected, interface speed: 20.0MBytes/sec
          SD card longest read time 1.0ms, write time 0.0ms, max retries 0
          === Move ===
          DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
          === MainDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === AuxDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === Heat ===
          Bed heaters -1 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
          === GCodes ===
          Segments left: 0
          Movement lock held by null
          HTTP is idle in state(s) 0
          Telnet is idle in state(s) 0
          File is idle in state(s) 0
          USB is idle in state(s) 0
          Aux is idle in state(s) 0
          Trigger is idle in state(s) 0
          Queue is idle in state(s) 0
          LCD is idle in state(s) 0
          Daemon is idle in state(s) 0
          Autopause is idle in state(s) 0
          Code queue is empty
          === Network ===
          Slowest loop: 4.84ms; fastest: 0.06ms
          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
          HTTP sessions: 2 of 8
          Interface state active, link 100Mbps full duplex

          m98 p
          Error: M98: non-empty string expected

          m119
          Endstops - X: at max stop, Y: at max stop, Z: at max stop, Z probe: at min stop

          M98 P"config.g"
          HTTP is enabled on port 80
          FTP is disabled
          TELNET is disabled
          Tool 1: offsets X0.000 Y0.000 Z0.000

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @PhilippS
            last edited by

            @PhilippS invert your endstops. add a ! to each pin name on the M574 lines. e.g

            M574 X2 S1 P"!xstop"
            

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            1 Reply Last reply Reply Quote 0
            • PhilippSundefined
              PhilippS
              last edited by

              @jay_s_uk Thanks! It works now
              @Phaedrux Tank you too!

              1 Reply Last reply Reply Quote 1
              • Phaedruxundefined Phaedrux marked this topic as a question
              • Phaedruxundefined Phaedrux has marked this topic as solved
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA