Ending script to lower bed and move it forward

General discussion topics
Post Reply
steve220
Posts: 67
Joined: Tue Oct 11, 2016 2:32 pm

Ending script to lower bed and move it forward

Post by steve220 » Mon Oct 17, 2016 1:28 pm

Rev. E new user here. I'm looking for some code at the end of a print to lower the bed and move it forward.

User avatar
Jules
Posts: 3144
Joined: Wed Jan 21, 2015 1:36 am

Re: Ending script to lower bed and move it forward

Post by Jules » Mon Oct 17, 2016 2:19 pm

Single or Dual?

This is the one I use for the left nozzle of a dual...(if you have a single it is not necessary to specify the tool number.)
And you're wanting to move along the Y axis so you can add a Y200 (or whatever you need) into the G1 Z200 command to move it forward as well as down.

T0
M104 S0 ; turn off extruder temperature
M140 S0 ; turn off bed
G91 ; relative mode
G1 Z10 E-10 ; lower bed 10mm & retract 10 mm
G90 ; absolute mode
G1 X100 ; center X axis
G1 Z200 ; drop Z axis to just above spring
M84 ; stop idle hold
M106 S0 ; stop bed fan

steve220
Posts: 67
Joined: Tue Oct 11, 2016 2:32 pm

Re: Ending script to lower bed and move it forward

Post by steve220 » Tue Oct 18, 2016 12:41 pm

Single. Thanks so much!

Post Reply