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

Multiple Gcode pause commands #54

Open
Luc3as opened this issue May 26, 2022 · 1 comment
Open

Multiple Gcode pause commands #54

Luc3as opened this issue May 26, 2022 · 1 comment

Comments

@Luc3as
Copy link

Luc3as commented May 26, 2022

Hello, I set the pause action to set G-code command, What I wanted to to is set FAN speed to 0, and then trigger change fillament with M600, so my G-Code input looks like this M106 S0; M600 X0 Y0
however I discovered that it did not stopped the printer, is there some way so we can handle multiple commands at trigger ?

@CMR-DEV
Copy link
Contributor

CMR-DEV commented Jun 28, 2022

Semicolons cause the rest of the line to be treated as comment. See here. As a Result your second command M600 X0 Y0 has been ingnored. In order to send multiple G-code instructions actual line breaks are required which are filtered by the current input type. Actually the backend already allows multiline G-code but currently sending a custom sort of "hacky" POST request is needed to achieve this which is not intuitive at all. Anyway, for taht reason I created a PR #56 that allows easy configuration of multiple commands by changing the input type of the G-code field in settings =)

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

2 participants