Intermittent issue with homing... Duet3 5+ wifi
-
(I am going to post this in three chunks, because it got flagged as spam when I did long format)
I am making progress on my Predator updates. I have been having one odd intermittent issue with homing.
I have been restarting like a madman, as I tweak settings, etc. and sometimes I get the
G28 Error: G0/G1: target position not reachable from current position.
It's only once in a while and I have tried running line by line. It usually gets stuck on the last line of the Macro.
G1 X0 Y0 F6000 ; move X+Y to the center
-
This is usually after the G90 absolute command and I notice it seems to be when there are numbers in the Z axis that are high relative to my printer... Such as Z800 ish. (My printer only should go into the low 400s).
I'm assuming there is a place where the maximum allowed Z travel is causing this, but I cannot find where that would be in the firmware. I see a minimum line as:
; Axis Limits
M208 Z-9999 S1 ; set minimum ZBut cannot find a maximum declared anywhere.
Is this something common? I have tried all the suggestions I could find, like the second to last command dropping 15mm instead of 5, but that didn't seem to help
Thanks for any wisdom on this issue.
GumbyI am using Duet3 5+ Wifi and a smart effector, with the latest stable release.
-
@gumby ```
; 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.16 on Thu Apr 20 2023 10:24:19 GMT-0400 (Eastern Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Predator" ; set printer name
M665 R226.9 L450.7 B185 H410.4 ; 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; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet; Drives
M569 P0.0 S0 ; physical drive 0.0 goes backwards
M569 P0.1 S0 ; physical drive 0.1 goes backwards
M569 P0.2 S0 ; physical drive 0.2 goes backwards
M569 P0.3 S1 ; physical drive 0.3 goes forwards
M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X160.00 Y160.00 Z160.00 E663.00 ; set steps per mm
M566 X3000.00 Y3000.00 Z3000.00 E3000.00 ; set maximum instantaneous speed changes (mm/min)
M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
M201 X8000.00 Y8000.00 Z8000.00 E4000.00 ; 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; Axis Limits
M208 Z-9999 S1 ; set minimum Z; Endstops
M574 X1 S1 P"io0.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io0.in
M574 Y1 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io1.in
M574 Z1 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io2.in; Z-Probe
M558 P5 R0.4 C"io3.in+io3.out" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds
M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
G31 P500 X0 Y0 Z-0.31 ; set Z probe trigger value, offset and trigger height
M557 R185 S40 ; 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 R0.399 K0.380:0.000 D1.32 E1.35 S1.00 B0 ; disable 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"out2" 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 S300 ; set temperature limit for heater 1 to 300C; 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"out6" Q500 ; create fan 1 on pin out6 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
-
@gumby ```
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool v3.3.16 on Thu Apr 20 2023 10:24:19 GMT-0400 (Eastern Daylight Time)
G91 ; relative positioning
;*** Slow homing has been configured. Change F180 to F1800 below when your configuration is working
G1 H1 X800 Y800 Z800 F3600 ; move all towers to the high end stopping at the endstops (first pass)
G1 H2 X-5 Y-5 Z-5 F1800 ; go down a few mm
;*** Slow homing has been configured. Change F180 to F360 below when your configuration is working
G1 H1 X10 Y10 Z10 F360 ; 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 centre