Having trouble setting the z offset
-
The files were all created with the configurator. The homeall.g has never worked correctly and when I look at the file, it is greek to me. When I home all, it starts with the x axis and the x axis starts grinding and slowly moves away from the endstop. I have to either cut the power of press the emergency stop to get it to stop. However, I can home the machine by homing each axis separately.
Please post your homing files.
-
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Thu Apr 27 2017 06:26:16 GMT-0700 (PDT); Relative positioning
G91; Lift Z
G1 Z5 F6000; Course home X or Y
;G1 X-305 Y-305 F1800 S1
; Course home X
G1 X-305
; Course home Y
G1 Y-305: Move away from the endstops
G1 X5 Y5 F6000; Fine home X
G1 X-305 F360 S1
; Fine home Y
G1 Y-305 S1; Move Z down until the switch triggers
G1 Z-285 F1800 S1; Absolute positioning
G90; Tell the firmware where we are
G92 Z2.5; Uncomment the following line to lift the nozzle after probing
;G1 Z5 F100A little late, but here is my homeall.g file.
-
The G1 X-305 Y-305 … is commented out so you need to remove the semi colon from the beginning of that line.
The next lines G1 X-305 and G1 Y-305 (course homing X and Y) don't have an S1 parameters so they will ignore the end stop switch. They should be G1 X-305 S1 and G1 Y-305 S1
The bed is being probed at the X0 Y0 position for the Z axis and while it will work, it's generally better to probe the centre of the bed
for Z home so you might want to add something like G1 X150 Y150 F6000 before the G1 Z-285 move. -
Thanks. Still learning the g-code world. Didn't even notice the first line was commented out.
-
Thanks. Still learning the g-code world. Didn't even notice the first line was commented out.
No worries. Read and inwardly digest this and you'll become an expert https://duet3d.com/wiki/G-code. Alternatively bookmark it for easy reference in the future.
-
My home all is now working like it is supposed to. And my z offset is working.