PLEASE HELP trying to make duet work
-
I am trying to work with dobble motors in z ( 2 motors ), bltouch and sensorless... but nothing its working.. please some one help me
The thing is when i make a movment it work but homing not work
DUET 3 MINI all last versionsCONFIG
; 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.4 on Fri Oct 15 2021 18:08:53 GMT-0300 (Horário Padrão de Brasília); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name; 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 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z2:4 E0.3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z3200.00 E830.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 I30 ; 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 X215 Y210 Z200 S0 ; set axis maxima; Endstops
M574 X1 S3 ; configure sensorless endstop for low end on X
M574 Y1 S3 ; configure sensorless endstop for low end on Y
M574 Z1 S2 ; configure Z-probe endstop for low end on Z
; Stallguard Sensitivy
;
M915 X S2 F0 H100 R0 ; Set X axis Sensitivity
M915 Y S1 F0 H100 R0 ; Set Y axis Sensitivity; Z-Probe
M950 S0 C"io3.out" ; create servo pin 0 for BLTouch
M558 P9 C"^io3.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"temp0" Y"thermistor" T100000 B4138 ; 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 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S280 ; set temperature limit for heater 1 to 280C; Fans
M950 F0 C"out5" Q500 ; create fan 0 on pin out5 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
M106 P1 S1 H1 T45 ; 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; Custom settings are not defined
HOMEALL
; homeall by executing individual axes homing macros
M98 homex.g
M98 homey.g
M98 homez.gHOMEX
M400 ; wait til stuff stops
M574 X1 Y1 S3 ; use stall guard for endstops
M913 X30 Y30 ; drop motor currents to 30%
M201 X1000 Y1000 ; reduce acceleration on X/Y to stop false triggers
M915 P0:1 S3 R0 F0 H400; both motors because corexy; Sensitivity 4, don’t take action, don’t filter, 400steps/sec
G91 ; set relative
G1 Z5 F1200 S2
G1 S1 X-250 F4000 ; move left 250mm, stopping at the endstop
G1 X10 F1200; move away from end
G1 Z-5 F1200 S2
G90 ; back to absolute positioning
M400 ; wait again
M913 X100 Y100 ; motor currents back to 100%
M201 X3000 Y3000 ; accel back to original
M574 X1 Y1 Z0 S0 ; set endstops backHOMEY
M400 ; wait til stuff stops
M574 X1 Y1 S3 ; use stall guard for endstops
M913 X30 Y30 ; drop motor currents to 30%
M201 X1000 Y1000 ; reduce acceleration on X/Y to stop false triggers
M915 P0:1 S3 R0 F0 H400; both motors because corexy; Sensitivity 4, don’t take action, don’t filter, 400steps/sec
G91 ; set relative
G1 Z5 F1200 S2
G1 S1 Y-250 F4000 ; move forward 250mm, stopping at the endstop
G1 Y10 F1200; move away from end
G1 Z-5 F1200 S2
G90 ; back to absolute positioning
M400 ; wait again
M913 X100 Y100 ; motor currents back to 100%
M201 X3000 Y3000 ; accel back to original
M574 X1 Y1 Z0 S0 ; set endstops backHOMEZ
M400
; slow down for probing
M566 Z10 ; max instantaneous speed change (mm/min) (jerk)
M203 Z400 ; max speed (mm/min)
M201 Z100 ; max acceleration (mm/s^2); probe
M558 A1 F400 ; set single probe at faster feed rate
G30 ; probe
M558 A10 F100 ; set single probe at slower feed rate (more accurate)
G30 ; probe to get a more accurate postionM400
; set normal speeds
M566 Z60 ; max instantaneous speed change (mm/min) (jerk)
M203 Z900 ; max speed (mm/min)
M201 Z20 -
@josegerdes what part of homing does not work. I see that you are using stall homing, have you tuned your settings for stall detection?
https://duet3d.dozuki.com/Wiki/Stall_detection_and_sensorless_homing
-
@t3p3tony no I didn’t because i dont know how to start i thing my config its all wrong…. Can you send me the correct config, i tune here…
The X and Y homing is not working. It just dont stop… and the Z when i home the dobble motor not work, it forget about dobble motor -
The syntax for M98 is:
M98 P"homex.g"
Notice the P and the " " around the name of the file.
Frederick
-
@josegerdes said in PLEASE HELP trying to make duet work:
M569 P0.0 S1 ; physical drive 0.0 goes forwards
M569 P0.1 S1 ; physical drive 0.1 goes forwards
M569 P0.2 S0 ; physical drive 0.2 goes forwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z2:4 E0.3 ; set drive mappingThe M569 definition for 4 is missing.
-
@josegerdes said in PLEASE HELP trying to make duet work:
The X and Y homing is not working. It just dont stop…
That's why you need to follow the tuning documentation.
Also a couple of other issues have been highlighted in your configuration that should be fixed.
-
@t3p3tony i did… i lk try to fix all that to se if works.. realy i soent all day hahaah
-
@fcwilt said in PLEASE HELP trying to make duet work:
M98 P"homex.g"
now Z its working but sensorless not sensing the end...
M400 ; wait til stuff stops
M574 X1 Y1 S3 ; use stall guard for endstops
M913 X60 Y60 ; drop motor currents to 30%
M201 X800 Y800 ; reduce acceleration on X/Y to stop false triggers
M915 P0 S1 R0 F0; Sensitivity 4, don’t take action, don’t filter
G91 ; set relative
G1 Z5 F1200 S2
G1 S1 X-250 F4000 ; move left 250mm, stopping at the endstop
G1 X10 F1200; move away from end
G1 Z-5 F1200 S2
G90 ; back to absolute positioning
M400 ; wait again
M913 X100 Y100 ; motor currents back to 100%
M201 X3000 Y3000 ; accel back to original
M574 X1 Y1 Z0 S0 ; set endstops backAnd z its in a strange loop i need to check... why
-
@josegerdes said in PLEASE HELP trying to make duet work:
@fcwilt said in PLEASE HELP trying to make duet work:
M98 P"homex.g"
now Z its working but sensorless not sensing the end...
M400 ; wait til stuff stops
M574 X1 Y1 S3 ; use stall guard for endstops
M913 X60 Y60 ; drop motor currents to 30%
M201 X800 Y800 ; reduce acceleration on X/Y to stop false triggers
M915 P0 S1 R0 F0; Sensitivity 4, don’t take action, don’t filter
G91 ; set relative
G1 Z5 F1200 S2
G1 S1 X-250 F4000 ; move left 250mm, stopping at the endstop
G1 X10 F1200; move away from end
G1 Z-5 F1200 S2
G90 ; back to absolute positioning
M400 ; wait again
M913 X100 Y100 ; motor currents back to 100%
M201 X3000 Y3000 ; accel back to original
M574 X1 Y1 Z0 S0 ; set endstops backAnd z its in a strange loop i need to check... why
Hi,
I cannot help you with sensorless homing as it is not something I have every attempted to do and do not know the procedures to follow.
Frederick
-
maybie its this bug https://forum.duet3d.com/topic/21108/stall-detection-on-duet-3-mini/7
-
now worket without the
; Stallguard Sensitivy
M915 X S60 F0 R0 ; Set X axis Sensitivity
M915 Y S60 F0 R0 ; Set X axis Sensitivity
probably the defalt confg? addded D30 V40 to drivers