Duet Wifi - G29 causes extremely rapid Z movement and head crash
-
@lowracer said in Duet Wifi - G29 causes extremely rapid Z movement and head crash:
During the slow rising of the bed, the BLTouch lights up red and is not extending its metal probe as it usually does at the beginning of a print.
Also, simultaneously with the Z axis motion, the Y axis is moving ever so slowly to the left.That is very odd behaviour and I can' explain why it would be doing that, but then homing fine.
-
I'm suspecting something scrozzled the firmware. Will try re-flashing new firmware tonight to see if that fixes it.
-
Reflashing firmware did not fix the problem, unfortunately.
-
Can you post a video of it in action?
-
Here's a dropbox link to the video of the G29 operation in action (7.78MB .mp4):
https://www.dropbox.com/s/u8qfz1u7khgt8f5/G29 UM2%2B Duet Wifi.mp4?dl=0
-
please post all your homing scripts.
-
Flashed firmware up to 2.03RC1, G29 still exhibits the same behavior. Here are the homing files as requested:
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool on Fri Mar 15 2019 21:53:32 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
;G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 X-228 F9200 ; move quickly to X axis endstop and stop there (first pass)
G1 X5 F6000 ; go back a few mm
G1 S1 X-228 F360 ; move slowly to X axis endstop once more (second pass)
;G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool on Fri Mar 15 2019 21:53:29 GMT-0700 (Pacific Daylight Time)
G91 ; relative positioning
;G1 Z5 F6000 S2 ; lift Z relative to current position
G1 S1 Y228 F9200 ; move quickly to Y axis endstop and stop there (first pass)
G1 Y-5 F6000 ; go back a few mm
G1 S1 Y228 F360 ; move slowly to Y axis endstop once more (second pass)
;G1 Z-5 F6000 S2 ; lower Z again
G90 ; absolute positioning;homez.g
G91 ; relative mode
G1 S1 Z210 F7000 ; move Z towards the switch until it triggers
;G1 S2 Z-5 F100 ; move Z back 5mm
;G1 S1 Z10 F100 ; move Z slowly towards the switch until it triggers
G90 ; back to absolute mode; homeall.g
; called to home all axes;home Z to max extent (bottom of enclosure) first
G91 ; relative modeG1 S1 Z250 F7000 ; move Z towards the switch until it triggers
;G1 S2 Z-5 F100 ; move Z back 5mm
;G1 S1 Z10 F100 ; move Z slowly towards the switch until it triggersG1 S1 X-228 Y228 F9000 ; move quickly to X and Y axis endstops and stop there (first pass) (was F1800)
G1 X5 Y-5 F7200 ; go back a few mm
G1 S1 X-228 Y228 F360 ; move slowly to X and Y axis endstops once more (second pass)
G90 ; absolute positioning
G1 X110 Y110 F7200 ; go to first probe point (approx center of bed);G30 ; home Z by probing the bed
; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 S2 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
@lowracer said in Duet Wifi - G29 causes extremely rapid Z movement and head crash:
G1 S1 Z250 F7000 ; move Z towards the switch until it triggers
you move your bed up by 250mm? why
;G30 ; home Z by probing the bed
you disabled your probing of the bed. so no wonder the probe is not deploying.
-
@veti said in Duet Wifi - G29 causes extremely rapid Z movement and head crash:
@lowracer said in Duet Wifi - G29 causes extremely rapid Z movement and head crash:
G1 S1 Z250 F7000 ; move Z towards the switch until it triggers
you move your bed up by 250mm? why
Thanks for the response.
Original Ultimaker 2+ (UM2+) behavior (no BLTouch) has the bed "zero" to the bottom of the case before printing and after print is completed. Moving it 250 sends down it to where it will trip the Z endstop at the bottom of the cage.
;G30 ; home Z by probing the bed
you disabled your probing of the bed. so no wonder the probe is not deploying.
The problem described in the original post occurs when issuing a G29 command from the web interface. I was not aware these homing scripts get called by the G29 command.
I commented out that G30 because I do not want "homing" behavior to include probing the bed. I have that done in the startup script in the GCODE of the file being printed, e.g.:
G28 XY ;Home XY
M561 ; Clear any bed transform that might be in place
G1 X104.5 Y130 ; Move Probe to middle of bed
G30 ; Do a single probe
G29 S1; load heightmap
G1 Z20.0 F6000 ; Move Z to 20 -
So before you run G29 it needs to accurately know where Z0 is. If you are homing to Zmax, how confident are you that When you move the bed back up Z0 will mean the nozzle is touching the bed? Are you running a G30 before doing G29?
-
@phaedrux said in Duet Wifi - G29 causes extremely rapid Z movement and head crash:
Are you running a G30 before doing G29?
Bingo. That fixed it.
Thanks for the help. Got a new heightmap generated and printing away.