#Possible to display M117 messages in Mainsail
6 messages · Page 1 of 1 (latest)
See if this gives the guidance you need:
The display_status module is automatically loaded if a display config section is enabled. It provides the following standard G-Code commands:
Display Message: M117 <message>
Set build percentage: M73 P<percent>
Also provided is the following extended G-Code command:
SET_DISPLAY_TEXT MSG=<message>: Performs the equivalent of M117, setting the supplied MSG as the current display message. If MSG is omitted the display will be cleared.```
Also related:
The following standard G-Code commands are available when the respond config section is enabled:
M118 <message>: echo the message prepended with the configured default prefix (or echo: if no prefix is configured).
The following additional commands are also available.
RESPOND¶
RESPOND MSG="<message>": echo the message prepended with the configured default prefix (or echo: if no prefix is configured).
RESPOND TYPE=echo MSG="<message>": echo the message prepended with echo:.
RESPOND TYPE=echo_no_space MSG="<message>": echo the message prepended with echo: without a space between prefix and message, helpful for compatibility with some octoprint plugins that expect very specific formatting.
RESPOND TYPE=command MSG="<message>": echo the message prepended with //. OctoPrint can be configured to respond to these messages (e.g. RESPOND TYPE=command MSG=action:pause).
RESPOND TYPE=error MSG="<message>": echo the message prepended with !!.
RESPOND PREFIX=<prefix> MSG="<message>": echo the message prepended with <prefix>. (The PREFIX parameter will take priority over the TYPE parameter)```
Thanks. I'll try that out!
Ok. M118 works in Mainsail. M117 doesn't 🙂 Thanks again!