Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Allow save the printer settings into a gcode file #15052

Closed
sl1pkn07 opened this issue Aug 25, 2019 · 10 comments · May be fixed by #26904
Closed

[FR] Allow save the printer settings into a gcode file #15052

sl1pkn07 opened this issue Aug 25, 2019 · 10 comments · May be fixed by #26904
Labels
T: Feature Request Features requested by users.

Comments

@sl1pkn07
Copy link
Contributor

sl1pkn07 commented Aug 25, 2019

Description

Since all the settings is configurable via gcode (z probe offsets, tmc configurations, jerks/acceleration, etc), is great if that configurations can be stored in the media (if is available) in a gcode file

advantages over the eeprom is, if you reset the eeprom or upgrade the firmware to new version, the configurations they get lost. then you only need "print" the gcode for restore the configurations

greetings

@boelle boelle added the T: Feature Request Features requested by users. label Aug 25, 2019
@RudyBenner
Copy link

http://marlinfw.org/docs/gcode/M115.html
Repetier Host does a nice job of making a text file.

@AnHardt
Copy link
Member

AnHardt commented Aug 26, 2019

We already produce a text file - on the serial console. You just have to copy in a file and insert some ";".
I have a whole bunch of different configs for different purposes on SD.
My default config is named auto0.g.


Replace:
"echo: " -> ""
"echo:" -> ";"

@AnHardt
Copy link
Member

AnHardt commented Aug 26, 2019

Just M115 is not a readeble config. It's for informing the host program about what the firmware can do.
Better try M503.

@MarkMan0
Copy link
Contributor

Are the data from M503(Report settings) and G29 S-1(UBL mesh) sufficient?
I mean, if we format the output of these two gcodes, we can generate a script, which sets up the machine, as if it read everything from the eeprom right?
Or did I miss something?

@AnHardt
Copy link
Member

AnHardt commented Aug 29, 2019

Both of the commands are mend for exactly that purpose. They should output all information that is stored in EEPORM in a human and machine readable manner (g-code). If not that is a bug and will be corrected.

@sl1pkn07
Copy link
Contributor Author

then, now the "error"/FR is for is not able to save directly in a gcode file (in the SD), directly from LCD, and without "external" intervention (pronterface/octoprint/etc)

@Vertabreak
Copy link
Contributor

octoprint also has a eeprom dump plugin.

@sl1pkn07
Copy link
Contributor Author

sl1pkn07 commented Jul 1, 2020

The petition of this FR is still up

@thinkyhead
Copy link
Member

The output of M503 can be copied into a G-code file, such as "auto0.g". Marlin doesn't have the methods available to capture M503 output to a file from within the firmware, and this low-level hook is not likely to be added anytime soon. To fill in for this architectural deficit, you can use the EEPROM and plugins like the one mentioned above.

@github-actions
Copy link

github-actions bot commented Oct 8, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
@thisiskeithb thisiskeithb linked a pull request May 20, 2024 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Feature Request Features requested by users.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants