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

    Delta Homing Issue with Duet wifi

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    5
    6
    1.2k
    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.
    • YD14undefined
      YD14
      last edited by

      Hello.. I need help for Delta homing

      Whenever I try to home X, Y and Z axes, all the axes go 5 mm up and stop. I have tried all the possibilities that came to my mind. But all failed.

      Changed stepper motor with higher current rating and holding torque
      Tried all the possibilities with GCode and Mcode.
      So I hereby seek expert advice.

      My Config. g file is as follows:

      ; 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 H500 ; 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 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 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

      and my homedelta.g file is as follows:

      ; 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

      Kindly help me to resolve the issue.

      Further my X and Y axes work perfectly fine as in for X+10 Y + 10, they both go up by 10 mm but for Z+5. Z axis comes down 5 mm. Code for this as follows:

      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes backwards
      M569 P2 S0 ; Drive 2 goes backwards

      OR

      M569 P0 S1 ; Drive 0 goes forwards
      M569 P1 S1 ; Drive 1 goes forwards
      M569 P2 S1 ; Drive 2 goes forwards

      In either case, the same problem was observed.

      I tried changing the polarities only for Z. When i changed the polarities for Z, it was observed that during homing movement, X and Y went up but Z went down.

      Further I tried with Duet3D code that came with DUET wifi board in an SD card. WIth that also, the delta homing is not happening.

      So i am hereby messed up totally with Delta configuration, but my CoreXY is working nicely (at least printing).

      Kindly provide your valuable help for Delta printer configuration.

      1 Reply Last reply Reply Quote 0
      • DeltaConundefined
        DeltaCon
        last edited by

        I don't understand fully. Does it go UP 5mm and stop BEFORE reaching the endstops?
        That all towers home when you home only one of them in DWC is normal for delta's.
        Have you checked the correct functioning of the endstops using M119?

        If you think trial and error is dangerous, try routine. That's even more so!

        1 Reply Last reply Reply Quote 0
        • dc42undefined
          dc42 administrators
          last edited by

          Please test the motors individually as described at https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareDeltaPrinter#Section_Testing_the_motors_individually. Then test the endstop switches as at https://duet3d.dozuki.com/Wiki/Connecting_endstop_switches#Section_Test_endstop_switches.

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • Danalundefined
            Danal
            last edited by

            What DC42 said... test the motors and report back.

            ALSO... there is often confusion for someone who's never had a delta, caused by the towers being called "X, Y, and Z". Read the following carefully:

            • Assume the nozzle is at X0, Y0, Z100 (roughly the middle, and about 100mm above the bed).

            • Issue a "G1 Z90".

            • ALL THREE TOWERS WILL MOVE, straight down, 10mm. Make sense? NOT the Z tower. The NOZZLE moved in Z, and it took all three towers to make that move.

            Second scenario:

            • Start in the same place X0Y0Z100.

            • Issue a "G1 X10Y10".

            • ALL THREE TOWERS WILL MOVE in a complex fashion, two of them down and one of them up, all in unequal amounts, so that the nozzle moves to X10Y10.

            OK... got the concept that ALL THREE TOWERS are involved in almost every move? Then also understand that homing is different. The homeall.g file adds the "S1" parameter to the G1 commands. "G1 S1 whatever..." DOES move INDIVIDUAL towers... as needed for homing.

            .

            Again, all above is intended to help you understand what you are seeing when the printer moves. Deltas can be very counter-intuitive if you've never had one.

            P.S. Your files look correct (except, of course, I have no idea which way your motors should be moving).

            Delta / Kossel printer fanatic

            1 Reply Last reply Reply Quote 0
            • Danalundefined
              Danal
              last edited by Danal

              And... if it moves 5mm and stops, with that homeall.g, MOST LIKELY, the printer thinks all 3 endstops are already triggered.

              As Dave said, follow the "test endstop" procedure at the link he gave. DON'T change a bunch of other stuff until you are sure the endstops are working correctly, and the motors are turning in the right direction.

              Delta / Kossel printer fanatic

              1 Reply Last reply Reply Quote 0
              • GeorgePundefined
                GeorgeP
                last edited by

                Switch from NO to NC for limit switches in Firmware

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA