My printer is going to run on a Ramps 1.4 with Marlin 1.1.5. I need to add movements to the boot sequence. How can I make the printer home and move as soon as the printer is turned on? (most forums say its possible but do not say how.)
Have a look here.
It’s as simple had adding a gcode file to your sd card.
Thanks for the response, but I need to do it on powering on the printer. The reason is is that my Z probes are mounted to the tool heads, and by default, the tool heads are not attached to the X/Y carriage. When I home, the X/Y will home and the Z Axis will crash because the tool head is not over the bed. I need the printer to pick up a tool head as soon as the printer is turned on, or make the Z axis unable to home until the printer knows that there is a tool head attached to the carriage.
It picks up the gcode file as soon as the printer is powered on…
Autostart is available on printers with an SD card reader. If there is a file auto0.g, the printer will recognize it while booting, and perform its content.
Thereafter, if there are files with increasing numbers, e.g. auto1.g, they will be done.
Will this work of I am not printing anything? I need to move and then be at idle ready to print/listen to commands, etc.
Yes, try it.
Put the file called auto0.g on your sd card containing only G28 for example, and power cycle your printer. It should start up and immediately perform the G28 command without any other intervention…
Okay thanks! I will try it out
Okay @Panayiotis_Savva I tried it out but I still cannot get it to work. I used Repetier Host to write the gcode, and exported it using the same, but the file says auto0.gcode instead of auto.g, and it is not working. I can go and execute the code through the LCD menu still, so the code works. Any help?
Rename the file, and for it to the sd card. It must be auto0.g
