Page 1 of 1

Putting Alerts in Repetier / G-Code

Posted: Sat Sep 07, 2013 11:02 pm
by inventabuild
How do I set up Repetier (or the G-code) to always turn on the peek fan before a job starts printing? My fan is currently connected to the RAMBO board fan section.

How do I set up Repetier (or the G-code) to always terminate a print and have the effector go Home if the hotend turns off / fails mid-print for some reason?

Re: Putting Alerts in Repetier / G-Code

Posted: Sun Sep 08, 2013 12:47 am
by Nylocke
If I were you, I would directly hook the PEEK fan to power from the power supply, in the terminal connector that goes into the RAMBo. Thats what I did, because generally you want that running all the time anyways.

I dont think you can do the second thing completely, but in Repetier you can tell it to go to a dispose area on kill which you can set to be 0X 0Y 300Z or something like that, its in printer settings under the behavior tab.

Re: Putting Alerts in Repetier / G-Code

Posted: Mon Sep 09, 2013 9:46 am
by geneb
If you followed the assembly guide, M42 P6 S255 will turn the PEEK fan on, M42 P6 S0 will turn it off. If you followed the assembly guide, you'd know where to add them. :D

g.

Re: Putting Alerts in Repetier / G-Code

Posted: Sat Sep 14, 2013 12:45 am
by inventabuild
I found that using Repetier Host the following g-code turns on the FAN 0 port on the RAMBO board where the S# is the speed (0-255):

M106 P1 S255

Here is where I placed it in KISSlicer to automatically turn on my PEEK fan which I have wired to the FAN 0 port:
Turning on Fan 0 on RAMBO Board with Repetier.jpg
"P2" might turn on the FAN 1 port, but not 100% sure about that because I did not try it.

Re: Putting Alerts in Repetier / G-Code

Posted: Sat Sep 14, 2013 12:57 am
by inventabuild
geneb,

How is your code different from the code that I found and modified for the FAN 0 port? Will your code work in KISSlicer if I use the correct P# for the FAN 0 port?

Re: Putting Alerts in Repetier / G-Code

Posted: Sat Sep 14, 2013 2:41 pm
by geneb
The FAN 0 port is supposed to be used for the layer fan. That's the port that is controlled by the fan slider in Repetier.

The FAN 1 port is used for the PEEK fan.

g.

Re: Putting Alerts in Repetier / G-Code

Posted: Sat Feb 21, 2015 4:33 pm
by dziarski
inventabuild wrote:I found that using Repetier Host the following g-code turns on the FAN 0 port on the RAMBO board where the S# is the speed (0-255):

M106 P1 S255

Here is where I placed it in KISSlicer to automatically turn on my PEEK fan which I have wired to the FAN 0 port:
Turning on Fan 0 on RAMBO Board with Repetier.jpg
"P2" might turn on the FAN 1 port, but not 100% sure about that because I did not try it.
I use KISSlicer also and it work fine with standard gcode line:

M42 P6 S255

Here is how I setup it in KISSlicer:
[img]http://i.minus.com/iH70yIlgf87d3.png[/img]

I plugged PEEK FAN wire to Fan_1 and LAYER FAN wire to Fan_0 on RAMBO Board.
PEEK FAN starts with the start of HotEnd Heating.