Machsupport Forum

General CNC Chat => Share Your GCode => Topic started by: ex apprentice on October 15, 2010, 10:53:22 AM

Title: G Code to set mach into reset at end of program??
Post by: ex apprentice on October 15, 2010, 10:53:22 AM
Hi
I am after a G code that I can put at the end of a program to set Mach into the reset mode.
The reasoning behind the request is when in reset my drive boards power down and will keep the motors cool while sat doing nothing
I can then press reset when I run the next program to bring the boards back on line ready to run

Thanks in anticipation

Ex Apprentice
Title: Re: G Code to set mach into reset at end of program??
Post by: Tweakie.CNC on October 15, 2010, 11:48:10 AM
You could try........

Under 'Config / General Config' check the box 'E-Stop the system' on 'Pgm End or M30...'
Then make sure your programs all end with M30 (most do anyway).

Tweakie.
Title: Re: G Code to set mach into reset at end of program??
Post by: ex apprentice on October 15, 2010, 11:54:54 AM
Tweakie

Thank you, thought I had seen it somewhere when stumbling around

Ex apprentice