forked from MarlinFirmware/Marlin
-
Notifications
You must be signed in to change notification settings - Fork 0
Autostart
AnHardt edited this page Sep 24, 2015
·
1 revision
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.
- Use cases
- get rid of any start.gcode in the slicer. Because all these things can be done already if the printer boots. The advantage is that the slicer needs to know much less about the printer its printing on, as the startup procedure depends a lot on the printer, and can be placed there, and changed also for all gcode files on the printer at once. The disadvantage of that is that many slicers insist on having some heatup commands in their now superficial start.gcode. Also, some enjoy putting the e_steps_per_mm in it, which causes that one needs to have different gcode files for different printers. Using auto0.g, thats not necessary at all.
- have settings there. Autostart is an alternative place to store/set printer settings, with the option of changing them on a normal keyboard. While printing, they of course can be real-time changed like most other settings.
- Use printer in a kiosk mode, e.g. when its powered, start a print.
- Set the printer to a fresh start state after a failed print.
- Possible Improvements
- It would be nice to also have a end.g, that is executed after a print finishes. I never took the time to implement this.
- it could be replaced by a macro system, where additional gcode files could be called from other gcode files. However, coding this is involved, as one needs to store the original file, and the position. Also, I see no way of having a macro system with a performance level, that e.g. layer change/extruder change can be done in sufficient fast speed. A similar system already exists in [linuxcnc](http://linuxcnc.org/docs/html/gcode/o-code.html#_calling_files)
- History
- Code History
Welcome to Marlin
Setting Up Marlin
Features
Configuring Marlin
Reference
GCode in Marlin
Join the Marlin Project
Contributing to Marlin
Coding Standards
Marlin or MarlinDev?
Marlin Branches
Marlin 1.2 Development
Compiling-MarlinDEV-master