Page 1 of 1

Gcode for KISSlicer pre/post print

Posted: Wed Aug 20, 2014 10:20 am
by Brian
I've been playing with KISSlicer for a few days and I miss some of the pre and post print operations that Slic3r would do.

I have one of the early V2's that have the Onyx that takes an hour to reach 80 degrees, so I use my trusty towel to help speed up the process. With Slic3r, the printer is commanded to beep a few times when the printer reaches temperature, then it says "Keep Hands Away" on the LCD. This is my signal to remove the towel. With KISSlicer, the printer just takes off printing when it reaches temperature.

I found a gcode reference that listed commands, and I put that into the proper fields in KISSlicer, but the audio commands do not seem to work. I put a long dwell command in after the beep commands, and I do see the delay executed, but the beeps are silent, so I have to watch the printer llike a hawk when it is heating the onyx and be ready to remove the towel.

Is there a different beep command gcode for the Rmax?

Re: Gcode for KISSlicer pre/post print

Posted: Wed Aug 20, 2014 10:36 am
by mhackney
Brian, look at the gcode output once you save it from Kiss. It should have the codes you put in the Printer->Gcode sections in Kiss. Once the codes are there, the slicer has nothing to do with executing them, that is the firmware's job. For comparison, look at one of your working gcode files from Slic3r and copy the same codes over to the proper places in Kiss.

I don't know about beeb codes - I find them annoying and turned all the sound off!

Re: Gcode for KISSlicer pre/post print

Posted: Wed Aug 20, 2014 10:38 am
by mhackney
By the way, you can send a message to print on the LCD and Repetier host's status panel with:

M117 Hello World

This works for the Repetier firmware.

Re: Gcode for KISSlicer pre/post print

Posted: Thu Aug 21, 2014 10:00 am
by Brian
That message code seems to work for me, which is pretty cool. I have the code for the beeps in there too, but it is silent still. I noticed some different parameters for the beep code like the frequency and duration. Perhaps I just need to dig the code out of the Slic3r print and see what the parameters are. I suspect that maybe the piezo speaker on the RMax is one of the type that only works on specific frequencies and maybe the code I copied and pasted from the internet is making a tone the speaker is not able to reproduce. I will play with it some more, thanks.

Re: Gcode for KISSlicer pre/post print

Posted: Thu Aug 21, 2014 9:13 pm
by mhackney
Can you post the first 200 lines or so of a gcode file output from Slic3r that does what you want - i.e. beeps, prints message, etc. I'll set up a kisslicer config for you.

Re: Gcode for KISSlicer pre/post print

Posted: Thu Aug 21, 2014 9:20 pm
by mhackney
The beeper is most likely on the LCD display. I don't think the RAMBo has a beeper. Did you have beeping working on your Max? I think the sound can be disabled in firmware, there is this in Repetier:

Code: Select all

#define FEATURE_BEEPER true
/**
Beeper sound definitions for short beeps during key actions and longer beeps for important actions.
Parameter is delay in microseconds and the second is the number of repetitions.
Values must be in range 1..255
*/
#define BEEPER_SHORT_SEQUENCE 2,2
#define BEEPER_LONG_SEQUENCE 8,8