Page 1 of 1

Engage Stepper Motors after build finish

Posted: Sun Apr 03, 2016 6:09 pm
by thwhitfield
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 ****

Re: Engage Stepper Motors after build finish

Posted: Mon Apr 04, 2016 7:29 am
by CompoundCarl
I'm pretty sure these machines have hard-coded routines that they run at the start and end of the print. For example, if you ever click Stop while a print is running, you will notice that is does some automated things like lowering the bed and disabling the motors. I don't think you can change some of these things..

Re: Engage Stepper Motors after build finish

Posted: Tue Apr 05, 2016 8:15 pm
by thwhitfield
Would there be a way in gcode to have the stepper motors engaged and dwell on for a minute or two before the machine thinks that print is quite done?

Re: Engage Stepper Motors after build finish

Posted: Wed Apr 06, 2016 7:36 am
by CompoundCarl
You could just do some very slow G1 movements back and forth. That would keep the steppers engaged but still essentially delay for a few seconds.