Beeping sound alert

Post Reply
Serge
Prints-a-lot
Posts: 24
Joined: Sat Jan 31, 2015 10:44 am

Beeping sound alert

Post by Serge »

In the Start G-code sequence I am trying to add a beep sound that will alert me when the nozzle starts heating.
I am trying to use the M300 command but it does not work. Does matter control support this command?

My Start G-code so far:

M140 S{bed_temperature}
M190 S(bed_temperature}
M300 S440 P1000
M104 S{temperature}
M109 S{temperature}
G28

Thanks
RocketMagnet
Printmaster!
Posts: 169
Joined: Sun Sep 14, 2014 3:22 pm

Re: Beeping sound alert

Post by RocketMagnet »

I've just tried my custom G Code I use in slicer and Repetier host in MC and it did override the MC heating sequence.. along with all the beeps I've inserted
to warn me to wipe the nozzle and give me time to do it.. etc
Though I'm using M120 command to play the note...
so yeah it works fine:
Below code beeps prior to any nozzle movement and alerts user that it's ready to start printing and gives you time (5 seconds)to wipe off any ooze then beeps before it actually moves.
I use a slight variation for Cura with a beep inserted between bed and nozzle cycles exactly as you want... so yeah use M120 and G4 for the gaps between beeps
The S code is frequency and P = period of time in miliseconds so for example M120 S4 P5 = high pitch beep for 5 ms followed by an 80ms gap


M120 S4 P5
G4 P80
M120 S4 P5
G4 P1000
G28
M104 S[first_layer_temperature]
M190 S[first_layer_bed_temperature]
M109 S[first_layer_temperature]
; BEGINNING OF HEAD MOVEMENT WARNING TONES
M120 S4 P5
G4 P40
M120 S4 P5
G4 P40
M120 S4 P5
G4 P40
M120 S4 P5
G4 P40
M120 S4 P25
G4 P5000
M120 S4 P5
G4 P40
M120 S4 P5
G4 P40
M117 KEEP HANDS AWAY
G4 S3
; END OF HEAD WARNING TONES
Serge
Prints-a-lot
Posts: 24
Joined: Sat Jan 31, 2015 10:44 am

Re: Beeping sound alert

Post by Serge »

Nice, i will try.
But where did you get this M120 command?
is there a list of command somewhere for the mattercontrol Software?
geneb
ULTIMATE 3D JEDI
Posts: 5365
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: Beeping sound alert

Post by geneb »

It doesn't have anything to do with MatterControl - the M and G codes are handled by the firmware. :)

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
User avatar
teoman
ULTIMATE 3D JEDI
Posts: 1783
Joined: Sat May 24, 2014 5:43 pm

Re: Beeping sound alert

Post by teoman »

In the arduino program all the implemented gcodes are listed.

You could also google it and get a list.
When on mobile I am brief and may be perceived as an arsl.
RocketMagnet
Printmaster!
Posts: 169
Joined: Sun Sep 14, 2014 3:22 pm

Re: Beeping sound alert

Post by RocketMagnet »

First I looked at the reprap Gcode List and tried M300 which didn't work...
http://reprap.org/wiki/G-code" onclick="window.open(this.href);return false;

I then looked at the start-up G Code for the SeeMeCNC ABS default slic3r profile in Repetier Host I downloaded from SeeMeCNC downloads as I knew it done some basic beeps at points
and found it used M120 which as far as I can tell has multiple uses defined by the firmware. Here it was being used for the piezo buzzer..
http://seemecnc.com/pages/downloads" onclick="window.open(this.href);return false;

The beeps and pause to allow a nozzle wipe after it all gets up to temp is very useful indeed.
Serge
Prints-a-lot
Posts: 24
Joined: Sat Jan 31, 2015 10:44 am

Re: Beeping sound alert

Post by Serge »

Thanks Rocketmagnet, I am using your M120 command and it works. it even makes a nice cricket sound that alerts me when the bed is at temperature and when the nozzle starts heating. This allows me to put a final coat of glue before printing. So far so good. I also found the M120 command in the slic3d file. it is nice that you found it there. In all documentation that I found, even in the arduino repetier.ino program file, it shows a M300 command for the beeping sound.
Post Reply

Return to “MatterControl”