Quantcast
Channel: Repetier-Host - Repetier-Forum
Viewing all articles
Browse latest Browse all 564

@execute commands executed before gcode completes

$
0
0
I've added an '@execute' command at the very end of the 'end gcode' section of the printer settings in Slic3r.  However, the gcode in this section doesn't finish executing before the @execute command executes.  I've got gcode to home x & y and lift z 10 mm before disabling steppers and turning off the bed and extruder.  What happens is that as soon as the print is finished the @execute and @push message executes before the end gcode.  My @execute script powers off the printer, which leaves the print head melting into the last position of the print instead of lifting the Z and homing X & Y beforehand.  I've tried adding an M400 before the @ commands and a G4 S30, but always the @commands are processed first.
What am I doing wrong?

Viewing all articles
Browse latest Browse all 564

Trending Articles