Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Azalin on October 14, 2021, 03:28:05 PM

Title: Empty \Macros folder in newly created profile
Post by: Azalin on October 14, 2021, 03:28:05 PM
Hi,

I created a new profile and noticed the machine doesn't respond to M6 command because the Macros folder was empty. So my question is if I copy and paste the macro files from the original Mach4Mill\Macros folder into my newly created profiles Macros folder, will them work?
Title: Re: Empty \Macros folder in newly created profile
Post by: Bill_O on October 15, 2021, 09:07:23 AM
If the one you want to use worked then yes just copy it.
Title: Re: Empty \Macros folder in newly created profile
Post by: Azalin on October 15, 2021, 09:08:54 AM
Thanks Bill.
Title: Re: Empty \Macros folder in newly created profile
Post by: Azalin on October 15, 2021, 09:52:21 AM
I just need manual tool change so I'll take the M6 for sure but 162 and 163 seems like they are for dual spindle machines. My machine is just a 3 axis milling machine. Do I still need these?

M162   RIGHT SPINDLE WINDING CHANGE HIGH SPEED
M163   RIGHT SPINDLE FORWARD & UPPER COOLANT ON
Title: Re: Empty \Macros folder in newly created profile
Post by: Bill_O on October 15, 2021, 09:54:59 AM
You should only need the ones you will use.
Having said that the extras will not hurt if you never call it.
Title: Re: Empty \Macros folder in newly created profile
Post by: Azalin on October 15, 2021, 02:23:07 PM
I don't know why but it just doesn't work. Is there anything to be done other than copying the files?
Title: Re: Empty \Macros folder in newly created profile
Post by: Azalin on October 15, 2021, 02:55:52 PM
I found the solution here https://www.machsupport.com/forum/index.php?topic=30236.10 (https://www.machsupport.com/forum/index.php?topic=30236.10) and it is very odd. If you disable LUA plugin then Mach4 doesn't include or read macro files at startup. Enabling it solved the problem.
Title: Re: Empty \Macros folder in newly created profile
Post by: DazTheGas on October 17, 2021, 03:47:41 PM
You should only copy the .MCS files to the directory then mach4 will then recompile them.

DazTheGas