Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: michaelthomas on October 21, 2010, 10:27:47 AM
-
I'm trying to debug and issue and would like to write program with a pause of a specified amount of time.
Is there a G code command to do this?
I'm familiar with M0, but I want something that will resume movement automatically at a specified time.
Any ideas?
-
For a delay or dwell in G-Code use code G4.
eg. to insert a delay of 5 sec use the line:
G4 P5
Tweakie.
-
Thank you!
Do you have to use whole numbers, or can a decimal be used?
-
You can use decimals.
Tweakie.
-
Great.....Thanks again.
-
It can also be specified in mili seconds, the option is on General Config page.
Hood
-
For a delay or dwell in G-Code use code G4.
eg. to insert a delay of 5 sec use the line:
G4 P5
Tweakie.
thanks! I have a mate with a cheap chinese machine, his spindle takes a few seconds to come to speed, had to edit his post processor to add this right after his M3. 3 seconds ;)
-
Hey Chris I know you have been away from the forum for a while but this thread is over 10 Years old ;D ;D ;D
Tweakie.