Home JGAurora A5S, A1 & A3S-V2 Getting Started & Troubleshooting

Understanding Z-offset in custom firmware

Probably me misunderstanding something. Flashed new A5S with custom firmware (latest stable release). Mesh bed leveling seems to work well. During the initial stages of printing I go under tune and adjust Z-height from 0.00 to say -0.035 to get a better first layer. Baby stepping seems to work great. Print finishes and I turn off printer.

Now here is my confusion. When I go to print something else my Z-offset still reads -0.035. When I go to start printing, I can tell I am a bit to high and have to lower the z-height by baby stepping again. So now for my second print I am at -0.070 my third -0.105 etc. I must be doing something silly or missing something.

Here is my start G-code

; -- START GCODE --

G21 ;set units to millimetres

G90 ;set to absolute positioning

M106 S0 ;set fan speed to zero (turned off)

G28 ;home all axis

M420 S1 ;turn on mesh bed levelling if enabled in firmware

G92 E0 ;zero the extruded length

G1 Z1 F1000 ;move up slightly

G1 X60.0 Z0 E9.0 F1000.0;intro line

G1 X100.0 E21.5 F1000.0 ;continue line

G92 E0 ;zero the extruded length again

; -- end of START GCODE --


Comments

  • Samuel PinchesSamuel Pinches Posts: 2,997Administrator
    Welcome Steve! I'm away from my printer, so I can't really check this one for you right now.
    Try this:
    1. make a new text file. Call it "Reset Z-Offset".
    2. Add these two lines:

    M206 Z0 ; set offset to zero
    M500 ; save to eeprom

    3. copy file to printer
    4. run when desired (Select file on printer and "print" it.)




  • SteveSteve Posts: 3Member
    Thanks for the follow up. I will give this a go and get back to you.
Sign In or Register to comment.