DuetWifi delta homing doesn't complete
-
Hi,
I've built a large kossel based on dc42's design. After wiring everything and running G28 to home I've noticed that it never completes.
My config.g:[[language]] ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Fri Dec 22 2017 18:14:30 GMT+0200 (EET) ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P1 ; Set firmware compatibility to look like RepRapFirmare ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration. M665 R200 L180 B150 H720 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; Put your endstop adjustments here, or let auto calibration find them M208 Z0 S1 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S1 ; Set active high endstops M558 P5 R0.4 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to effector, the axes for which it is used and the dive height + speeds G31 P100 X0 Y0 Z-0.1 ; Set Z probe trigger value, offset and trigger height M557 R150 S20 ; Define mesh grid ; Drives M569 P0 S0 ; Drive 0 goes backward M569 P1 S0 ; Drive 1 goes backward M569 P2 S0 ; Drive 2 goes backward M569 P3 S0 ; Drive 3 goes backward M350 X16 Y16 Z16 E16 I1 ; Configure microstepping with interpolation M92 X200 Y200 Z200 E663 ; Set steps per mm M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min) M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min) M201 X1000 Y1000 Z1000 E1000 ; Set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; Set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Heaters M305 P0 T100000 B3950 R4700 H0 L0 ; Set thermistor + ADC parameters for heater 0 M143 H0 S130 ; Set temperature limit for heater 0 to 130C M305 P1 T100000 B4388 R4700 H0 L0 ; Set thermistor + ADC parameters for heater 1 M143 H1 S280 ; Set temperature limit for heater 1 to 280C ; Tools M563 P0 D0 H1 ; 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 ; Network M550 Pdelta-dc42 ; Set machine name M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP M586 P1 S0 ; Disable FTP M586 P2 S0 ; Disable Telnet ; Fans M106 P0 S1 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off M106 P1 S1 I0 F500 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on M106 P2 S1 I0 F500 H-1 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned off ; Custom settings are not configured ```homedelta.g:
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool on Fri Dec 22 2017 18:14:30 GMT+0200 (EET)
G91 ; relative positioning
G1 S1 X725 Y725 Z725 F1800 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F1800 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F1000 ; move all towers up once more (second pass)
G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F6000 ; move X+Y to the centreI've also noticed that M114 reports position as Nan: [c]X: nan Y: nan Z: nan E0: 0.0 E1: 0.0 E2: 0.0 E3: 0.0 E4: 0.0 E5: 0.0 E6: 0.0 E7: 0.0 E8: 0.0 Count 0 0 0 User nan nan 100.0[/c] Endstop switches are NC type and they report state change properly both in DWC and when queried via M119 What else can I check to figure this one out?
-
The combination of R and L parameters in your M665 command is not feasible. If it's based on my design then the L parameter is much too small.
-
Thank you. That was it.