Welcome! Log In Create A New Profile

Advanced

Share your start-up G-code

Posted by kevinkline4124 
Share your start-up G-code
October 31, 2011 01:43PM
Hey, so I have been working on my warm-up procedure for some time now and was wondering how other people go about getting everything warmed up before a print. I thought it would be cool to see some other people's G-Code. I know some stuff is machine specific but the general idea is what I am looking for.

So to kick off this thread, here is my start-up file:

G21 (Metric FTW)
G90 (Absolute Positioning)
M106 (Fan on)
G28 X0 Y0 Z0 (Home the Axis)
G92 X0 Y0 Z0 (Reset Home Points)
G0 X0 Y0 Z15 F3300 (Move to purge plate for warmup)

M104 S185 T0 (Extruder Temperature to 185 Celsius)
M109 (wait to reach target temp)
G04 P90000 (Wait 90 seconds)
G92 E0 (Reset extruder position)
G0 E30 F100 (Extrude purge)
G04 P15000 (Wait 15 seconds)
G92 E0 (Reset extruder position)

G0 X0 Y0 Z0 F1800 (Go back to zero.)
G92 X-95 Y-95 Z0 (Reset Home Coordinates to center of plate)
G90 (Use absolute Coordinates)

M103
M105 (Read current temp)
Re: Share your start-up G-code
October 31, 2011 06:49PM
Pretty simple here:

M109 S195 ;Set extruder temperature and wait until it actually reaches it
G92 E0 ;Reset extruder
G1 E30 F300 ;Prime extruder 30mm
G92 E0 ;Reset extruder
G28 X0 ;Home X Axis
G28 Y0 ;Home Y Axis
G28 Z0 ;Home Z Axis


Your M106 command intrigues me; what do you have your fan connected to that lets you control it with gcode?
Re: Share your start-up G-code
October 31, 2011 10:11PM
I am using a RAMPS 1.4 board which has a connection for a second extruder right between the primary extruder and heated bed (if you have one hooked up) I do not use it for a second extruder so the M 106 command will just output 12v to the connections (I am also using sprinter for my firmware)
.
See link for wiring diagram of what I am talking about: [reprap.org]

I had the fan on my electronics for some time but just switched it over to a fan mounted by the extruder and I manually move the M 106 command in the gcode to right before bridges or small shapes (M 107 will turn it back off). I am hoping to be able to make the process automatic at some point in the future.
Re: Share your start-up G-code
November 01, 2011 01:53PM
Quote
kevinkline4124
I manually move the M 106 command in the gcode to right before bridges or small shapes (M 107 will turn it back off). I am hoping to be able to make the process automatic at some point in the future.

You can add/use the cool_start.gcode and cool_end.gcode files associated with the cool plugin of skeinforge, it will start the fan at least for the small shape smiling smiley

For my start-up G-code, very simple too :
start.gcode
G21     ;metric is good!
G90     ;absolute positioning
G28     ;go home
G92 E0  ;set extruder home

end.gcode
M104 S0               ;heater off
G1 X30 Y10 F2000.0    ;go to dump area
M84                   ;motors off
Sorry, only registered users may post in this forum.

Click here to login