@ScaraMan said in Nozzle tip is not at correct height before start of print:
What exactly are you doing when you start a print? Running homeall.g, then running print gcode, cancelling, running homez.g, then running the print gcode again?
Your homez.g does not return to absolute positioning. It should be:
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2.1.3 on Wed Nov 27 2019 02:27:21 GMT-0500 (EST)
G91 ; relative positioning
G1 H2 Z5 F300 ; lift Z relative to current position
G1 H1 Z195.19 F300 ; move Z up until the endstop is triggered
G90 ; absolute positioning
G92 Z190.19 ; set Z position to axis minimum (you may want to adjust this)
Without this, any move in the gcode after this would move in relative mode, until it was turned back to absolute mode.
I don't think you need the G92 Z190.19 at the end of homeall.g and homez.g, as the preceding move is an H1 move, which sets the axis position defined by M208 in config.g ( M208 X300 Y300 Z190.19 S0 ; set axis maxima) when it hits the endstop. But not sure why this would effect the first run of the homeall.g
Also, in the start of your gcode print file:
...
G1 F200 E50 ;extrude 10 mm of feed stock
64 10000
G92 E0 ;zero the extruded length again
...
I think that should be G4 10000. Not sure of the effect of this.
Ian
Edit: @deckingman spotted the same thing!