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

    Nozzle won't go close to the bed

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    5
    279
    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.
    • matej1006undefined
      matej1006
      last edited by matej1006

      Hello guys

      I have problem with bed doesn't go near nozzle. so it run in like 5mm between bed and nozzle.

      If i send M564 S0 then it goes to about 0.2mm from bed and can apply filamnet tp stick to the bed.

      Where and what i could solve this problem in which part of g-code is this config.g or in some other .g file?

      fcwiltundefined 1 Reply Last reply Reply Quote 0
      • fcwiltundefined
        fcwilt @matej1006
        last edited by

        @matej1006 said in Nozzle won't go close to the bed:

        Hello guys

        I have problem with bed doesn't go near nozzle. so it run in like 5mm between bed and nozzle.

        If i send M564 S0 then it goes to about 0.2mm from bed and can apply filamnet tp stick to the bed.

        Where and what i could solve this problem in which part of g-code is this config.g or in some other .g file?

        We need a good deal more information.

        Let's start by copy-and-pasting your config.g file and you various homing .g files.

        Please use the </> tag when pasting each file.

        Thanks.

        Frederick

        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

        matej1006undefined 1 Reply Last reply Reply Quote 0
        • matej1006undefined
          matej1006 @fcwilt
          last edited by

          @fcwilt

          Thanks 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.0.4 on Sat Oct 12 2019 15:44:24 GMT+0200 (Srednjeevropski poletni čas)
          
          ; General preferences
          G90                                     ; send absolute coordinates...
          M83                                     ; ...but relative extruder moves
          
          M98 P"Turn_printer_on"					; force the PS_ON line to 0V/GND; causing a voltage over relay, thus enabling it. 
          					; With the relay active, it close the circuit of the Live wire, taking over to supply the Power Supply.
           
          M550 P"3D Monstrum"              		; set printer name
          
          M667 S1                                 ; select CoreXY mode
          
          ; Network
          M552 S1 P192.168.0.168		; IP address
          
          ; Debugging
          M111 S0                                 ; Debug off
          M929 P"eventlog.txt" S1                 ; Start logging to file eventlog.txt
          
          ; Drives
          
          ;X and Y motors
          M569 P5 S0                              ; Drive 5 direction | Y Stepper
          M569 P6 S0								; Drive 6 direction | Y Stepper
          
          ;Z motors
          M569 P7 S0                              ; Drive 7 direction | Front Right Z
          M569 P8 S0                              ; Drive 8 direction | Back Z
          M569 P9 S0                              ; Drive 9 direction | Front Left Z
          
          ;Extruders
          M569 P1 S0 	D2                            ; Drive 1 direction | Extruder0
          M569 P2 S0  D2                            ; Drive 2 direction | Extruder1
          M569 P3 S0  D2                            ; Drive 3 direction | Extruder2
          M569 P4 S0  D2                            ; Drive 4 direction | Extruder3
          
          
          ; Toolchanger actuator
          M569 P0 S1										; Drive 0 direction | Toolchanger Actuator
          
          M584 X6 Y5 Z9:8:7 U0 E1:2:3:4                   ; set drive mapping
          M671 X-28:172:458 Y146:402:146 S15 				; leadscrews at front left, rear middle and front right
          
          M350 X16 Y16 Z16 E16 U4 I1                 		; configure microstepping with interpolation
          M92  X80.00 Y80.00 Z1600 E1756:2812:1855:1855				; set steps per mm
          M92  U30.578                             		; Steps/deg for U from (200 * 4 * 13.76)/360
          M566 X900.00 Y900.00 Z12.00 E120.00 U50 	   	; set maximum instantaneous speed changes (mm/min)
          M203 X6000.00 Y6000.00 Z300.00 E1200.00 U9000 	; set maximum speeds (mm/min)
          M201 X800 Y800 Z60 E120:120:120:120 U800          			; set accelerations (mm/s^2)
          M906 X1100 Y1100 Z900 E800 						; set motor currents (mA)
          M906 U900 I60            						; set motor currents (mA) and motor idle factor in per cent
          
          
          ; Axis Limits
          M208 X0 Y0 Z0 S1                        	; set axis minima
          M208 X420 Y386 Z450 S0                  		; set axis maxima
          M208 U0:200                                 ; Set Elastic Lock (U axis) max rotation angle
          
          ; Endstops
          M574 X1 S1 P"xstop"                   ; X min active high endstop switch
          M574 Y1 S1 P"ystop"                  ; Y min active high endstop switch
          M574 Z1 S2 										; Set endstops controlled by probe
          M574 Z2 S1 P"duex.e2stop"                        ; Z min active high endstop switch
          M574 U1 S1 P"e0stop"                        ; U min active high endstop switch
          ;M558 P2 C"duex.e2stop" H0 F10                    ; Z min active high endstop switch TAMV Tool Alingment Z touch plate
                                      
          ; Z-Probe
          
          M558 P9 C"^zprobe.in" H5 F240/120 T3000  ; BLTouch connected to Z probe IN pin
          G31 P467 X0 Y40 Z1.0 							; Set Z probe trigger value, offset and trigger height
          M950 S0 C"duex.pwm5" ; create servo/gpio 0 on heater 5 duex pin on expansion connector
          ...
          M280 P0 S10 ; send control signal to BLTouch through servo/gpio 0
          
          ; Mesh  grid
          M557 X0:380 Y114:364 40    ;374  
          
          ;M950 S0 C"duex.pwm5" 							; create servo pin 0 for BLTouch
          ;M574 Z1 S2 										; Set endstops controlled by probe
          ;M558 P1 C"zprobe.in" H5 F500 T3000   ; Set Z probe type to modulated and the dive height + speeds
          ;G31 P467 X0 Y40 Z1.0 							; Set Z probe trigger value, offset and trigger height
          
          ; Heaters
          ; Bed Heater
          M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 R4700 A"Bed Heater"         			; configure sensor 0 as thermistor on pin bedtemp
          M950 H0 C"bedheat" T0                                                                   ; create bed heater output on bedheat and map it to sensor 0
          M143 H0 S110                                                                            ; set temperature limit for heater 0 to 110C
          M140 H0 R35																				; map heated bed to heater 0
          
          ; Tool1 Heater
          M308 S1 P"duex.e2temp" Y"thermistor" T100000 B4138 A"Tool 1 Heater"                    	; configure sensor 1 as thermistor on pin duex.e2temp
          M950 H1 C"duex.e2heat" T1                                                               ; create nozzle heater output on duex.e2heat and map it to sensor 1
          M143 H1 S280                                                                            ; set temperature limit for heater 1 to 280C
          
          ; Tool2 Heater
          M308 S2 P"duex.e3temp" Y"thermistor" T100000 B4138 A"Tool 2 Heater"                     ; configure sensor 2 as thermistor on pin duex.e3temp
          M950 H2 C"duex.e3heat" T2                                                               ; create nozzle heater output on duex.e3heat and map it to sensor 2
          M143 H2 S280                                                                            ; set temperature limit for heater 2 to 280C    
          
          ; Tool3 Heater
          M308 S3 P"duex.e4temp" Y"thermistor" T100000 B4138 A"Tool 3 Heater"                     ; configure sensor 3 as thermistor on pin duex.e4temp
          M950 H3 C"duex.e4heat" T3                                                               ; create nozzle heater output on duex.e4heat and map it to sensor 3
          M143 H3 S280                                                                            ; set temperature limit for heater 3 to 280C                             
          
          ; Tool4 Heater
          M308 S4 P"duex.e5temp" Y"thermistor" T100000 B4138 A"Tool 4 Heater"                     ; configure sensor 4 as thermistor on pin duex.e5temp
          M950 H4 C"duex.e5heat" T4                                                               ; create nozzle heater output on duex.e5heat and map it to sensor 4
          M143 H4 S280                                                                            ; set temperature limit for heater 4 to 280C
           
                                                                                                             
          ; Tool definitions
          M563 P0 S"TOOL1" D1 H1 F0					; Define tool 1
          G10 P0 Z4.922								; Set tool 1 offset from the bed
          G10 P0 R20 S30                				; Set tool 1 operating and standby temperatures(-273 = "off")
          M572 D0 S0.025				    			; Set pressure advance on Extruder Drive 0
          
          M563 P1 S"TOOL2" D0 H2 F0					; Define tool 2
          G10 P1 Z4.947								; Set tool 2 offset from the bed with tool-0 as a reference.
          G10 P1 R20 S30                				; Set tool 2 operating and standby temperatures(-273 = "off") 
          M572 D1 S0.025				    			; Set pressure advance on Extruder Drive 1,
          
          M563 P2 S"TOOL3" D2 H3 F0					; Define tool 3
          G10 P2 Z-3.75                   			; Set tool 3 offset from the bed
          G10 P2 R20 S30         						; Set tool 3 operating and standby temperatures(-273 = "off")
          M572 D2 S0.025				    			; Set pressure advance on Extruder Drive 2
          
          M563 P3 S"TOOL 4" D3 H4 F0    				; Define tool 4
          G10 P3 Z-3.75                    			; Set tool 4 offset from the bed
          G10 P3 R20 S30		 						; Set tool 4 operating and standby temperatures(-273 = "off")
          M572 D3 S0.025  				    			; Set pressure advance on Extruder Drive 3
          
          ;Water temp
          M308 S5 P"e0temp" Y"thermistor" T10000 B10000 A"Water temp."                  ;configure sensor 5 as thermistor on pin e1temp      
                                                                    
          ; Water colling NOCTUA FAN'S
          M950 F1 C"!duex.fan7+exp.pb6" Q25000 							; fan 0 is a 4-wire PWM fan so invert it, use high PWM frequency, tacho connected to PB6 on expansion connector
          M106 P1 H5 I1 T20:25 L125 S1                                    ; set fan 0 value. Thermostatic control is turned on
          
          ; Water colling PUMP
          M950 F2 C"!Fan0" Q25000 										; fan 2 is a 4-wire PWM fan so invert it, use high PWM frequency, tacho connected to PB6 on expansion connector
          M106 P2 H5 I1 T20:25 L255                                       ; set fan 2 value. Thermostatic control is turned on
          
          ; Solenoid valve
          M950 P3 C"duex.fan3"                                        	; create fan 3 on pin duex.fan3 and open valve for air on tool1
          M950 P4 C"duex.fan4"                                         	; create fan 4 on pin duex.fan4 and open valve for air on tool2
          M950 P5 C"duex.fan5"                                        	; create fan 5 on pin duex.fan5 and open valve for air on tool3
          M950 P6 C"duex.fan6"                                       		; create fan 6 on pin duex.fan6 and open valve for air on tool4
          
          ; Part cooling fan
          M950 F0 C"e1heat" Q100; Fan 0 is connected to heater 1 pin, PWM at 100Hz                                                                         		
          M106 P0 S0
          
          ;LED LIGHT SYSTEM
          M950 P7 C"e0heat"
          M42 P7 S0
          
          ;LED LIGHT CAMERA NOZZLE ALINGMENT
          M950 P8 C"Fan2"
          M42 P8 S0
          
          ;COOLLING ARIPUMP 
          M950 P9 C"Fan1"
          M42 P9 S0
          
          ; Custom settings are not defined
          
          ; Miscellaneous
          T-1                                      			; select first to999
          

          and homeall

          ; homeall.g
          ; called to home all axes
          ;
          ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sat Oct 12 2019 15:44:24 GMT+0200 (Srednjeevropski poletni čas)
          
          T-1 			;remove tool befor probing
          G91                     ; relative positioning
          G1 Z5 F3000 H2          ; lift Z relative to current position
          G1 H1 X-435 Y-388 F1800 ; move quickly to X or Y endstop and stop there (first pass)
          G1 H1 X-435             ; home X axis
          G1 H1 Y-388           	; home Y axis
          G1 X5 Y5 F3000         	; go back a few mm
          G1 H1 X-435 F360        ; move slowly to X axis endstop once more (second pass)
          G1 H1 Y-388            	; then move slowly to Y axis endstop
          G90                     ; absolute positioning
          G1 X184 Y206 F3000      ; go to first bed probe point and home Z
          G30                     ; home Z by probing the bed
          M98 P"homeu.g"
          ; Uncomment the following lines to lift Z after probing
          ;G91                    ; relative positioning
          ;G1 H2 Z5 F50           ; lift Z relative to current position
          ;G90                    ; absolute positioning
          

          homez:

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sat Oct 12 2019 15:44:24 GMT+0200 (Srednjeevropski poletni čas)
          G91              ; relative positioning
          G1 Z5 F3000 H2   ; lift Z relative to current position
          G90              ; absolute positioning
          G1 X184 Y206 F3000  ; go to first probe point
          G30              ; home Z by probing the bed
          
          ; Uncomment the following lines to lift Z after probing
          ;G91             ; relative positioning
          ;G1 H2 Z5 F50    ; lift Z relative to current position
          ;G90             ; absolute positioning
          
          
          

          bed.g

          ; bed.g
          ; called to perform automatic bed compensation via G32
          ;
          ; generated by RepRapFirmware Configuration Tool v2.0.4 on Sat Oct 12 2019 15:44:24 GMT+0200 (Srednjeevropski poletni čas)
          
          T-1 				; remove tool befor probing
          M561 				; change
          G28
          G30 P0 X0 Y109 Z-99999 	; Probe near Front Right leadscrew
          G30 P1 X0 Y389 Z-99999 	; PROBE POINT 2 Rear Left
          G30 P2 X210 Y389 Z-99999 	; Probe near Rear Middle leadscrew
          G30 P3 X380 Y389 Z-99999 	; PROBE POINT 4 Rear Right
          G30 P4 X210 Y249 Z-99999 	; PROBE POINT 5 Center
          G30 P5 X380 Y109 Z-99999 S3 	; PROBE POINT 6 Front Middle
          G28 Z				; Home
          
          fcwiltundefined 1 Reply Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @matej1006
            last edited by

            @matej1006

            Hi,

            At the start of the config.g file it reports firmware 1.21 - that doesn't seem likely. What firmware are you using?

            You have the following:

            M574 Z1 S2
            M574 Z2 S1 P"duex.e2stop"
            

            The first is M574 is not needed.

            The second M574 parameters conflict with the comment. The parameters put the endstop at the max end but the comment says min end. Which is correct?

            You have the following:

            M557 X0:380 Y114:364 40
            

            The 40 is not proceeded by a S or a P. It seems that P would be appropriate.

            The Z probe and the four tools all have Z offsets. That can work but usually you make the probe Z offset 0 and the tool Z offsets relative to the probe.

            Also two of the tools have positive Z offsets and two have negative Z offsets. That seems a bit strange.

            Can you elaborate a bit on your tool setup?

            Your problem is likely related to the offsets.

            Thanks.

            Frederick

            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

            matej1006undefined 1 Reply Last reply Reply Quote 1
            • matej1006undefined
              matej1006 @fcwilt
              last edited by

              @fcwilt awesome thanks i will check

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