I'd like to add a line of g-code to my ending script which keeps the stepper motors engaged after the build is finished. I've got a Flashforge creator pro, and after each print is done I always have to go into jog mode and raise up the build plate so that it's at a better angle to stick a paint scraper underneath the builds and wedge them off. Going into jog mode enables the stepper motors, so that when I push down on the build plate with the paint scraper the whole thing doesn't get pushed down.
Here's my current g-code ending script. I added a G1 Z100 F000 line and a M17, which raises up the build plate to the right height but for some reason the M17 command isn't leaving the stepper motors engaged after the build is done.
; **** Replicator 1 dual end.gcode ****
M73 P100 ; end build progress
G1 Z150 F1000 ; send Z axis to bottom of machine
M140 S0 T0 ; cool down HBP
M104 S0 T0 ; cool down right extruder
M104 S0 T1 ; cool down left extruder
M127 ; stop blower fan
G162 X Y F3000 ; home XY maximum
G1 Z100 F1000; send z axis 1/3 of the way up
G162 X Y F3000 ; home XY maximum
M17; Power on all stepper motors
M72 P1 ; play Ta-Da song
; **** end of end.gcode ****