Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Karim
    3. Posts
    • Profile
    • Following 1
    • Followers 0
    • Topics 31
    • Posts 178
    • Best 10
    • Controversial 0
    • Groups 0

    Posts made by Karim

    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 I don’t know what’s going on with my setup because mine works for a few days and the have homing problems and then works again, I guess it’s have to deal with it the way it’s working.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @Karim This is my X Axis homing, it's not stalling now .I will let you know if this is working.

      ====================
      ; homeX.g
      ;====================
      ; called to home the X axis
      
      M84 X
      M400						    ; Wait for current moves to finish
      M569 P0.1 D3 V10				; X -> B axis reduce V parameter so driver operates in stealthChop
      M569 P0.2 D3 V10				; Y -> A axis reduce V parameter so driver operates in stealthChop
      G4 P200						    ; Pause for 200ms to let StealthChop do some sh!t
      M17 X						    ; Energize Motors X Y
      M913 X20 Y20				    ; drop motor current to 20%
      G4 P200						    ; Pause for 200ms to let StealthChop do some sh!t
      M915 X S20 R0 F0 H200	        ; Sensitivity 9 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
      M201.1 X250 Y250 
      G4 P200						    ; wait 200ms
      G91					            ; set relative
      
      M400                            ; Wait for moves to finish
      G1 H2 X-1 F3000                 ; Move X axis back a little bit to clear stall flag if it's triggered
      
      M400                            ; Wait for moves to finish
      G4 P200						    ; wait 200ms
      G1 H1 X350 F3500			    ; [ First Pass ] move quickly to X axis endstop and stop there
      M400
      
      G90						        ; absolute positioning
      M400						    ; Wait for current moves to finish
      M913 X100 Y100				    ; return current to 100%
      M569 P0.1 D2					; Take driver out of StealthChop Mode
      M569 P0.2 D2					; Take driver out of StealthChop Mode
      
      M201.1 X650 Y650
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 Very nice Printer, I never heard of it.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 Which printer do you have , This is a Voron 0.2 Corexy.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 Mine stall at first homing, X would stall, but if you get X to home successfully. Home all work every time, but if printer is power off overnight in the morning you have to go through that procedure again.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Phaedrux ok I change the Z value in M208 S0 Z118.17 in config-override.g and then restart to get the nozzle closer to the bed. I will test and report back the evening.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 Hey no I did try M201.1, I been working on this printer for two weeks now trying to get sensor-less homing to work properly . I have two duet 2 wifi with duex5 and they working flawlessly. I know what you are saying about homing, I have to home x and y separately then home all works it’s a hit or miss.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Phaedrux yes bed is at print temperature always.

      ; Configuration file for Duet 3 Mini 5+ (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sat Feb 04 2023 22:42:11 GMT-0500 (Eastern Standard Time)
      
      ; General preferences
      M575 P1 S1 B57600                                    ; enable support for PanelDue
      G90                                                  ; send absolute coordinates...
      M83                                                  ; ...but relative extruder moves
      M550 P"Zero"                                         ; set printer name
      M669 K1                                              ; select CoreXY mode
      
      ; Network
      M551 P"Zero"                                         ; set password
      M552 S1                                              ; enable network
      M586 P0 S1                                           ; enable HTTP
      M586 P1 S0                                           ; disable FTP
      M586 P2 S0                                           ; disable Telnet
      
      ; Drives
      M569 P0.1 S1 D2 ;F3 B2 Y5:3                           ; physical drive 0.1 goes forwards
      M569 P0.2 S1 D2 ;F3 B2 Y5:3                           ; physical drive 0.2 goes forwards
      M569 P0.0 S1 D3 V50                                  ; physical drive 0.0 goes forwards
      M569 P0.3 S0 ;D2                                      ; physical drive 0.3 goes forwards
      ;M915 X Y R0 F0
      
      M584 X0.1 Y0.2 Z0.0 E0.3                             ; set drive mapping
      ;M592 D0.3 A0.01139 B0.00088                         ;Set Non-Linear Extrusion
      
      M350 X16 Y16 Z16 E16 I1                              ; configure microstepping with interpolation
      M92 X80 Y80 Z400.00 E413.52 		                     ; set steps per mm
      M566 X480 Y480 Z100 E1200 		                 ; set maximum instantaneous speed changes (mm/min)
      
      M203 X18000.00 Y18000.00 Z1800.00 E12000              ; set maximum speeds (mm/min)
      M201 X10000 Y10000 Z200.00 E2500                      ; set accelerations (mm/s^2)
      M906 X650 Y650 Z300 E550 I40                          ; set motor currents (mA) and motor idle factor in per cent
      M84 S30                                               ; Set idle timeout
      
      ; Axis Limits
      M208 X0 Y0 Z0 S1                                      ; set axis minima
      M208 X120 Y120 Z120 S0                                ; set axis maxima
      
      ; Endstops
      M574 X2 S3 ;P"^io3.in"                                ; configure switch-type (e.g. microswitch) endstop for high end on X via pin !^io3.in
      M574 Y2 S3 ;P"^io5.in"                                ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin !^io5.in
      M574 Z2 S1 P"^io6.in"                                 ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin !^io6.in
      
      ; Z-Probe
      ;M950 S1 C"out6"                                      ; assign GPIO port 1 to out6 (Servo header), servo mode
      M558 P0 ;P5 K0 C"^io1.in" R0.1 A5 H1 F600:400 T6000
      ;G31 X60 Y60 Z0
      M557 X0:120 Y0:120 P3
      M671 X60:5:115 Y5:-10:115 P0.5                        ; adjusting screws
      
      ; Heaters
      M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 0 as thermistor on pin temp0
      M950 H0 C"out0" T0                                    ; create bed heater output on out0 and map it to sensor 0
      ;M307 H0 R0.616 K0.698:0.000 D3.15 E1.35 S1.00 B0 V24
      M307 H0 R0.240 K0.131:0.000 D5.22 E1.35 S1.00 B0 V24
      M140 H0                                               ; map heated bed to heater 0
      M143 H0 S120                                          ; set temperature limit for heater 0 to 120C
      
      ;E3d Revo Voron)
      M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8       ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"out1" T1                               ; create nozzle heater output on e0heat and map it to sensor 1
      ;M307 H1 R4.091 K0.614:0.000 D1.92 E1.35 S1.00 B0   ; disable bang-bang mode for heater  and set PWM limit
      M307 H1 R4.167 K0.511:0.000 D2.11 E1.35 S1.00 B0 V23.7
      M143 H1 S280                                       ; set temperature limit for heater 1 to 280C
      
      M308 S2 P"temp2" Y"thermistor" A"Chamber" T100000
      M308 S11 Y"drivers" A"Duet stepper drivers"
      
      ; Fans
      M950 F0 C"out3" ;Q250				                  ; create fan 0 on pin out3 and set its frequency
      M106 P0 S0 H-1 C"Part"                                ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"out5" ;Q500                                 ; create fan 1 on pin out5 and set its frequency
      M106 P1 S1 H1 T45 C"Hotend"                           ; set fan 1 value. Thermostatic control is turned on
      M950 F2 C"out4"
      M106 P2 C"Filter" S0 H-1
      ;M106 P2 C"Filter" S1 H0 T45
      
      ; Tools
      M563 P0 S"Main" 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
      
      ;Neopixel
      M150 X1 Q3000000                                       ; set LED type to NeoPixel and set SPI frequency to 3MHz
      M150 U150 P100                                        ; set to red, half brightness,
      
      ; Custom settings are not defined
      ; Misc
      ;M912 P0 S-4                         ; MCU temperature calibration (yours will be different)
      ;M572 D0 S0.075                      ; Pressure Advance
      M572 D0 S0.01                       ; Pressure Advance
      M592 D0 A0.015 B0.0012 L0.2         ; Non-linear extrusion
      M376 H10                            ; Fade mesh out compensation over 10mm Z
      
      
      ; DAA tuning (you will need to change this for your slicer)
      ;M593 F26.6                          ; Cura 4.5 stock profile @ 40mm/s outer printing speed
      ;M593 F42.5                          ; PrusaSlicer @ 40mm/s outer perimeter
      
      M671 X60:5:115 Y5:-10:115 P0.5 ; adjusting screws
      
      ; Miscellaneous
      T0                                                    ; select first tool
      M280 P1 S1
      M400
      M280 P1 S-1
      
      M98 P"/sys/lib/init.g"
      M501
      
      ; config-override.g file generated in response to M500 at 2023-02-26 17:50
      ; This is a system-generated file - do not edit
      ; Heater model parameters
      M307 H0 R0.240 K0.131:0.000 D5.22 E1.35 S1.00 B0
      M307 H1 R4.167 K0.511:0.000 D2.11 E1.35 S1.00 B0 V23.7
      ; Probed axis limits
      M208 S0 Z118.17
      ; Workplace coordinates
      G10 L2 P1 X0.00 Y0.00 Z0.00
      G10 L2 P2 X0.00 Y0.00 Z0.00
      G10 L2 P3 X0.00 Y0.00 Z0.00
      G10 L2 P4 X0.00 Y0.00 Z0.00
      G10 L2 P5 X0.00 Y0.00 Z0.00
      G10 L2 P6 X0.00 Y0.00 Z0.00
      G10 L2 P7 X0.00 Y0.00 Z0.00
      G10 L2 P8 X0.00 Y0.00 Z0.00
      G10 L2 P9 X0.00 Y0.00 Z0.00
      
      
      ; homez.g
      ; called to home the Z axis
      ;
      G91
      G1 H1 Z300 F800                  ; move Z down until the endstop is triggered
      M400
      G1 H2 Z-5 F300                    ;back away
      G1 H1 Z300 F60                    ;second pass
      G4 S1			                  ; wait 1s
      G90
      ;G92 Z119                        ; set Z position to axis minimum
      M400
      
      ;Start G-code
      M83               ; set extruder to relative mode
      
      G21               ; set units to mm
      
      T0                ; select tool 0
      
      G92 E0.0          ; reset extruder position
      
      M220 S100         ; reset speed multiplier
      
      G28               ; Home All Axes
      
      
      ;End G-code
      G91				; relative positioning
      
      M83                             ; extruder relative positioning
      
      G1 E-5.00 F1000                 ; retract 5mm of filament
      
      G1 Z1.00 X20.0 Y20.0 F20000     ; short quick move to disengage from print
      
      ;G1 Z10.00 F20000                ; move Z-Axis 10mm away from part
      
      G28 Z
      
      G90                             ; absolute positioning
      
      G1 X120 Y3120 F9000              ; move gantry close to home
      
      M104 S0                         ; turn off hotend
      
      M140 S0                         ; turn off heatbed
      
      M106 S0                         ; shut off blower
      
      M84                             ; turn off motors
      
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Phaedrux ok I let the nozzle top a piece of paper and then zero. But when I go to print the nozzle it a little too high. Do I change the Z0 to Z18.35

      ; Axis Limits
      40 M208 X0 YO Z0 S1
      41 M208 X120 Y120 Z120 SO
      
      
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Phaedrux ok, I got 118.85 from nozzle to bed switch. Look like it’s working, so I noticed z babystepping not working. I have to disable axis limit (M564 S0) to go closer to nozzle.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Karim how do I set z offset if the limit switch is at the bottom on the printer. As you can see I am homing at z max.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 Ok increasing current to 1amp does nothing. It’s just the first power up and home all stalls on X axis, it looks like the printer needs to warm the electronics. But once you get a successful home all everything seems to work, oh and something the z axis would stall on homing sometimes and that have a limit swith.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Z offset changes every print.

      @Phaedrux

      
      ; homeall.g
      ;  called to home all axes
       
       
      M98 P"/sys/homez.g"        
      M98 P"/sys/homex.g"  		
      M98 P"/sys/homey.g"  		
       
      G1 F9000 X60 Y60 Z60
      
      
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 ok i will try that, right now I have .63amps on both X and Y . I think the max current for the LDO (LDO-35STH52-1504 AH/VRN) stepper is 1.5amps.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      Ok Guys so My XY homes ok, but I have this problem every time the printer first power up and I try to home all Axis, X axis would not move, but I can home X along and it work ok. After I have a successful Home all the problem goes away till power off and on printer the it starts again.

      ; homeall.g
      ;  called to home all axes
       
      
      M98 P"/sys/homez.g"        
      M98 P"/sys/homex.g"  		
      M98 P"/sys/homey.g"  		
       
      G1 F9000 X60 Y60 Z60
      
      posted in General Discussion
      Karimundefined
      Karim
    • Z offset changes every print.

      Hey guys Voron 0.2 which is corexy with the bed Moving Up/Down. I have no Bed probe because the bed is only 120x120mm, So I do manual bed leveling. The problem I am having is the bed move up to the nozzle after every print so I have to Z babystepping every time I start printing,

      ; homez.g
      ; called to home the Z axis
      ;
      G91
      G1 H1 Z300 F800                  ; move Z down until the endstop is triggered
      M400
      G1 H2 Z-5 F300                    ;back away
      G1 H1 Z300 F60                    ;second pass
      G4 S1			                  ; wait 1s
      G90
      G92 Z119.5                        ; set Z position to axis minimum
      M400
      

      Start G-code

      M83               ; set extruder to relative mode
      G21               ; set units to mm
      T0                ; select tool 0
      G92 E0.0          ; reset extruder position
      M220 S100         ; reset speed multiplier
      G28               ; Home All Axes
      

      End G-code

      G91				; relative positioning
      M83                             ; extruder relative positioning
      G1 E-5.00 F1000                 ; retract 5mm of filament
      G1 Z1.00 X20.0 Y20.0 F20000     ; short quick move to disengage from print
      G28 Z                      ; Home Z
      G90                             ; absolute positioning
      G1 X310 Y310 F9000              ; move gantry close to home
      M104 S0                         ; turn off hotend
      M140 S0                         ; turn off heatbed
      M106 S0                         ; shut off blower
      M84                             ; turn off motors
      
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @blt3dp I am still testing, it still random stall when homing.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 ok,
      I am having Y stall sometime when homing.

      M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
      M915 Y S2 R0 F0 H200		    ; Sensitivity -5 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
      

      So I find changing the S value in Y makes it move. is that the right way of fixing it.

      M915 X S0 R0 F0 H200		    ; Sensitivity 0 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
      M915 Y S2 R9 F0 H200		    ; Sensitivity 9 [-64 --> 64], R - take no action, F - No filter, 200steps/sec
      
      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @Karim Hey guys does belt tension have anything to do with sensorless homing.

      posted in General Discussion
      Karimundefined
      Karim
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @moth4017 yes I have X & Y it working. But it still need tuning.

      posted in General Discussion
      Karimundefined
      Karim