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

0 Members and 1 Guest are viewing this topic.

Offline ex apprentice

  • Active Member
  • Posts: 33
    • View Profile
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

  • Global Moderator
  • *
  • Posts: 7,682
  • Super Kitty
    • View Profile
    • Tweakie.CNC
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.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline ex apprentice

  • Active Member
  • Posts: 33
    • View Profile
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