Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Bill_O on March 30, 2009, 08:59:44 AM

Title: init.m1s
Post by: Bill_O on March 30, 2009, 08:59:44 AM
If I make a macro called "init.m1s", to ensure leds are turned off, does it run only when mach starts?
Bill
Title: Re: init.m1s
Post by: Tweakie.CNC on March 30, 2009, 09:07:55 AM
Hi Bill,

Surely if you add a screen button and assign the script there you can run it at any time by clicking on the button.

Tweakie
Title: Re: init.m1s
Post by: poppabear on March 30, 2009, 09:35:12 AM
Bill,

   Yes, you can put the name of your macro in the "init" box, under general config you would name it for instance:
m999 or what ever. Then in that macro put all your SetUserLED(*********x,0) list in it.
It will ONLY run at Start up of Mach3.

scott

   
Title: Re: init.m1s
Post by: Bill_O on March 30, 2009, 10:48:18 AM
Scott,
Thanks again. Just what I needed.
Bill
Title: Re: init.m1s
Post by: Bill_O on March 30, 2009, 10:50:47 AM
Tweakie,
If it was me running the machine no problem. I have to make this as easy as possible for the operator. The less they have to do the less likely something will get forgotten or not done.
Bill
Title: Re: init.m1s
Post by: Tweakie.CNC on March 30, 2009, 11:21:13 AM
Thanks Bill - I understand.

Tweakie.