OctoPrint-GPX icon indicating copy to clipboard operation
OctoPrint-GPX copied to clipboard

Makerbot G code Beep commands

Open InertiaImpact opened this issue 5 years ago • 2 comments

OctoPi with a Makerbot Replicator 2X

I am trying to have it beep, however it doesn't appear to respond to the M300 command ( M300 S300 P1000 ) from the terminal or from within Gcode file.

I have also tried M42 which gets the unrecognized response.

I will be happy to try anything you need. Thanks!

InertiaImpact avatar Jun 10 '20 04:06 InertiaImpact

The original GPX translator doesn't have any code for M42. It does however attempt to translate M300 into an x3g frame of (8-bits)147, (16-bits)frequency, (16-bits)milliseconds, (8-bits)0. I haven't ever tried it myself though.

markwal avatar Jun 13 '20 18:06 markwal

M300 by itself is the same as M300 S300 P1000 since the default frequency and milliseconds are 300 and 1000 respectively. GPX does translate it and send it to the bot, the bot receives it and returns a positive response, but no sound emerges. Though my test bot is a FlashForge Dual (Rep 1D clone) running Sailfish, so I don't know if it implements it other than to succeed the protocol.

markwal avatar Jun 13 '20 19:06 markwal