Hello Guest it is November 21, 2019, 07:15:42 PM

Author Topic: init.m1s  (Read 3207 times)

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  250 250
    • View Profile
init.m1s
« 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

Offline Tweakie.CNC

*
  • *
  •  8,008 8,008
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: init.m1s
« Reply #1 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
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: init.m1s
« Reply #2 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

   
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/

Offline Bill_O

*
  •  250 250
    • View Profile
Re: init.m1s
« Reply #3 on: March 30, 2009, 10:48:18 AM »
Scott,
Thanks again. Just what I needed.
Bill

Offline Bill_O

*
  •  250 250
    • View Profile
Re: init.m1s
« Reply #4 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

Offline Tweakie.CNC

*
  • *
  •  8,008 8,008
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: init.m1s
« Reply #5 on: March 30, 2009, 11:21:13 AM »
Thanks Bill - I understand.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.