g code

for the extruder and the bed heaters at the same time I must put everything in slic3r / printer setting / custon g-code?
at the end of work I would like the bed back to 0 that is to say all down with the bed and the extruder stops complement to heat.
thank you

my actuel code
G28 ; home all axes
G1 Z5 F5000 ; lift nozzle
M104 S0 ; turn off temperature
G28 X0  ; home X axis
M84     ; disable motors


  • Disable bed
    M140 S0

  • Disable bed
    M140 S0

    this code end or start?

    sorry I am novice!
  • Wherever you want to disable the bed, so normally at the end. Normally slicer will add these codes on it's own.
Sign In or Register to comment.