Notifiche
Cancella tutti

Wait GCode  

  RSS
cory.w
(@cory-w)
Estimable Member
Wait GCode

I'm trying to build a print/script that will heat up the hotend to 280 for 1 min, then go down to 110 and wait 5 mins, then beep, so I can do a cold pull. I have all the commands needed except for the wait command and how to make it go 5 mins.

Any ideas?

Postato : 08/06/2017 4:47 am
kevin.r5
(@kevin-r5)
Estimable Member
Re: Wait GCode

http://reprap.org/wiki/G-code#G4:_Dwell

G4 P5000 ; Dwell 5000ms (pause 5 sec.)

-Kevin

Postato : 08/06/2017 6:04 am
JeffJordan
(@jeffjordan)
Utenti Moderator
Re: Wait GCode

G4 S300; will wait for 300 seconds = 5 minutes

i commonly use the G4 command inside my start script, together with an M300 S440 P1000 "beep", to remind me cleaning the nozzle with the tweezers.

dem inscheniör is' nix zu schwör...

Postato : 08/06/2017 9:05 am
cory.w
(@cory-w)
Estimable Member
Topic starter answered:
Re: Wait GCode

Awesome. Thanks you guys!

Is there a way to display a prompt of some sort with a yes/no, so that it can wait until I confirm I did the cold pull?

Postato : 08/06/2017 7:45 pm
JeffJordan
(@jeffjordan)
Utenti Moderator
Re: Wait GCode

Awesome. Thanks you guys!

Is there a way to display a prompt of some sort with a yes/no, so that it can wait until I confirm I did the cold pull?
unfortunately not.
the genuine marlin firmware is supposed to prompt such a message, but it's messed up inside the prusa branch (due to the refresh / scrolling of the lcd).

dem inscheniör is' nix zu schwör...

Postato : 08/06/2017 8:15 pm
cory.w
(@cory-w)
Estimable Member
Topic starter answered:
Re: Wait GCode

What do you need to put after each line to make the pritner wait before sending the rest? This is what I created so far using textedit on mac although it sends some formatting text at the beginning. It sends all this in succession and makes the print finish right away although it looks like its following the commands in order at least.

M115 U3.0.11 ; use the latest firmware version
M301 P29.19 I2.53 D84.28
G28 W
G1 X130 Y126 Z65
M104 S280
M109 S280
M104 S110
M109 S110
G4 S300
M300 S440 P1000
G4 S120
M104 S0
M84 ; disable motors

Postato : 09/06/2017 12:36 am
Condividi: