Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order
    1. Home
    2. moth4017
    • Profile
    • Following 0
    • Followers 2
    • Topics 43
    • Posts 431
    • Best 31
    • Controversial 1
    • Groups 0

    moth4017

    @moth4017

    36
    Reputation
    31
    Profile views
    431
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    moth4017 Unfollow Follow

    Best posts made by moth4017

    • for the DWC wish list

      when you go to back up the Macros and system files it saves them as the name "download" would be nice if it was macros[date] and system[date]

      Cheers

      posted in Duet Web Control wishlist
      moth4017
      moth4017
    • RE: M308 add a new sensor

      BME connected and working , i have used spi.cs2

      M308 s11 y"bme280" p"spi.cs2" A"Ambient temp"
      M308 s12 y"bmepressure" p"s11.1" A"Pressure[hPa]"
      M308 s13 y"bmehumidity" p"s11.2" A"Humidity[%]"

      cf7e4170-657a-4a27-8a85-cac90f2e42bc-image.png

      A bit of info as the Pin out description on the BME not the same as Duet board

      Duet Temp Daughter Board to BME 280
      pin 1 .................................................. CSB
      pin2 ................................................... GND
      pin3
      pin4.................................................... SCL
      pin5 ................................................... SDA
      pin6.................................................... SDO
      pin7
      pin8................................................... VCC
      pin9
      pin10

      posted in Duet Hardware and wiring
      moth4017
      moth4017
    • RE: Write a plugin for DWC- solved using BtnCmd.

      @jay_s_uk
      Hi yes it will be all shared , plus we will also put in the acknowledgements and web links etc to all the other contributors

      posted in Duet Web Control
      moth4017
      moth4017
    • RE: G29 Mesh Level: Pass / Fail Tolerance

      @CCS86 i do the deviation check in the bed.g G32

      ;G32  Auto calibration routine for large bed
      M561                    ; clear any bed transform
      
      ; If the printer hasn't been homed, home it
      if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
        G28
      M98 P"/macros/ProbePickUp"	; probe pick up
      
      ; Probe the bed and do auto calibration
      ;G1 X149.5 Y179.5 Z30 F6000        ; go to just above the first probe point
      ;G30 P0 X152.5 Y152.5 S-2
      G28 Z
      ;echo sensors.probes[0].lastStopHeight , "REF center probe"
      
      while true
        if iterations = 5
          abort "Too many auto calibration attempts"
        G30 P0 X5 Y5 Z-99999               ; probe starboard bow 
        echo sensors.probes[0].lastStopHeight, "P0"
        if result != 0
          continue
        G30 P1 X305 Y5 Z-99999             ; probe port bow
        echo  sensors.probes[0].lastStopHeight, "P1"
        if result != 0
         continue
        ;G30 P2 X305 Y276 Z-99999          ; probe port stern
       ; echo  sensors.probes[0].lastStopHeight, "P2"
        ;if result != 0
        ; continue
        G30 P2 X152.5 Y276 Z-99999  s3           ; probe port bow
        echo  sensors.probes[0].lastStopHeight, "P3"
        if result != 0
         continue
        if move.calibration.initial.deviation <= 0.02
         break
        echo "Repeating calibration because deviation is too high (" ^ move.calibration.initial.deviation ^ "mm)"
      ; end loop
      echo "Auto calibration successful, deviation", move.calibration.final.deviation ^ "mm"
      M558 F200
      ;G1 F6000 X152.5 Y152.5				; probe to center bed 	
      echo" center probe"
      ;G30 P0 X152.5 Y152.5 S-2								;single probe
      ;echo  sensors.probes[0].lastStopHeight 
      G28 Z
      M98 P"/macros/ProbeDropOff"	; probe drop off
      M558 F600
      G1 Z30 F10000                ; get the head out of the way
      

      and just use the mesh.g file G29 for fine tuning

      posted in Gcode meta commands
      moth4017
      moth4017
    • RE: 3.4.1 rc2 G30 turns off Z motors

      @dc42, @infiniteloop ,@OwenD and all the others that have come up with ideas for this and my other issues re sensorless homing , i decided to go back to square one and rewrite all the macros and configs, i now have a machine that seems to be doing everything it should . so im posting all the files that i have working.

      thes files are for a core XY , belt driven Z with a gearbox ratio 4:1

      ; Config.g
      G90                                            	; send absolute coordinates...
      M83                                            	; ...but relative extruder moves
      M550 P"Valkyrie 3030 V003"                     	; set printer name
      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 	D3								; physical drive 4 goes forwards D3=stealthchop
      M569 P0.5 S0 	D3								; physical drive 5 goes backwards
      M569 P0.6 S1 	D3								; physical drive 6 goes forwards 
       
      
      M584 X1 Y0 Z0.4:0.5:0.6 E3		           		; 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 Z20.00 E100.00 P1        	; set maximum instantaneous speed changes (mm/min) jerk
      M203 X24000.00 Y24000.00 Z4000.00 E400.00   	; set maximum speeds (mm/min)
      M201 X2200.00 Y2200.00 Z50.00 E250.00 	     	; set accelerations (mm/s^2)
      M906 X1000 Y1000 Z1000 E800 I50                	; set motor currents (mA) and motor idle factor in per cent
      M84  X Y S20									; Set idle timeout sec
      
      ; Axis Limits
      M208 S1 X-28 Y5 Z0								; set axis minima "Travel Area"
      M208 S0 X290 Y295 Z405                          ; set axis maxima "Travel area"
      
      ; Endstops
      M574 X1 S4										; configure sensorless endstop, 1 = low end, 2 = high end. S4 multipule motors
      M574 Y2 S4										; 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. S4 multipule motors
      M671 X-20:300:150 Y0:0:280 S25					; leadscrews at front left,front right, rear Center s= max correction factor  must be in same order as M584
      
      
      
      M558 P8 C"!io3.in" H10 F2000 T6000 R0 A2 S0.05  	; set Z probe type to unmodulated and the dive height + speeds
      G31 P500 Z0.5										; set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed
      G31 P500 X27 Y-15              						; set x,y trigger value, offset and trigger height
      M557 X10:290 Y10:285 S100                     		; define mesh grid
      
      ; Heaters
      ;Bed
      M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" 		; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"out0" 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 thermistor on pin e0temp (104gt2)
      M950 H1 C"out1" T1                           					; create nozzle heater output on e0heat and map it to sensor 1
      M307 H1 R3.558 K0.357:0.000 D9.14 E1.35 S1.00 B0 V23.8			; disable bang-bang mode for heater  and set PWM limit
      M143 H1 S320                                   					; 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
      
      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"out4" 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 T45	C"Extruder Fan"					; set fan 1 value. Thermostatic control is turned on
      
      ; 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 are not defined
      M98 P"/macros/home_max_Z"
      
      ;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
      
      ; homex.g
      echo "start"
      M569 P0.0										; Check status in console
      M569 P0.1										; Check status in console
      G91                                             ; relative positioning
      M569 P0.0 S1 D3 V10                             ; set to stealth chop
      M569 P0.1 S1 D3 V10								; set to stealth chop
      M915 P0.0:0.1 S10 F0 R1 H200                    ; Configure Z-Axis Stall Detection
      
      echo "stall detection setup"
      M17 X Y										; Check status in console
      G1 P140											;pause to allow the drivers to characterise the motor    
      G1 H1 X-0.2 F3000								; move a  little  for cal of sensorless homing / not stalled
      G1 H1 Y-0.2 F3000    							; move a  little  for cal of sensorless homing / not stalle							
      
      echo "lower motor current"
      M913 X70 Y70									; Lower motor current %
      G4 P150											; wait 150ms
      M574 X1 Y2 S4									; Configure Z-Axis stall detection homing
      M569 P0.0										; Check status in console
      M569 P0.1										; Check status in console
      		
      echo "home x"
      G1 H1 X-350 F6000
      G1 H2 X10 Y10
      G1 H1 X-350 F6000						; Home Z-Axis actuators independently
      M569 P0.0										; Check status in console
      M569 P0.1										; Check status in console
      G90 											; absolute positioning
      G1 X150 F6000									; move to center of bed
      
      ;revert back 
      echo "after revert back"
      M913 X100  Y100									; Reset motor current %
      M569 P0.0 S1 D2									; reset motors back to spread cycle,
      M569 P0.1 S1 D2									; reset motors back to spread cycle,
      M569 P0.0										; Check status in console
      M569 P0.1										; Check status in console
      
      ;homey.g
      												; Relative positioning
      echo "Home Y"
      M569 P0.0										; check status in console
      M569 P0.1										; check status in console; relative positioning
      G91
      M569 P0.0 S1 D3 V10                             ; set to stelth chop
      M569 P0.1 S1 D3 V10								; set to stelth chop
      M915 P0.0:0.1 S10 F0 R1 H200                    	; Configure Z-Axis Stall Detection
      
      echo "stall detection setup"
      M17 X Y	
      G1 P140
      G1 H1 X-0.5 F3000                               ; move a  little  for cal of sensorless homing / not stalled
      G1 H1 Y-0.5 F3000    							; move a  little  for cal of sensorless homing / not stalled
      
      echo "lower motor current"
      M913 X70 Y70									; Lower motor current %
      G4 P150
      M574 X1 Y2 S4                           		; Configure Z-Axis stall detection homing
      M569 P0.0										; check status in console
      M569 P0.1										; check status in console
                                                 	; make sure everything has stopped before we make changes
      echo "Home Y"
      G1 H1 Y350 F6000
      G1 H2 X-10 Y10
      G1 H1 Y350 F6000                       	; Home Z-Axis actuators independently											
      M569 P0.0										; check status in console
      M569 P0.1										; check status in console
      G90 											; absolute positioning
      G1 Y150 F6000									; move to center of bed		
      
      ;revert back 
      echo "after revert  back"
      M913 X100  Y100                               ; Reset motor current
      M569 P0.0 S1 D2                                 ; reset motors back to spread cycle,
      M569 P0.1 S1 D2									; reset motors back to spread cycle,
      M569 P0.0										; check status in console
      M569 P0.1										; check status in console
      
      ; homez.g
      echo "home Z.g "
      G90													; absolute positioning
      G1 F6000 X150 Y150									; make sure X Y centreed	
      G91													; Relative positioning
      echo "Homing Z"
      G30  		                  						; Home Z-Axis actuators independently
      G90													; absolute positioning
      G1 Z25 F4000 										;move away a little
      
      ; home_max_Z
      M400                                                ; make sure everything has stopped before we make changes
      G91                                 				; relative positioning
      M569 P0.4 S1 D3 V10                                 ; set to stelth chop
      M569 P0.5 S0 D3 V10     							; set to stelth chop
      M569 P0.6 S1 D3 V10									; set to stelth chop
      M915 P0.4:0.5:0.6 S0 F0 R1 H200                   	; Configure Z-Axis Stall Detection
      M574 Z2 S4                                       	; Configure Z-Axis stall detection homing
      M400     											; make sure everything has stopped before we make changes
      G1 H1 Z-0.2 F3000									; move a  little  for cal of sensorless homing / not stalled
      M400 												; make sure everything has stopped before we make changes
      M913 Z70	                                  		; Lower motor current by 50%
      G1 H1 Z350 F3000                       				; Home Z-Axis actuators independently
      M400                                             	; make sure everything has stopped before we make changes
      G92 Z290											; set a Z height
      G90													; absolute positioning
      
      ;revert back 
      M913 Z100                                    		; Reset motor current
      M569 P0.4 S1 D2                                    	; reset motors back to spread cycle,
      M569 P0.5 S0 D2     								; reset motors back to spread cycle,
      M569 P0.6 S1 D2										; reset motors back to spread cycle,
      M84													; turn off motors
      
      ;3PL
      echo "3PL"
      G30 P0 X10 Y0 Z-99999 		; probe near a leadscrew
      G30 P1 X290 Y0 Z-99999 		; probe near a leadscrew
      G30 P2 X150 Y270 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
      G1 X0 Y0 F6000	
      
      posted in Firmware installation
      moth4017
      moth4017
    • RE: need Guru on duet 3 mini5 using stall guard/sensor less homing

      @oliof
      thanks, that's interesting to know, ive mainly seen them on Z axis , but have also seen them on X too now and again.

      i suppose i could set a new sensitivity (S parameter) at the end of the homing routines .

      posted in Tuning and tweaking
      moth4017
      moth4017
    • RE: Duet 3 mini 5+ wifi sensorless homing - Help

      @Karim you might find it easier to create your home x,y,z macros first a d in home all just call the macros in your home all like below
      ;homeall.g
      M98 P" homex.g"
      M98 P" homey.g"
      M98 P"homez.g"

      posted in General Discussion
      moth4017
      moth4017
    • RE: DWC Duet Web Control 3.4.0-rc2 no extrude or retract

      @moth4017

      Ok even though the firmware new that the tool T0 was selected adding T0 to the config seems to have fixed this issue.

      posted in Duet Web Control
      moth4017
      moth4017
    • RE: any way to pass parameters to start.g?

      Would be nice on the heated chamber set chamber to 80C and not start printing untill upto temperature

      posted in Tuning and tweaking
      moth4017
      moth4017
    • RE: end gcode causes bed to raise

      @nick9one1

      you have a G28 in you end code, and in your start code you can do G32 for your beg.g file

      posted in General Discussion
      moth4017
      moth4017

    Latest posts made by moth4017

    • RE: RepRapFirmware Discord

      i use both discord and the duet forums both provide great support just different 🙂

      posted in General Discussion
      moth4017
      moth4017
    • RE: Duet 3 Mini 5 Sensorless Homing 0.9 degree motors

      @ctilley79 i had similar issues with the 2209s switched too 5160's has been so much easier

      posted in Tuning and tweaking
      moth4017
      moth4017
    • RE: beta 3.5b2 no wifi re connection after emergency stop

      ive also tried this on a stm board running 3.5b2 same issue if you press "emergency stop" in DWC you get the "Please stand by "........ message untill you reset the control board.

      posted in Beta Firmware
      moth4017
      moth4017
    • RE: Pt1000/100 R value not working as expected

      @T3P3Tony im using a octopus pro v1 , has the max 31865 on board.

      they use a ref 430R and a 4k3

      posted in STM
      moth4017
      moth4017
    • Pt1000/100 R value not working as expected

      Ver 3.5 b2
      if i connect a PT100
      M308 S1 P"F.8" Y"rtd-max31865" F50 R430
      this works

      if i connect a PT1000
      M308 S1 P"F.8" Y"rtd-max31865" F50 R4300
      This does not work value displayed in DWC 2000C

      If i connect a PT1000
      M308 S1 P"F.8" Y"rtd-max31865" F50 R430
      this works

      it seem the selecting R4300 for the PT1000 isnt working as expected

      posted in STM
      moth4017
      moth4017
    • RE: Z Motors with Different steps per mm

      @SignPostMan is the drifting down a problem?, i have a bed suspended on belts so have the same issue when the power is lost, but i just home it when ive finished printing at Z max , in your case it would be z min, you could move the head off the bed and let it home on physical stops.

      posted in General Discussion
      moth4017
      moth4017
    • RE: 2 of my Triple Z motors moving twice as far

      @cdsmith12 Are you 3 lead screws the same Pitch? turn each one manually 1 full turn and see if each corner moves the same amount.

      posted in Duet Hardware and wiring
      moth4017
      moth4017
    • RE: beta 3.5b2 no wifi re connection after emergency stop

      Also i have noticed that i cannot connect to the printer, if the printer is on before the PC which i use to connect to the printer . pressing the reset button on the printer then gets a connection .

      posted in Beta Firmware
      moth4017
      moth4017
    • RE: 2 of my Triple Z motors moving twice as far

      @cdsmith12 are the stepper motors the same e.g 1.8 or 0.9 deg per step?

      posted in Duet Hardware and wiring
      moth4017
      moth4017
    • RE: G30 question

      @jens55

      i think you need this in your config
      ; Z sensor
      M558 P8 C"!io3.in" H15 F2000:300 T12000 R0 A10 S0.01

      that a look at the link below to see the function

      https://docs.duet3d.com/User_manual/Reference/Gcodes#m558-set-z-probe-type

      posted in Tuning and tweaking
      moth4017
      moth4017