Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 11, 2018 06:26AM |
Registered: 6 years ago Posts: 3 |
Quote
When running Marlin Firmware, is it possible to run G-code scripts/series of commands automatically when you insert the SD card?
I'm running Marlin on a 3D printer board using an ATmega 2560 based board with a reprap discount LCD controller with an SD card slot. I would like to do this without the need to add another computer/board, so native from the board running the Marlin Firmware.
Quote
With Marlin 1.1.0, you can automatically run a G-Code file when powering on the printer with a SD card already present.
Add a file named auto0.g at the root of your card, containing the following G-Code:
G28 ;Auto-homing G29 ;Bed leveling
Normally the bed leveling map should be reused for all subsequent prints, until the printer is turned off.
It is possible to provide up to 10 files, from auto0.g to auto9.g.
Re: Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 12, 2018 04:17AM |
Registered: 14 years ago Posts: 140 |
Quote
greenonline
Just to re-iterate, the answer above is for power on of the printer. However, I am looking for a solution for a printer already switched on and it is the insertion of the SD card which triggers the printing.
Re: Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 12, 2018 10:59PM |
Registered: 6 years ago Posts: 3 |
Re: Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 13, 2018 02:36AM |
Registered: 7 years ago Posts: 3 |
Re: Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 13, 2018 03:12AM |
Admin Registered: 13 years ago Posts: 7,123 |
Re: Can G-code scripts be run automatically on inserting an SD card when using Marlin Firmware? September 13, 2018 04:07AM |
Registered: 7 years ago Posts: 3 |