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

    Homing Issues

    Scheduled Pinned Locked Moved
    General Discussion
    4
    10
    479
    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.
    • piankocundefined
      piankoc
      last edited by

      After a few busy weeks of not using my printer, I went to work on another new print and after ironing out the wifi connection issues and upgrading to 3.4.5 from 3.4, I am running into an issue during homing

      My homeall script is below
      G91 ; relative positioning
      G1 H2 Z5 F8000 ; lift Z relative to current position
      G1 H1 X365 Y365 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
      G91
      G1 H2 X-5 Y-5 F6000 ; go back a few mm
      G1 H1 X365 Y365 F360 ; move slowly to X and Y axis endstops once more (second pass)
      G90 ; absolute positioning
      G1 X225.5 Y178.5 F8000 ; move probe to center of bed and home Z
      G30 ; home Z by probing the bed
      G1 X180 Y180 F6000 ; Move nozzel to center

      It looks like after the first pass for X and Y it leaves relative positioning (that's why I added another G91) and goes to absolute coords x=-5 and y=-5

      Then takes forever to move slowly across the entire build plate to do the second pass. Once completed there the Z probe (BL Touch) hits on the first pass then never does the probing move...

      Not sure where to go or why this all of a sudden no longer works after it worked fine in the past... Any help would be greatly appreciated

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

        Can you upload the homeall.g file itself so we can take a look at the actual file?

        Can you duplicate the problem by sending the commands from the file one at a time in the console?

        Does G28 X and G28 Y work correctly on their own?

        Has anything else changed recently?

        Do the endstops report their status correctly with M119?

        Can you share your full config.g and the results of sending M122 and M98 P"config.g" please?

        Z-Bot CoreXY Build | Thingiverse Profile

        piankocundefined 1 Reply Last reply Reply Quote 0
        • piankocundefined
          piankoc @Phaedrux
          last edited by

          @Phaedrux config (1).g homeall (1).g
          see homeall and config files above.

          This still happens when sent from the console or with G28 X and G28 Y individually

          Nothing else has changed recently. The last print was successful a few weeks ago and it has sat dormant since then.

          M119 returns correctly
          Endstops - X: not stopped, Y: not stopped, Z: not stopped, Z probe: not stopped ----- when all switchs are open
          Endstops - X: at max stop, Y: at max stop, Z: not stopped, Z probe: not stopped ---- when X and Y are taped down

          M122 Output:
          M122
          === Diagnostics ===
          RepRapFirmware for Duet 3 Mini 5+ version 3.4.5 (2022-11-30 19:41:16) running on Duet 3 Mini5plus WiFi (standalone mode)
          Board ID: HBPBN-X396U-D65J0-40KMS-2903Z-Z05H4
          Used output buffers: 1 of 40 (14 max)
          === RTOS ===
          Static ram: 103652
          Dynamic ram: 110712 of which 0 recycled
          Never used RAM 27204, free system stack 122 words
          Tasks: NETWORK(notifyWait,14.7%,223) HEAT(notifyWait,0.0%,358) Move(notifyWait,0.3%,290) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,336) CanClock(delaying,0.0%,341) TMC(notifyWait,0.7%,115) MAIN(running,83.3%,411) IDLE(ready,0.1%,30) AIN(delaying,0.9%,272), total 100.0%
          Owned mutexes: WiFi(NETWORK)
          === Platform ===
          Last reset 00:22:59 ago, cause: power up
          Last software reset at 2022-04-03 10:29, reason: User, GCodes spinning, available RAM 26888, slot 0
          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
          Error status: 0x00
          Aux0 errors 0,0,0
          MCU revision 3, ADC conversions started 1379777, completed 1379775, timed out 0, errs 0
          Step timer max interval 1488
          MCU temperature: min 18.9, current 29.6, max 29.6
          Supply voltage: min 24.1, current 24.2, max 24.3, 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 0, read errors 0, write errors 0, ifcnt 14, reads 7050, writes 14, timeouts 0, DMA errors 0, CC errors 0
          Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 12, reads 7052, writes 12, timeouts 0, DMA errors 0, CC errors 0
          Driver 2: ok, SG min 0, read errors 0, write errors 0, ifcnt 13, reads 7051, writes 13, timeouts 0, DMA errors 0, CC errors 0
          Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 9, reads 7054, writes 9, timeouts 0, DMA errors 0, CC errors 0
          Driver 4: ok, SG min 0, read errors 0, write errors 0, ifcnt 14, reads 7050, writes 14, timeouts 0, DMA errors 0, CC errors 0
          Driver 5: not present
          Driver 6: not present
          Date/time: 2022-12-10 19:45:44
          Cache data hit count 2459183563
          Slowest loop: 49.32ms; fastest: 0.11ms
          === Storage ===
          Free file entries: 9
          SD card 0 detected, interface speed: 22.5MBytes/sec
          SD card longest read time 3.2ms, write time 0.0ms, max retries 0
          === Move ===
          DMs created 83, segments created 6, maxWait 373468ms, bed compensation in use: none, comp offset 0.000
          === MainDDARing ===
          Scheduled moves 20, completed 18, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 2, 0], CDDA state 3
          === AuxDDARing ===
          Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
          === Heat ===
          Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
          Heater 1 is on, I-accum = 0.0
          === GCodes ===
          Segments left: 0
          Movement lock held by HTTP
          HTTP is idle in state(s) 54 15, running macro
          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
          SBC is idle in state(s) 0
          Daemon is idle in state(s) 0
          Aux2 is idle in state(s) 0
          Autopause is idle in state(s) 0
          Code queue is empty
          === CAN ===
          Messages queued 12416, received 0, lost 0, boc 0
          Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 6899/0/0
          Tx timeouts 0,0,6898,0,0,5516 last cancelled message type 4514 dest 127
          === Network ===
          Slowest loop: 17.57ms; fastest: 0.00ms
          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
          HTTP sessions: 1 of 8
          = WiFi =
          Network state is active
          WiFi module is connected to access point
          Failed messages: pending 0, notready 0, noresp 0
          WiFi firmware version 1.27
          WiFi MAC address f0:08:d1:03:e3:47
          WiFi Vcc 3.34, reset reason Power up
          WiFi flash size 2097152, free heap 23152
          WiFi IP address 192.168.1.143
          WiFi signal strength -41dBm, mode 802.11n, reconnections 0, sleep mode modem
          Clock register 00002002
          Socket states: 0 0 0 0 0 0 0 0

          And
          M98 P"config.g"
          Warning: Heater 1 predicted maximum temperature at full power is 508°C

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

            That seems quite strange and I can't see anything that would cause that to happen from your files.

            Just to try and exorcise the ghosts, maybe try uploading the firmware zip file again and maybe rename your homeall.g and generate a new one from scratch.

            Z-Bot CoreXY Build | Thingiverse Profile

            piankocundefined 1 Reply Last reply Reply Quote 0
            • piankocundefined
              piankoc @Phaedrux
              last edited by

              @Phaedrux
              So good news and maybe bad news with it. I redid the homing files and tried uploading the 3.4.5 firmware again. That did not fix anything.

              But I thought I would try downgrading back to 3.4.1 and the issue is now no longer there...

              Planning to now upload each new release until it starts again. At least then we could figure out which update caused the issue...

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

                @piankoc thanks, let me know when you have established the version at which the problem first occurs.

                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

                piankocundefined 1 Reply Last reply Reply Quote 0
                • dc42undefined dc42 referenced this topic
                • piankocundefined
                  piankoc @dc42
                  last edited by

                  @dc42 Works fine up to 3.4.4 and breaks again on the update to 3.4.5

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

                    @piankoc, thanks.

                    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

                    dc42undefined 1 Reply Last reply Reply Quote 0
                    • dc42undefined dc42 referenced this topic
                    • dc42undefined
                      dc42 administrators @dc42
                      last edited by

                      @piankoc this has been resolved. Please see https://forum.duet3d.com/post/302699.

                      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
                      • moth4017undefined
                        moth4017
                        last edited by

                        baby stepping issue duet3 mini 5 ( firm ware file updated today)
                        z height increases when negative baby step is grater than layer height , layer height 0.3mm
                        346c4479-122d-4a0f-9db2-b894041d6bb1-image.png

                        ;Config.g
                        
                        G90                                            	; send absolute coordinates...
                        M83                                            	; ...but relative extruder moves
                        M550 P"3030"                     				; set printer name  name.local
                        M669 K1    										; core xy
                        
                        ; Network
                        M552 S1                                        	; enable network
                        M586 P0 S1                                     	; enable HTTP
                        M586 P1 S0                                     	; disable FTP
                        M586 P2 S0                                     	; disable Telnet
                        
                        ; Drives
                        M569 P0.0 S1	D2								; physical drive 0 goes forwards   
                        M569 P0.1 S1    D2								; physical drive 1 goes forwards
                        M569 P0.2 S1                                 	; physical drive 2 goes forwards ( blown needs replacing)
                        M569 P0.3 S0                                	; physical drive 3 extruder
                        M569 P0.4 S1 	D2								; physical drive 4 goes forwards D3=stealthchop
                        M569 P0.5 S0 	D2								; physical drive 5 goes backwards
                        M569 P0.6 S1 	D2								; physical drive 6 goes forwards 
                         
                        M584 X0.1 Y0.0 Z0.4:0.5:0.6 E0.3		     	;; set drive mapping FL,FR,RC
                        M350 X16 Y16 I1                       			; configure microstepping with interpolation
                        M350 Z16 E16 I1  								; configure microstepping with interpolation
                        
                        M92 X80.00 Y80.00  Z320.00  E562.00           	; set steps per m
                        M566 X800.00 Y800.00 Z5.00 E400 P1        		; set maximum instantaneous speed changes (mm/min) jerk
                        M203 X24000.00 Y24000.00 Z1500.00 E1200   		; set maximum speeds (mm/min)
                        M201 E2000										; set accelerations (mm/s^2)
                        M201.1 X2200.00 Y2200.00 Z20.00					; set accelerations (mm/s2)     	
                        
                        ;Set Currents
                        M906 X1000 Y1000 Z1000 E750 I100				; set motor currents (mA) and motor idle factor in per cent
                        M84  X Y S20									; Set idle timeout sec
                        
                        ; Axis Limits
                        M208 S1 X0 Y0 Z0								; set axis minima "Travel Area"  set in tool.g
                        M208 S0 X320 Y320 Z320                          ; set axis maxima "Travel area"  set in tool.g
                        
                        ; Endstops
                        M574 X1 S3										; configure sensorless endstop, 1 = low end, 2 = high end. s3 = single motor, S4 multipule motors
                        M574 Y2 S3										; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in
                        M574 Z2 S4										; configure sensorless endstop for high end on Z, 1 = low end, 2 = high end.S3= single motor, S4 multipule motors
                        
                        ;ball joints 3PL
                        M671 X-10:320:155 Y-10:-10:320 S35 				;; leadscrews at front left,front right, rear Center s= max correction factor  must be in same order as M584
                        
                        ; Z sensor
                        M558 P8 C"!io3.in" H15 F2000:300 T20000 R0 A10 S0.01 ;* set Z probe type to unmodulated and the dive height + speeds,  !=inverted signal tool.g
                        
                        ;nozzel offset
                        G31 P500 Z0.0									;* set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed set in Tool.g
                        G31 P500 X0 Y0              					;* set x,y trigger value, offset and trigger height  set in tool.g
                        ;Mesh
                        M557 X27:283 Y27:283 S256                        	; define mesh grid 
                        
                        ; Heaters + temperature sensors
                        ;Bed
                        M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" 		; configure sensor 0 as thermistor on pin bedtemp
                        M950 H0 C"out2" T0 Q10                      					; create bed heater output on bedheat and map it to sensor 0
                        M307 H0 R0.838 K0.331:0.000 D3.08 E1.35 S0.90 B0				; PDI info for 8mm aluminium bed 700w Heater NTC 100K 3950
                        M140 H0                                       					; map heated bed to heater 0
                        M143 H0 S130                                   					; set temperature limit for heater 0 to max C
                        ;extruder
                        M308 S1 P"temp1" Y"pt1000" A"Extruder T °C"						; configure sensor 1 as PT1000
                        M950 H1 C"out1" T1                           					; create nozzle heater output
                        M307 H1 R4.449 K0.705:0.000 D6.21 E1.35 S1.00 B0 V23.8			; PDI 
                        M570 H1 P10 T20													;P = heater fault timer sec ,T= temperature excursion deg C
                        M143 H1 S360 
                        ; set temperature limit for heater 1 to max C
                        ;Chamber      
                        M308 S2 P"temp2" Y"thermistor" T100000 B4267 A"Chamber T °C"	; configure sensor 2 as thermistor on pin temp2
                        ;M950 H2 C"out5" T2												; create chamber heater output on 1.out0 and map it to sensor 2
                        M307 H2 B0 S1.00												; disable bang-bang mode for the chamber heater and set PWM limit
                        M141 H2															; map chamber to heater 2
                        M143 H2 S100													; set temperature limit for heater 2 to 280C
                        
                        ;DHT Sensor on IO4 on Duet 3 Mini 5+
                        ; drybox
                        M308 S4 P"io4.out+io4.in" Y"dht22" A"Drybox[C]"
                        M308 S5 P"S4.1" Y"dhthumidity" A"Dry box Hum[%]"
                        
                        ;Dry box fan or ssr
                        ;M950 H3 C"out2" T2                          					; create chamber heater output on duex.e2heat and map; it to sensor 3
                        ;M307 H3 B1 S1.00                                   				; disable bang-bang mode for the chamber heater and set PWM limit
                        ;M141 H3                                           				; map chamber to heater 3
                        ;M143 H3 S80                                       				; set temperature limit for heater 3 to 280C
                        
                        
                        
                        M308 S10 Y"mcu-temp" A"MCU"                         ; defines sensor 10 as MCU temperature sensor
                        M308 S11 Y"drivers" A"Duet stepper drivers"         ; defines sensor 11 as stepper driver temperature sensor
                        
                        ; Fans
                        M950 F0 C"out6" Q250								; create fan 0 on pin fan0 and set its frequency
                        M106 P0 S0 H-1	C"Part Fan"							; set fan 0 value. Thermostatic control is turned off
                        
                        M950 F1 C"out3" Q250								; create fan 1 on pin fan1 and set its frequency
                        M106 P1 S1 H1 T35	C"Extruder Fan"					; set fan 1 value. Thermostatic control is turned on
                        
                        ;Filter fan 12 v
                        M950 F2 C"out0" Q250								; create fan on output, set its frequency
                        M106 P2 S0 H-1  C"Filter Fan"						; set fan value. Thermostatic control is turned on
                        
                        ;ROS
                        M591 P1 C"io6.in" S1 D0 							; filament monitor 
                        
                        ;Tools
                        M563 P0 D0 H1 F0									; 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
                        T0
                        
                        ; Custom settings
                        M98 P"/macros/home_max_Z"
                        M98 P"/sys/tool.g"					; sets z offset
                        echo"tool"
                        ;External Buttons
                        M950 J1 C"!io2.in"			;config input pin	switch NO  connected to io2 and Gnd 
                        M581 P1 T0 C0				;T0 = emergency stop on trigger; T1 = pause print; T{N} = runs the macro "sys/trigger{N}.g", rising edge S1 falling edge S0
                        ;M581 P1 T4 c0				;run a macro trigger4.g
                        M582 T0 					; Check External Trigger
                        
                        ;Global varibles Drybox
                        global preSpoolWeight = 0
                        global emptySpoolWeight = 0
                        global totalWeight= 0
                        global filamentWeight =0
                        global dryBoxTC = 0
                        global dryBoxRH = 0
                        global calWeight =0 
                        global instructions = "No Message"
                        global extruderName = "No extruder"
                        
                        ;send setup to console
                        global extruderName = "set up Bondtech + inductive sensor  + mosqitoe 0.6mm noz"
                        ;Set Extruder
                        M569 P0.3 S0 D2
                        ;Set Currents
                        M906 E750
                        ;Set Steps/mm
                        M92 E562
                        ;Set Thermistor
                        M308 S1 P"temp1" Y"pt1000" A"Extruder T °C"		
                        ;Set PID
                        M307 H1 R4.449 K0.705:0.000 D6.21 E1.35 S1.00 B0 V23.8
                        ;Pressure Advance
                        ;M572 D0 S0.1
                        ; Axis Limits
                        M208 S1 X-15 Y0 Z0			
                        M208 S0 X310 Y312 Z320     	
                        ;Z probe
                        ;M558 P8 C"!io3.in" H10 F1000 T20000 R0 A10 S0.05 	; inductive set Z probe type to unmodulated and the dive height + speeds,  !=inverted signal
                        M558 P8 C"io3.in" H6 F1500:300 T30000 R0 A14 S0.002	
                        G31 P500 Z5.3										
                        G31 P500 X3 Y-27               						
                        ;M557 X10:310 Y10:310 S40                     		; define mesh grid					
                        ;Tool offset
                        G10 P0 X0 Y0 Z0
                        ;Load mesh bed leveling
                        ;Stop writing to SD
                        
                        

                        <

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