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

M0 Pause not executing in custom commands #1552

Closed
FlyingT opened this issue Mar 13, 2021 · 3 comments
Closed

M0 Pause not executing in custom commands #1552

FlyingT opened this issue Mar 13, 2021 · 3 comments

Comments

@FlyingT
Copy link

FlyingT commented Mar 13, 2021

I wanted to use Custom Actions with GCode for manual bed leveling, but while the move commands are being executed, the M0 pause isnt.

The GCode I used can be seen here: https://pastebin.com/TdKZrNLw

Removed all comments to make it into one long line and this is what I ended up with:

"icon": "ruler-vertical",
"command": "G90; G28; G1 Z5; G1 X32 Y36 F3000; G1 Z0; M0; G1 Z10; G1 X32 Y206 F3000; G1 Z0; M0; G1 Z5; G1 X202 Y206 F3000; G1 Z0; M0; G1 Z5; G1 X202 Y36 F3000; G1 Z0; M0; G1 Z5; G1 X117 Y121 F3000; G1 Z0; M0; G1 Z5; G1 X32 Y206 F3000; G1 Z0; M0; G1 Z5; G1 X202 Y206 F3000; G1 Z0; M0; G1 Z5; G1 X202 Y36 F3000; G1 Z0; M0; G1 Z5; G1 X32 Y36 F3000; G1 Z0; M0; G28; M84",  
"color": "#44bd32",  
"confirm": false,  
"exit": true,

Did I do something wrong or is this an bug in OctoDash?
Executing the GCode as a printfile works fine

@FlyingT
Copy link
Author

FlyingT commented Mar 14, 2021

M25 Pause also doesnt seem to work

@UnchartedBull
Copy link
Owner

I think is most likely due to OctoPrint. Have you tried the steps mentioned here: OctoPrint/OctoPrint#1513?

@FlyingT
Copy link
Author

FlyingT commented Mar 18, 2021

Seems to be outdated, but found the solution:

OctoPrint Settings > Serial Connection > Firmware & Protocol > Protocol fine tuning > Blocked commands
Then remove M0 (and M1 if you feel like it) from the list

It works now, thanks!

@FlyingT FlyingT closed this as completed Mar 18, 2021
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