Using on_boot.gcode

If you create a file on your SD card named on_boot.gcode, the contents of that file will be executed every time the machine boots up.

This is useful if you need to set things up a certain way, or perform actions, every time the machine is reset.

Useful codes

Here are some useful G-codes you might want to use in your on_boot.gcode:

See supported-g-codes for more information on these and other G-codes.