Z axis incorrect moving after homing



  • Hello,

    Finally I have got controller. Now I am trying tu set up. I use this this guide:
    https://betrue3d.dk/duet-wifi-generating-firmware-using-configurator/

    After config seems x and y axis working good. After homing it moves good. But I have problem with z axis. It goes home. Seems good, but then I try to move z axis -0.1 or +0.1 and it moves until I want use emergency stop…Before homing axis moving good.
    This is my printer:
    https://www.google.lt/imgres?imgurl=https%3A%2F%2F3dprint.com%2Fwp-content%2Fuploads%2F2014%2F06%2Fcreate-feat.jpg&imgrefurl=https%3A%2F%2F3dprint.com%2F14910%2Fcreator-bot-3d-printed-india%2F&docid=D5o00eoeS_KbpM&tbnid=yVuCT3ixlf2nWM%3A&vet=10ahUKEwjYzoul7-3VAhUFQJoKHXyjCdEQMwgmKAMwAw..i&w=697&h=520&bih=1011&biw=1920&q=CreatorBot%203D&ved=0ahUKEwjYzoul7-3VAhUFQJoKHXyjCdEQMwgmKAMwAw&iact=mrc&uact=8

    https://www.google.lt/imgres?imgurl=https%3A%2F%2F3dprint.com%2Fwp-content%2Fuploads%2F2014%2F12%2Ft2.jpg&imgrefurl=https%3A%2F%2F3dprint.com%2F32561%2Fcreatorbot-3d-printers%2F&docid=lsz-qqah-i016M&tbnid=SBd_4C0c-5fgfM%3A&vet=10ahUKEwjYzoul7-3VAhUFQJoKHXyjCdEQMwhHKBowGg..i&w=580&h=580&bih=1011&biw=1920&q=CreatorBot%203D&ved=0ahUKEwjYzoul7-3VAhUFQJoKHXyjCdEQMwhHKBowGg&iact=mrc&uact=8

    x and y end stops are on the carriage. z end stop is in the bottom. you can see the bolt in the second photo. Below that is end z stop.

    Also added config files from configuration tool.
    https://ufile.io/wkfnz

    I think you can find some mistakes also. Please check.

    Thank you



  • So no ideas?
    Cheer….



  • 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.



  • 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



  • 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



  • @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.



  • 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?



  • @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.



  • 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



  • @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…



  • 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?



  • @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



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


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.