Hello Guest it is March 19, 2024, 06:39:17 AM

Author Topic: switch of the motors off after end of G-code  (Read 3024 times)

0 Members and 1 Guest are viewing this topic.

switch of the motors off after end of G-code
« on: February 26, 2011, 05:20:52 PM »
Hello everybody,

I Dont know if this is the correct area to post my question, moderators feel free to move the thread.

I basically would like to have the ability to go offline after M05, is there any way to do it with macros or brains?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: switch of the motors off after end of G-code
« Reply #1 on: February 26, 2011, 08:15:09 PM »
What do you mean by offline? Are you meaning the offline button on the screen?
Hood
Re: switch of the motors off after end of G-code
« Reply #2 on: February 26, 2011, 09:11:33 PM »
Hello Hood,

Yes, that's the idea.
I m running g-codes that take about 5 hours to complete, I would like to leave the machine run unattended during the night and turn off after finish.

Forgot to mention I m using a smooth stepper with G540.

Thanks

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: switch of the motors off after end of G-code
« Reply #3 on: February 26, 2011, 09:37:35 PM »
Well what you  would do is make a macro up and place it in your profiles macro folder. What you would have in the macro is
DoOemButton(178)

Name the macro something like m111.m1s and then at the end of your code(before m30) have m111 and it should toggle the offline button.
Hood
Re: switch of the motors off after end of G-code
« Reply #4 on: February 26, 2011, 10:07:56 PM »
Ah good !
Thanks Hood, Ill get right on it :) !