I need a little tool chain advice August 23, 2011 11:41PM |
Registered: 13 years ago Posts: 50 |
Re: I need a little tool chain advice August 24, 2011 03:20AM |
Registered: 13 years ago Posts: 199 |
Re: I need a little tool chain advice August 24, 2011 11:04AM |
Registered: 13 years ago Posts: 1,611 |
G90 Set to Absolute Positioning - okay G21 Set Units to Millimeters - okay ;M103 Deprecated - Turns the extruder off. (DC motor only) ;M105 Get Extruder Temperature M106 Fan on - okay if you have one attached to your electronics M140 S60.0 Set Bed Temperature (Fast) - okay if you have one attached to your electronics M141 S30.0 Chamber Temperature (Fast) M142 S0.0 Holding Pressure - I think this is just for M113 S1.0 Set Extruder PWM (DC extruder only) ;M108 S16.0 Deprecated - Sets the Extruder Feed Motor Speed (DC extruder only) M104 S200.0 Set Extruder Temperature (Fast) M104 S199.715 Set Extruder Temperature (Fast) - not sure why this is in twice? ;M108 S13.72 Deprecated - Sets the Extruder Feed Motor Speed (DC extruder only) G1 X-8.64 Y-7.27 Z0.72 F60.0 G1 F798.0 G1 E0.0 G1 F60.0 ;M101 Deprecated - Extruder on, forward (DC extruder only) G1 X-8.64 Y13.03 Z0.72 F205.776 E4.4695 etc...
G21 ;metric is good! G90 ;absolute positioning G92 E0 ;set extruder home G1 E10 ;extrude a bit to overcome hysterisis G92 E0 ;reset extruder home G28 X0 Y0 ;Set X and Y homeYou can also specify what happens at the end of the gcode. I've altered mine to make sure the hot end moves to home rather than resting on the print and destroying it! My end.gcode file looks like this:
G1 X0 Y0 F4000.0 ;move to home G92 E10 ;set extruder home to 10mm G1 E0 ;retract 10mm M104 S0.0 ;Heater offPhew! Hope that helps.
Re: I need a little tool chain advice August 24, 2011 02:50PM |
Registered: 13 years ago Posts: 50 |
Re: I need a little tool chain advice August 25, 2011 07:13PM |
Registered: 14 years ago Posts: 202 |
Re: I need a little tool chain advice August 25, 2011 09:28PM |
Registered: 13 years ago Posts: 50 |
Re: I need a little tool chain advice September 03, 2011 07:19AM |
Registered: 14 years ago Posts: 202 |
Re: I need a little tool chain advice September 03, 2011 02:24PM |
Registered: 13 years ago Posts: 50 |
Re: I need a little tool chain advice September 04, 2011 11:16PM |
Registered: 17 years ago Posts: 1,094 |
G92 E0 ;reset extruder G1 X180 F9000 G1 Y100 G1 X205 Z0.2 ;X205 is beyond the edge of my bed, this basically sets the nozzle up to be wiped before printing skirt G1 E10 F300 ;prime extruder G92 E2 G4 P2000 ;wait for user to wipe dribbles, or flow to settle down or whatever G1 E-5 F1800 ;retract before starting print. turn OFF 'reset E' in sfact with this, so that start of skirt is properly preloaded! G1 F12000
G92 E0.5 G1 E-5 F1800 ;retract G1 X180 Y200 F6000 ;orbit the bed to break strings and signal end-of-print G1 X35 G1 Y0 G1 X180 G1 Y200 ;finish with bed sticking out the front G91 G1 Z10 F300 ; raise Z G90 G1 X0 M104 S140 ;set nozzle to 'idle' temperature where it doesn't dribble but doesn't take long to reach printing temperature M140 S40 ; set bed to idle temperature where parts are easy to remove, but doesn't take long to reach printing temperature M84