Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I want to add support for the "Display Message" command in my post processor config file.
My end goal is to output this message as a line of G-code like this:
(MSG, Message goes here)
I don't want to use the PassThrough command, since there is no validation of code there, I'd rather prefer to make use of the built in "Display Message" command, and only allow it to output text, similar to what the "Comment" function does.
I have tried adding this:
function onDisplay(message) {
writeDisplay(message);
}
but that didn't work. I cannot find any variables or functions named "message", so I am not sure how to make that show up.
(Stop/M0 works, and Comment works as well. Just not sure how I get the Display Message to work).
Any suggestions?
Solved! Go to Solution.