How to Home all the axis on boot / startup?

I want to home all the axis whenever I power on my 3d printer. I am using Repetier-Firmware + Repetier Host. Please tell me that how can I add this function in my code or there is already setting available for this?

Comments

  • You can use
    #define STARTUP_GCODE "G28"

    to do this. But there is a problem with most printers. Most start firmware as soon as 5V from usb is available as that starts the processor and thus firmware. So if you then enable main power the move is already executed without action. There is no chance to see when main power is enabled. So for this to work you need to modify the board such that it ONLY powers the board from main power and not from USB. This can be done for several boards but is not default.
  • Thanks for your support. :-)
Sign In or Register to comment.