Gcode for KISSlicer pre/post print

User-Generated tips and tricks for the Rostock Max, Orion, H1.1, or H1 Printers
Post Reply
Brian
Printmaster!
Posts: 121
Joined: Tue Mar 25, 2014 6:05 pm

Gcode for KISSlicer pre/post print

Post 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?
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Gcode for KISSlicer pre/post print

Post 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!

Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art

Start Here:
A Strategy for Successful (and Great) Prints

Strategies for Resolving Print Artifacts

The Eclectic Angler
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Gcode for KISSlicer pre/post print

Post 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.

Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art

Start Here:
A Strategy for Successful (and Great) Prints

Strategies for Resolving Print Artifacts

The Eclectic Angler
Brian
Printmaster!
Posts: 121
Joined: Tue Mar 25, 2014 6:05 pm

Re: Gcode for KISSlicer pre/post print

Post 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.
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Gcode for KISSlicer pre/post print

Post 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.

Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art

Start Here:
A Strategy for Successful (and Great) Prints

Strategies for Resolving Print Artifacts

The Eclectic Angler
User avatar
mhackney
ULTIMATE 3D JEDI
Posts: 5391
Joined: Mon Mar 26, 2012 4:15 pm
Location: MA, USA
Contact:

Re: Gcode for KISSlicer pre/post print

Post 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

Sublime Layers - my blog on Musings and Experiments in 3D Printing Technology and Art

Start Here:
A Strategy for Successful (and Great) Prints

Strategies for Resolving Print Artifacts

The Eclectic Angler
Post Reply

Return to “General Tips 'N Tricks”