Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: NormB on January 13, 2010, 10:02:53 AM

Title: Running a macro
Post by: NormB on January 13, 2010, 10:02:53 AM
How do you get mach3 to run a macro?  I have one I amplying with but do not know how to tell Mach3 to run it.
Title: Re: Running a macro
Post by: BClemens on January 13, 2010, 10:06:57 AM
Assign it an 'M' code... Name the file ('M x'.m1s) in the macro files area then call it in the program with that 'M' code.
Bill C.
Title: Re: Running a macro
Post by: Overloaded on January 13, 2010, 10:16:15 AM
......like M345 for example, put it in the macros folder of the profile you're using and either put M345 in your code...or enter M345 in the MDI line.
Russ