Hello Guest it is March 29, 2024, 06:16:28 AM

Author Topic: G Code to set mach into reset at end of program??  (Read 4854 times)

0 Members and 1 Guest are viewing this topic.

G Code to set mach into reset at end of program??
« 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

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: G Code to set mach into reset at end of program??
« Reply #1 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.
PEACE
Re: G Code to set mach into reset at end of program??
« Reply #2 on: October 15, 2010, 11:54:54 AM »
Tweakie

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

Ex apprentice