@jay_s_uk the changes I made were after the files I posted, but I will post them when I get home from work tonight
Best posts made by wrenches
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
Latest posts made by wrenches
-
RE: Adjusting part cooling fan speed turns off extruder fan
@jay_s_uk thank you for your help, it works as it should now
-
Adjusting part cooling fan speed turns off extruder fan
I have my extruder fan (Fan 1) thermostatically controlled, and my part cooling fan (Fan 0) set up to just run when instructed to do so by the user or gcode. When the hot end gets to 50C the extruder fan turns on most of the time but sometimes will just sit there and hum. To make matters worse, when I adjust the speed or turn off the part cooling fan, it shuts off the extruder fan, even though the extruder is at full temp....
Any ideas?
Jeremy
; Configuration file for Duet WiFi (firmware version 3.3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time) ; General preferences M575 P1 S1 B57600 ; enable support for PanelDue G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Makergear M2" ; set printer name ; Network M551 P"XXXXXXXXXX" ; set password M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X88.89 Y88.89 Z1011.90 E430.00 ; set steps per mm M566 X900.00 Y900.00 Z24.00 E60.00 ; set maximum instantaneous speed changes (mm/min) M203 X12000.00 Y12000.00 Z1500.00 E1500.00 ; set maximum speeds (mm/min) M201 X800.00 Y800.00 Z200.00 E10000.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 X230 Y255 Z200 S0 ; set axis maxima ; Endstops M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop ; Z-Probe M558 P0 H0 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:190 Y15:235 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S130 ; set temperature limit for heater 0 to 130C M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1 M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S400 ; set temperature limit for heater 1 to 400C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T50 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F1:0 ; define tool 0 G10 P0 X-3 Y4 Z-5.15 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined ; Miscellaneous M501 ; load saved parameters from non-volatile memory T0 ; select first tool M555 P2; Set compatibility to Marlin
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
@rjenkinsgb Heres what I put and it seems to work perfectly. Hopefully this will improve the repeatability of my z axis. Thanks for your input!
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time)
G91 ; relative positioning
G1 H2 Z0 F6000 ; lift Z relative to current position
G1 H1 Z205 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 Z-5 F6000 ; go back a few mm
G1 H1 Z10 F360 ; move slowly to X axis endstop once more (second pass)
G92 Z200 ; set Z position to axis maximum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z0 F100 ; lift Z relative to current position
;G90 ; absolute positioningAs for the wifi issue, I have done the in app firmware update the @ajdtreyd suggested, and we will see if I continue to have dropouts.
Thank you for your help everyone!
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
@jay_s_uk the changes I made were after the files I posted, but I will post them when I get home from work tonight
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
@rjenkinsgb I briefly tried that last night but I didn’t restart the printer afterwards. Does the board need a restart for changes to the homing files like it does for the config.g? Or are they essentially just macros that read from the hone files as they are used?
Jeremy
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
@ajdtreyd thank you
I noticed that it seems to drop connection with my octopi at the same time as it drops the wifi connection. The octopi throws a message that says the printer experienced an error and dropped the connection. I dont know if the duet it breaking the connection, or just glitching or restarting
-
RE: Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
Thanks @alankilian here is the info you mentioned:
Config.g
; Configuration file for Duet WiFi (firmware version 3.3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time); General preferences
M575 P1 S1 B57600 ; enable support for PanelDue
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Makergear M2" ; set printer name; Network
M551 P"**********" ; set password
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X88.89 Y88.89 Z1011.90 E430.00 ; set steps per mm
M566 X900.00 Y900.00 Z24.00 E60.00 ; set maximum instantaneous speed changes (mm/min)
M203 X12000.00 Y12000.00 Z1500.00 E1500.00 ; set maximum speeds (mm/min)
M201 X800.00 Y800.00 Z200.00 E10000.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 X230 Y255 Z200 S0 ; set axis maxima; Endstops
M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
M574 Z2 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin zstop; Z-Probe
M558 P0 H0 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
M557 X15:190 Y15:235 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; 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
M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S130 ; set temperature limit for heater 0 to 130C
M308 S1 P"spi.cs1" Y"rtd-max31865" ; configure sensor 1 as thermocouple via CS pin spi.cs1
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
M143 H1 S400 ; set temperature limit for heater 1 to 400C; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T50 ; set fan 1 value. Thermostatic control is turned on; Tools
M563 P0 D0 H1 F1:0 ; define tool 0
G10 P0 X-3 Y4 Z-4.75 ; set tool 0 axis offsets
G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memory
T0 ; select first toolConfig-override.g
; config-override.g file generated in response to M500 at 2021-11-07 16:06
; This is a system-generated file - do not edit
; Heater model parameters
M307 H0 R0.206 C727.664:727.664 D16.27 S1.00 V23.7 B0 I0
M307 H1 R2.186 C278.525:278.525 D6.39 S1.00 V23.8 B0 I0
; 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.00homeall
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time)
G91 ; relative positioning
G1 H2 Z0 F6000 ; lift Z relative to current position
G1 H1 X-235 Y-260 F3600 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X5 Y5 F6000 ; go back a few mm
G1 H1 X-235 Y-260 F360 ; move slowly to X and Y axis endstops once more (second pass)
G1 H1 Z205 F360 ; move Z up stopping at the endstop
G90 ; absolute positioning
G92 Z200 ; set Z position to axis maximum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z0 F100 ; lift Z relative to current position
;G90 ; absolute positioninghomex
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time)
G91 ; relative positioning
G1 H2 Z0 F6000 ; lift Z relative to current position
G1 H1 X-235 F3600 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X5 F6000 ; go back a few mm
G1 H1 X-235 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z0 F6000 ; lower Z again
G90 ; absolute positioninghomey
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time)
G91 ; relative positioning
G1 H2 Z0 F6000 ; lift Z relative to current position
G1 H1 Y-260 F3600 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y5 F6000 ; go back a few mm
G1 H1 Y-260 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z0 F6000 ; lower Z again
G90 ; absolute positioninghomez
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.3.5 on Sun Nov 07 2021 17:10:06 GMT-0700 (Mountain Standard Time)
G91 ; relative positioning
G1 H2 Z0 F6000 ; lift Z relative to current position
G1 H1 Z205 F3600 ; move Z up until the endstop is triggered
G92 Z200 ; set Z position to axis maximum (you may want to adjust this); Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z0 F100 ; lift Z relative to current position
;G90 ; absolute positioningM115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
M122
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later
Board ID: 08DGM-917DA-G4MSJ-6JTD4-3S06Q-99PRB
Used output buffers: 3 of 24 (11 max)
=== RTOS ===
Static ram: 23876
Dynamic ram: 75196 of which 0 recycled
Never used RAM 15344, free system stack 150 words
Tasks: NETWORK(ready,11.6%,237) HEAT(delaying,0.0%,314) Move(notifyWait,0.1%,321) MAIN(running,85.3%,445) IDLE(ready,2.9%,29), total 100.0%
Owned mutexes: WiFi(NETWORK)
=== Platform ===
Last reset 00:00:32 ago, cause: power up
Last software reset at 2021-11-07 19:45, reason: User, GCodes spinning, available RAM 15344, slot 1
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 18.6, current 23.1, max 23.4
Supply voltage: min 24.0, current 24.1, 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
Driver 0: position 0, standstill, SG min/max not available
Driver 1: position 0, standstill, SG min/max not available
Driver 2: position 4807, standstill, SG min/max 0/64
Driver 3: position 0, standstill, SG min/max not available
Driver 4: position 0, standstill, SG min/max not available
Driver 5: position 0
Driver 6: position 0
Driver 7: position 0
Driver 8: position 0
Driver 9: position 0
Driver 10: position 0
Driver 11: position 0
Date/time: 2021-11-07 20:22:08
Cache data hit count 1189597590
Slowest loop: 25.57ms; fastest: 0.17ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 4.1ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, maxWait 341ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 1, completed moves 1, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
Heater 1 is on, I-accum = 0.0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
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
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 15.64ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
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.26
WiFi MAC address 60:01:94:2e:9e:75
WiFi Vcc 3.28, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 25816
WiFi IP address 192.168.1.79
WiFi signal strength -60dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
- WiFi -
-
Duet 2 wifi - Z axis doesnt double-home, wifi constantly drops
Hey Everyone, I have a Makergear M2 that I just converted to work with a Duet 2 wifi. I am well versed in Marlin and my printers original Rambo board, but Duet is all new to me. My main issues are:
-
x and y home quickly and then do a second pass at a much slower speed for accuracy. Z does not do this and essentially slams into the sensor and stops. I believe that this is introducing inaccuracy in the home position because i had to add almost an extra mm to the z offset to get the nozzle to clear (I home at Z max). Also when I home, I have to move the bed up 1 mm to hear the micro switch click.
-
The wifi is CONSTANTLY dropping connection. I have the duet with the internal antenna, and my signal is around 59-61. I'm considering just trying to use my canvas (octoprint) hub just so I can avoid the constant, and often really badly timed, wifi interruptions.
Any help would be awesome with these issues. Very excited to get printing again using the Duet, as the motors are 1000x quieter with the new board!
Jeremy
-