Recently (yesterday) I bought and built an I3 printer, it works I did a test print everything came out great, however I have an issue when the printer finishes the head doesn't move off the print it just shuts down sitting on top. I3 printers if you aren't familiar with have a moving bed that slides on the x axes the print head moves up and down side to side. I just need to know the code to get it to when it ends the print to lift off the print and push the bed out. My bed volume is 210x210x180 So it's pretty much a box. I don't need the print head to lift all the way up (if that's possible just enough to clear the print), then "eject" it? pushing the bed out to x220 (home position) 1-5 as I'm never going to print so close to the limit that it can't clear that.
So I'm looking for the script in simplify g-code (that seems to be different than normal g-code) that will do 2 things in this order
move the y to 210 (and if possible at the same time home the x)
Home the X axis
then the normal stuff I know
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors