Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mhdale on August 18, 2007, 11:30:55 PM

Title: M Code Macros & Parameters
Post by: mhdale on August 18, 2007, 11:30:55 PM
Hello all, this may be a silly question, but I cant seem to find any information on it. Is there a way to pass a parameter to an MCODE?
i.e. M1050 P234.5
Which would run the Macro 1050 with the parameter 234.5
I can Do this By breaking the macro down and having portions which require the parameter in my base gcode but It would be much tidier for me to have it all in one nice little Mcode Bundle.... Is this possble?

Mike
Title: Re: M Code Macros & Parameters
Post by: Whacko on August 19, 2007, 02:02:47 PM
Yes, there certainly are many ways, elaborate what you want to do.

Whacko