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

New G-code for firmware self-awareness #1

Open
clefranc opened this issue Sep 29, 2015 · 0 comments
Open

New G-code for firmware self-awareness #1

clefranc opened this issue Sep 29, 2015 · 0 comments

Comments

@clefranc
Copy link
Owner

Hi @alexrj,
I'm currently experimenting on giving Marlin some awareness of its print environment. I've introduced 3 new G-code commands, namely M2, M3 and M4:

 * M2   - Host printing started
 * M3   - Host printing ended
 * M4   - Object information and status: E<extrusion needed> in mm, P<percent completed>

I need these commands to be included automatically at the beginning and end to the slicer G-code. Right now I'm using the M2 and M3 commands using host scripts start/end code.

The M4 command is a little problematic for the host, because only the slicer knows valuable information about the print. I think it must be included in the G-code generated by the slicer (at least the E parameter).

So, in brief, what I'm looking for is:

  • M2 at the top of the G-code
  • M4 at the top with E parameter (filament needed in mm)
  • M3 at the bottom.

Do you think you can produce a branch with these new commands (added as an option)?

See Wiki

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant