Duet2 Wifi reboots on homing Z
-
@BrooksT said in Duet2 Wifi reboots on homing Z:
Software reset code 0x4053
Usb active
Bus error.
G Code was activedo you have usb connected?
-
No USB connected.
-
Config file:
;3DP-D Super 7 1:20 Z
M111 S0 ; Debug off
M550 Psuper9 ; Machine name and Netbios name (can be anything you like)
M551 PfrnkPOTfrnk ; Machine password (used for FTP);*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
;networking
M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
M552 S1 ; start wifi S2 OR S1 network
M552 P10.23.17.218 ; static IP
M553 P255.255.255.0 ; netmask
M554 P10.23.17.254 ; gateway;Settings
M555 P2 ; Set output to look like Marlin
G21 ; Work in mm
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves;Motor Direction
M584 X5 Y6 Z7 E9:3 ; Set drive mapping Axis and motor configuration
M569 P5 S0 R0 T4 ; Drive 0 goes forwards X
M569 P6 S0 R0 T4 ; Drive 1 goes forwards Y
M569 P7 S1 R0 T4 ; Drive 2 goes reverse Z
M569 P9 S1 R0 T4 ; Drive 6 goes reverse E
M569 P3 S0 ; Drive 4 in reverse - E1;Motor Ranges
M574 X2 Y1 Z2 S0 ;Endstop configuration
M208 X420 Y360 Z455 ; set axis maxima and high homing switch positions (adjust to suit your machine) (Z was 480) (386.5 = plaster bat)
M208 X0 Y0 Z0 S1 ; set axis minima and low homing switch positions (adjust to make X=0 and Y=0 the edges of the bed);Motor Speeds
M92 X71 Y71 ; Set axis steps per unitX72.70 Y70.85
M350 X16 Y16 Z16 E16:16 I1 ; Set 1x microstepping with interpolation
M92 Z7586 E42:805 ; Steps/mm for Z and E WAS 8 (E was 42:805)
M906 X0 Y0 Z0 E0:700 I30 ; Set motor currents (mA) and increase idle current to 60%
M201 X1000 Y1000 Z1000 E3000:250.00 ; Accelerations (mm/s^2) (Z WAS 3000)
M203 X6000 Y6000 Z3500 E10000:1200.00 ; Maximum speeds (mm/min)
M566 X500 Y500 Z1000 E3000:120.00 ; Maximum instant speed changes mm/minute (Z WAS 3000);M581 X Y Z T0 S1 C1 ;Configure external trigger
;Tool definitions
; Tools
;M563 P0 D0 H1 F1:2 ; Define tool 0 - use extruder 0, heater 1, fan 1, and fan 2;M563 P0 D0 ; Define or remove a tool
G10 P1 ; Set tool number 1
T0 ; Select tool 0
M302 P1 ; Allow cold extrusion
M140 H-1 ; Bed Off;Misc
M83 ; Set extruder to relative mode
M302 P1 ; Allow cold extrudesTools;
M563 P1 S"Clay" D0 ; Define tool 1
M563 P2 S"plastic" D1 H2 ; Define tool 2
G10 P1 X0 Y0 Z0 ; Set tool 1 axis offsets
G10 P2 X134 Y-18 Z0 ; Set tool 2 axis offsets
M106 P0 S0.3 I0 F500 H1 T45 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on;Extruder 2 (plactic
M305 P2 T100000 B4138 R4700 ; Set thermistor + ADC parameters for heater 2
M143 H2 S280 ; Set temperature limit for heater 2 to 280C
M106 P1 S0 ; Turn off fan by default;Heaters
;M303 H2 S240
M307 H2 A300 C140 D5.5 B0 S0.5 -
homez.g:
G91 ;Set to Relative Positioning
G1 S1 Z600 F6000 ;Move Z rail to limit switch until pressed
G1 S2 Z-3 F250 ;Back off Z rail from limit switch a small amount
G1 S1 Z10 F150 ;Move Z rail to limit switch slowly
G90 ;Absolute position -
@BrooksT said in Duet2 Wifi reboots on homing Z:
M584 X5 Y6 Z7 E9:3 ; Set drive mapping Axis and motor configuration
why do you have a duex5 if yo only use 5 drivers?
can you post a picture of the power connection of both duet and duex and psu?
-
Duex5 is for future upgrades. It's in an enclosure so I can't easily get a pic.
FWIW, working fine after reverting to firmware 2.04.
-
did you follow the wiring guide?
https://duet3d.dozuki.com/Wiki/Duex2_and_Duex5_Features#Section_Wiring -
@BrooksT said in Duet2 Wifi reboots on homing Z:
M92 Z7586 E42:805 ; Steps/mm for Z and E WAS 8 (E was 42:805)
M906 X0 Y0 Z0 E0:700 I30 ; Set motor currents (mA) and increase idle current to 60%
M201 X1000 Y1000 Z1000 E3000:250.00 ; Accelerations (mm/s^2) (Z WAS 3000)
M203 X6000 Y6000 Z3500 E10000:1200.00 ; Maximum speeds (mm/min)I think it is triggered by the combination of your very high Z steps/mm in M92 and your high Z movement speed in M203. 3500mm/min is 58.33mm/sec, times 7586 steps/mm gives a step rate of 442.5 kHz, which is higher than the Duet can manage. It should be inserting hiccups to reduce the Z speed, but it looks like that mechanism isn't working properly. Try reducing the max Z speed from 3500 to 600.
-
What kind of a Z axis is this to have such high steps per mm?
-
@dc42 Thanks... will do!
This is a 3D Potter Super 9. All of the axes use a worm gear reduction on closed loop steppers. The steppers have settings for pulses per rotation; it may be possible for me to get the same movement with fewer steps by changing multipliers.