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

    Z axis incorrect moving after homing

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    13
    1.6k
    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.
    • DjDemonDundefined
      DjDemonD
      last edited by

      Okay so I can see it a leadscrew. Are the steps/mm correct?

      Can you post your config.g, home.g and homeall.g plain text I'm on my phone so I cant easily get into your zip file.

      Simon. Precision Piezo Z-Probe Technology
      www.precisionpiezo.co.uk
      PT1000 cartridge sensors NOW IN, just attach to your Duet board directly!

      1 Reply Last reply Reply Quote 0
      • vyckiusundefined
        vyckius
        last edited by

        Yes it is lead screw. M8 metric lead.
        Here is config file:

        ; Configuration file for Duet Ethernet (firmware version 1.17)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool on Wed Aug 23 2017 20:15:45 GMT+0300 (FLE Standard Time)

        ; General preferences
        M111 S0 ; Debugging off
        G21 ; Work in millimetres
        G90 ; Send absolute coordinates…
        M83 ; ...but relative extruder moves
        M555 P1 ; Set firmware compatibility to look like RepRapFirmare

        M667 S1 ; Select CoreXY mode
        M208 X0 Y0 Z450 S1 ; Set axis minima
        M208 X300 Y300 Z0 S0 ; Set axis maxima

        ; Endstops
        M574 X2 Y2 Z2 S0 ; Define active low and unused microswitches
        M558 P0 X0 Y0 Z0 H0 F120 T6000 ; Set Z probe type to switch, the axes for which it is used and the probe + travel speeds
        G31 P600 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height
        M557 X15:285 Y15:285 S20 ; Define mesh grid

        ; 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 E32 I0 ; Configure microstepping without interpolation
        M92 X160 Y160 Z5120 E2050 ; Set steps per mm
        M566 X900 Y900 Z12 E120 ; Set maximum instantaneous speed changes (mm/min)
        M203 X6000 Y6000 Z600 E1200 ; Set maximum speeds (mm/min)
        M201 X500 Y500 Z250 E250 ; Set accelerations (mm/s^2)
        M906 X900 Y900 Z900 E900 I30 ; Set motor currents (mA) and motor idle factor in per cent
        M84 S30 ; Set idle timeout

        ; Heaters
        M143 S300 ; Set maximum heater temperature to 300C
        M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
        M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
        M305 P1 T100000 B4138 C0 R4700 X200 ; Set thermistor + ADC parameters for heater 1 and remap it to channel 200

        ; 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

        ; Network
        M550 PMy printer ; Set machine name
        M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
        M552 P192.168.1.14 S1 ; Enable network and set IP address
        M553 P255.255.255.0 ; Set netmask
        M554 P192.168.1.1 ; Set gateway
        M586 P0 S1 ; Enable HTTP
        M586 P1 S0 ; Disable FTP
        M586 P2 S0 ; Disable Telnet

        ; 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
        M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

        ; Custom settings are not configured

        ; Miscellaneous
        T0 ; Select first tool

        1 Reply Last reply Reply Quote 0
        • Dougal1957undefined
          Dougal1957
          last edited by

          your leadscrew you say is M8 so is that just common M8 threaded rod or is it a ACME/Trapezoidal type or possibly even a ball screw we really need to know what lead the screw is ie for one turn of the crew by how much does the Z Hight vary?

          Looking at your Config I suspect your Z Steps/mm are way out? they do seem to be correct for common or garden M8 threaded rod but I suspect you may have something different

          Doug

          1 Reply Last reply Reply Quote 0
          • vyckiusundefined
            vyckius
            last edited by

            @Dougal1957:

            your leadscrew you say is M8 so is that just common M8 threaded rod or is it a ACME/Trapezoidal type or possibly even a ball screw we really need to know what lead the screw is ie for one turn of the crew by how much does the Z Hight vary?

            Looking at your Config I suspect your Z Steps/mm are way out? they do seem to be correct for common or garden M8 threaded rod but I suspect you may have something different

            Doug

            z axis threaded rod is M8 with metric thread 1.25. It is simple threaded rod. Not ball bearing.

            1 Reply Last reply Reply Quote 0
            • deckingmanundefined
              deckingman
              last edited by

              Assuming it's a 1.8 degree motor then 200 full steps = 1.25 mm so 160 full steps per mm. @ 32 x micro stepping = 5120 so that looks correct.

              You say it homes OK but after homing, when you try to move Z it moves continuously until you hit the emergency stop. Is that correct? If so, what command are you sending to move it?

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              1 Reply Last reply Reply Quote 0
              • vyckiusundefined
                vyckius
                last edited by

                @deckingman:

                Assuming it's a 1.8 degree motor then 200 full steps = 1.25 mm so 160 full steps per mm. @ 32 x micro stepping = 5120 so that looks correct.

                You say it homes OK but after homing, when you try to move Z it moves continuously until you hit the emergency stop. Is that correct? If so, what command are you sending to move it?

                Yes, you are correct. Before homing, z axis moves good (havent checked distance yet). I press home z axis. It goes and stops then reach end stop. Looks good. But then I try to move z axis, doesnt metter +0.1 or -0.1 or other distance, it moves until I press emergency… Everything control from webcontrol on my chrome explorer. Use buttons not commands.

                1 Reply Last reply Reply Quote 0
                • Dougal1957undefined
                  Dougal1957
                  last edited by

                  so you Z Endstop is it triggered when the bed is close to the nozzle or away from it IE at the bottom or top of the bed travel direction I think your config is set for the Z Home to be at Max Z Travel but you photos suggest that it should home to Min Z.

                  Try changing your M574 line to be Z1 instead of Z2 maybe Ian (Deckingman) or DC42 can just confirm that as I may be wrong not useing cartesian Printers at the mo

                  1 Reply Last reply Reply Quote 0
                  • vyckiusundefined
                    vyckius
                    last edited by

                    @Dougal1957:

                    so you Z Endstop is it triggered when the bed is close to the nozzle or away from it IE at the bottom or top of the bed travel direction I think your config is set for the Z Home to be at Max Z Travel but you photos suggest that it should home to Min Z.

                    Try changing your M574 line to be Z1 instead of Z2 maybe Ian (Deckingman) or DC42 can just confirm that as I may be wrong not useing cartesian Printers at the mo

                    Maybe you are right. Also good idea. later I will try.

                    If anyone has any other ideas you are welcome 🙂 need to start me printer fast as it is possible…

                    1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman
                      last edited by

                      What actually happens when you home Z?
                      Is Z=0 when the bed is at the top, close to the nozzle, or at the bottom away from the nozzle?
                      When you home Z , does it move close to Z = 0 then stop?
                      What type iof switch do you have for Z? Is it a probe or a switch? If it's switch, is it normally open or normally closed?

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      1 Reply Last reply Reply Quote 0
                      • vyckiusundefined
                        vyckius
                        last edited by

                        @deckingman:

                        What actually happens when you home Z?
                        Is Z=0 when the bed is at the top, close to the nozzle, or at the bottom away from the nozzle?
                        When you home Z , does it move close to Z = 0 then stop?
                        What type iof switch do you have for Z? Is it a probe or a switch? If it's switch, is it normally open or normally closed?

                        After homing Z was 0. I use normal open switch. here settings of homez:

                        ; homez.g
                        ; called to home the Z axis
                        ;
                        ; generated by RepRapFirmware Configuration Tool on Wed Aug 23 2017 20:15:45 GMT+0300 (FLE Standard Time)

                        ; Lift Z relatively to current position
                        G91
                        G1 Z0 F6000

                        ; Move Z up until the switch triggers
                        G1 Z455 S1 F1800

                        ; Back to absolute positioning
                        G90

                        ; Tell the firmware where we are
                        G92 Z0

                        ; Uncomment the following lines to lift Z after probing
                        ;G91
                        ;G1 Z0 F100
                        ;G90

                        1 Reply Last reply Reply Quote 0
                        • vyckiusundefined
                          vyckius
                          last edited by

                          Made new config. And it seems working good now. Thanks who helped 🙂

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