Help with start/end gcode

Discuss general topics that don't suit another sub-forum

Help with start/end gcode

Postby alil2096 » 25 Jul 2017, 04:17

Hi guys, i'm trying the new version of KS and i'm very very satisfied.

But i've a very big problem with the strat gcode.. i'm using an Ultimaker 2 with a e3d v6 hotend, and this is my prefix:

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
G28 Z0 ;move Z to bottom endstops
G28 X0 Y0 ;move X/Y to endstops
G1 X15 Y0 F4000 ;move X/Y to front of printer
G1 Z15 F9000 ;move the platform to 15mm
G92 E0 ;zero the extruder length
G1 F200 E10 ;extrude 10mm of feed stock
G1 F900 E20 ;extrude 20mm of feed stock
G92 E0 ;zero the extruder lenght again
M117 Printing... ;write "printing..." on LCD


And preheat:

M140 S<TEMP> ;imposta la temperatura del piano di stampa
M190 ;aspetta fio a quantdo la temperatura del piano non viene raggiunta
; heat the extruder without waiting
M104 S<TEMP> T<EXT+0>
; Leave this blank to disable preheat

When the print starting, the hotend reach the temperature, but the bed no.. also the comand with purge is ignored.. So, what can i do? :D
alil2096
 
Posts: 31
Joined: 08 Sep 2015, 16:50

Re: Help with start/end gcode

Postby pjr » 25 Jul 2017, 07:40

Humm. There are a few issues there.

You are homing Z and then moving X and Y, without lowering the bed. Possibility of scraping the nozzle across the bed.

You are extruding 10mm and then a further 10mm (absolute mode) before you heat the nozzle, so extrusion will be prevented.

M140 S<BED> not <TEMP>
M190 by itself will turn off the bed - M190 S<BED>
M109 S<TEMP> will set extruder temp and wait for temp; M104 will not wait and therefore you will not be able to print until temp is achieved.

Peter
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 225
Joined: 05 May 2015, 10:27
Location: Slovenia

Re: Help with start/end gcode

Postby alil2096 » 25 Jul 2017, 08:13

Thanks for the reply..

OK, now edit the code ;)

SO, there is difference between write in "prefix" or "preheat"?

You are homing Z and then moving X and Y, without lowering the bed. Possibility of scraping the nozzle across the bed.


No, because the zero of z is lower, i print at abount z=200.. The endstop is lower ;)
alil2096
 
Posts: 31
Joined: 08 Sep 2015, 16:50

Re: Help with start/end gcode

Postby pjr » 25 Jul 2017, 10:31

G21 ;metric values
G90 ;absolute positioning
M82 ;set extruder to absolute mode
G28 Z0 ;move Z to bottom endstops
G1 Z5 F300; to save the bed when the end stop is set incorrectly...
G28 X0 Y0 ;move X/Y to endstops
G1 X15 Y0 F4000 ;move X/Y to front of printer
G1 Z15 F9000 ;move the platform to 15mm
M140 S<BED> ; Heat the bed (don't wait)
M109 S<TEMP> T<EXT> ; Heat Extruder (and wait till it's hot)
M190 S<BED> ; Heat the bed (and wait till it's hot)
G92 E0 ;zero the extruder length
G1 F200 E10 ;extrude 10mm of feed stock
G1 F900 E30 ;extrude 20mm of feed stock
G92 E0 ;zero the extruder length again
M117 Printing... ;write "printing..." on LCD

Peter
Please note: I do not have any affiliation with KISSlicer. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage or loss.
User avatar
pjr
 
Posts: 225
Joined: 05 May 2015, 10:27
Location: Slovenia

Re: Help with start/end gcode

Postby alil2096 » 25 Jul 2017, 10:40

Peter, you are a wizard :D
Tnk a lot ;)
alil2096
 
Posts: 31
Joined: 08 Sep 2015, 16:50


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest