Notifications
Clear all

[Solved] GCODE snippet question  

  RSS
FoxRun3D
(@foxrun3d)
Famed Member
GCODE snippet question

I'm sure I'm missing something super obvious but this has been a head scratcher for me.

I wrote a trivial one-line gcode script to set the nozzle temperature to 170 degrees:

M104 S170 ; set extruder temp to 170 to prevent oozing

Use case: Load filament, then run the script to cool the nozzle down to prevent oozing while I'm doing other stuff.

However, when I run it from the LCD display on my Mk3Ss (and I've tried them all), I get a "File incomplete. Continue anyway?" error. If I continue, the gcode executes just fine and cools the nozzle down as expected. 

On Minis, no problem.

Just curious what the Mk3 might be expecting, to be happy about the GCODE?

Best Answer by Neophyl:

Its looking for M84; disable motors.  I just did a quick test with my mk3 and in the gcode file I added 

M104 S160 ; set extruder no-ooze temp
M84 ; disable motors

and that works without it asking for you to continue.

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Posted : 20/01/2023 3:17 pm
Neophyl
(@neophyl)
Illustrious Member
RE: GCODE snippet question

Its looking for M84; disable motors.  I just did a quick test with my mk3 and in the gcode file I added 

M104 S160 ; set extruder no-ooze temp
M84 ; disable motors

and that works without it asking for you to continue.

Posted : 20/01/2023 4:30 pm
FoxRun3D
(@foxrun3d)
Famed Member
Topic starter answered:
RE: GCODE snippet question

Indeed!

I'll mark it as Solved even though of course there's no rhyme or reason I can come up with why the Mk3S would be looking for an M84 line in Gcode…

 

Formerly known on this forum as @fuchsr -- until all hell broke loose with the forum software...

Posted : 20/01/2023 6:12 pm
Share: