MSM and Macro's

MSM Mill mode support
Post Reply
SkyMoCo
Posts: 7
Joined: Fri Feb 15, 2013 3:15 pm

MSM and Macro's

Post by SkyMoCo »

I have a custom macro "m105.m1s" that just does a simple:

SetMachZero(3)

Which I use when "spinning" my 4th axis programatically, to reset it, so I don't have to "rewind" it.

It works fine under my non-MSM profile, but not under MSM. Do I need to put my custom macro's somewhere other than "c:/mach3/macros/[profilename]"

I'm thinking this is in the manual, but I cannot seem to find it. That's the problem with software that just works, no reason to mess with it and you forget.
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: MSM and Macro's

Post by DaveCVI »

Hi,
SkyMoCo wrote:I have a custom macro "m105.m1s" that just does a simple:

SetMachZero(3)

Which I use when "spinning" my 4th axis programatically, to reset it, so I don't have to "rewind" it.

It works fine under my non-MSM profile, but not under MSM. Do I need to put my custom macro's somewhere other than "c:/mach3/macros/[profilename]"
That dir should be fine for a user defined mcode. Mach looks in the same place with or without MSM (for mcode files).

If the script has fancy #includes etc to pull in other code, then the path that mach uses is affected by MSM (#include is dependent on the screenset name that is loaded).

Please post the M105 macros script and the error you get when running it with MSM.
I bet we can find out what's going on from that info.


SkyMoCo wrote: I'm thinking this is in the manual, but I cannot seem to find it. That's the problem with software that just works, no reason to mess with it and you forget.
Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
Post Reply