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

Custom Actions: M0 not working + Not detecting M0 in regular GCODE #677

Closed
FlyingT opened this issue May 23, 2020 · 2 comments
Closed

Custom Actions: M0 not working + Not detecting M0 in regular GCODE #677

FlyingT opened this issue May 23, 2020 · 2 comments
Labels
stale Stale issue support Something isn't working with the users setup

Comments

@FlyingT
Copy link

FlyingT commented May 23, 2020

I encountered 2 problems related to the M0 Pause Print command.

General Information:

  • Hardware: Raspberry Pi 3B with Touchscreen
  • OctoPi 0.17.0
  • OctoDash Version NEWEST
  • OctoPrint Version V1.4.0

-------------- Problem 1 ------------------
What doesn't work?
I'am trying to set and Custom Action to level the bed. The printer goes to the location I set in GCODE, but it wont wait there, ignoring the M0 command.

What did you already try?
Different formatting, like M0;[SPACE] or M0[SPACE];[SPACE]

Additional context
Gcode I try to run:
M190 S60 ; G90 ; G28 ; G1 Z5 ; G1 X32 Y36 ; G1 Z0 ; M0 ; G1 Z10 ; G1 X32 Y206 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X202 Y206 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X202 Y36 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X117 Y121 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X32 Y206 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X202 Y206 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X202 Y36 ; G1 Z0 ; M0 ; G1 Z5 ; G1 X32 Y36 ; G1 Z0 ; M0 ; G28; M84 ;

Custom Action:
"icon": "ruler-combined",
"command": "[GCODE from above, all in one line] ; "
"color": "#7f8fa6",
"confirm": false,
"exit": false

-------------- Problem 2 ------------------
What doesn't work?
Running the same GCode as an regular file works, OctoDash even recognizes the print was paused, see the Picture here. But there is no buttom to continue the print. It will resume if I press on the screen, use the Pause Button from OctoDash and then press on resume in this screen. It should be displaying this screen after the print was paused (I guess?)

Additional context
GCode on Pastebin

@FlyingT FlyingT added the support Something isn't working with the users setup label May 23, 2020
@FlyingT FlyingT changed the title Custom Actions: GCODE M0 not working Custom Actions: M0 not working + Not detecting M0 in regular GCODE May 23, 2020
@UnchartedBull
Copy link
Owner

Does M0 work if you send it via OctoPrint directly? I think I saw some threads about OctoPrint and M0/M1. If M0 works fine with the OctoPrint GCode CLI then I can further investigate this.

Regarding the other issue, yeah it totally makes sense to automatically switch to the pause screen. Will work on this after v2 release.

@stale
Copy link

stale bot commented Jun 17, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue label Jun 17, 2020
@stale stale bot closed this as completed Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Stale issue support Something isn't working with the users setup
Projects
None yet
Development

No branches or pull requests

2 participants