Must home axis first when starting print

Basic Information:

Printer Model: ender 3 v2
MCU / Printerboard: stock ender 3 v2 mainboard (v2.2 i believe)
klippy (1).log (713.7 KB)

I have been trying to get my start macro working, I have everything mostly up and running but keep getting this weird error: Must home axis first: 0.000 0.000 50.000 [0.000]
I believe this issue is caused by trying to preform an auto bed leveling sequence before the printer has been homed. i have tried moving around the home command, homing the x and y axes multiple times but nothing has worked.

start macro:

[gcode_macro START_PRINT] 
gcode: 
      # Use absolute coordinates 
      G90 

      # Reset extruder 
      G92 E0

      # Heat the bed and wait
      #50 for pla
      #100 for abs
      M190 S50


      # Home the printer and level bed
      G28 
      G28 X Y
      G1 X0 Y0 Z0 F3000
      M84
      

     # Move to wait position 
     G1 X0 Y0 Z50 F4000.0  
     # Set and wait for nozzle to reach temperature 
     #215 for pla
     #240 for abs
     M109 S215

    # Move Z axis up 
    G1 Z2.0 F3000 
    # Move to start position 
    G1 X10.1 Y20 Z0.28 F5000.0 
    # Draw the first line
    G1 X10.1 Y200.0 Z0.28 F1500.0 E15 
    # Move to the side
    G1 X10.4 Y200.0 Z0.28 F5000.0 
    # Draw the second line 
    G1 X10.4 Y20 Z0.28 F1500.0 E30 
    # Reset extruder 
    G92 E0

Of course: M84 turns the motors off and the homing is gone.

https://www.klipper3d.org/G-Codes.html

1 Like

Thank you for pointing that out, I somehow came to the conclusion that M84 would level the bed which now that i think about doesn’t make any sense

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.