Page 1 of 1

End Script / GCode

Posted: Thu Feb 09, 2023 2:02 pm
by stiandahl
Hi everyone!

I'm trying to get my printer to move the z axis up a bit and move the bed all the way to the front after print is done.
Now, I'm wondering how to do that. I know I can edit the ending script, but I don't know what to change it too.
I think I have to use G90 absolute positioning and use the G28 move command, but I don't understand what parameters to use?

I have Crazy3Dprint CZ-300 printer. with 300x300x300mm print volume. What is the value for the print bed in it's most forward position?

If anyone can help me with this, I would greatly appreciate it!

Thanks!
Stian

P.S.
After some reading, could this be the way to do it?

M104 S0 ; turn off nozzle temperature
M140 S0; turn off bed temp
M105 S0; send tempt to host
G28 X0 ; home X axis
G91 ;relative positioning
G1 E-5 F300 ;retract the filament a bit to release some of the pressure
G1 Y300 F5000; Present part
G90 ;absolute positioning
M84 ; disable motors

Re: End Script / GCode

Posted: Thu Feb 09, 2023 2:26 pm
by airscapes
it depends on where 0 is.. when you home x y and z should be at 0, so 300 is the other way..

Re: End Script / GCode

Posted: Thu Feb 09, 2023 3:10 pm
by stiandahl
Hi. And thanks for reply.

When the print is done, I want the bed to move as far away from 0 as possible.
0 is all the way back, and I want it to move all the way forward.
I'm just afraid that I tell the printer to move further than it is capable of, so something breaks. There is no end stop switches in that direction.

Thanks

Re: End Script / GCode

Posted: Thu Feb 09, 2023 7:44 pm
by DrD
I like to "push" my print bed forward for easy part removal at the end of the print.

My GCODE for this is:

Code: Select all

G1 X0 Y235 F2400 ; position for easy part removal

;perform retract prior to finishing print
G92 E0 ; reset extrusion distance
G1 E-5 F800

M106 S0 ; turn off cooling fan
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
Hope this helps,

D.

Re: End Script / GCode

Posted: Fri Feb 10, 2023 9:07 am
by airscapes
This is the part of my end script that does just that, when mine is done. My bed a 250 so move to 249, If you go too far it will just make a loud clicking noise that will scare you but does no harm to anything.

G90 ; absolute mode
G1 Y249 ; Move bed out
M84 ; disable motors

Re: End Script / GCode

Posted: Fri Feb 10, 2023 5:49 pm
by stiandahl
Thanks guys!
That helps a lot! :D