Hi Art,
the flying scot wrote:I currently have a boxford lathe with 8 tool turret working well with Mach3 and as I have my Mill running on MSM I would like to change the lathe to MSM turn so that I am working with similar screen sets.
If I add MSM turn to my machine will I still be able to use the same tool change macro that I am using with Mach3 as it took a lot of time and effort to get it right?
We'd had many people successfully use a tool change script written for the mach 1024 screens set with MSM.
I'll outline the basic steps that are needed to convert a "1024" tool change script to a MSM tool change script. For more details of the info I'd about to overview, please see the mill manual sections 5.1.4.3 and 15.9.1., Reading thru those sections will be helpful.
OK, when you install MSM lathe, be sure to make a new profile to run MSM with. This will isolate any changes you make for MSM to the MSM profile and you can go back to running your pre-MSM profile at any time. Since you've already installed MSM mill, you are probably familiar with how to do this (the info is in the MSM readme file in case you want to look at it again).
I'll give names to the two profiles so that it's easy to talk about them in this post. We'll call your current 1024 screen set based profile "1024profile" and the new MSM lathe profile "MSMLatheProfile".
For 1024 screen sets, ATC code lives in the M6Start.m1s script. M6start is located in a directory that is specific to the profile name. Using the example profile names, your code is probably in c:\mach3\macros\1024profile\m6start.m1s
You want to copy that script and turn it into a MSM M6ATC script. The fist step is to just do a file copy...
1) copy c:\mach3\macros\1024profile\m6start.m1s as c:\mach3\macros\MSMLatheProfile\M6ATC.m1s
You now have all your box ford ATC logic (almost) ready to be used by MSM.
Some folks stop here and they have a running MSM tool changer script.
Technically, there is one more step that should be done...
2) Open the M6ATC.m1s file you just created with what ever tool you use for editing. Look for the line that says
SetCurrentTool( NewTool )
That may not be the exact line; that is the line of code that the stock 1024 M6start script uses to tell mach that the Tool has been changed.
Comment out the line of code.
I prefer to comment it out rather than delete the line as it will remind me what the difference is between the 1024 and MSM versions of the script the next time I look at the code.
I then add a comment something like this:
Code: Select all
' The above line this was commented out for use in a MSM M6atc script.
' This was part of the stock m6 sequence used by mach.
' With MSM, this action will be taken care of by the MSM M6 routines.
That's it, you now have the code ready to run with MSM.
Put the Lathe profile in auto tool changer mode and MSM will run your existing code that is in the M6ATC script.
the flying scot wrote:Will I encounter any other problems as I hate changing a working system?
regards
Art
While every system is a little git different, and my crystal ball is a bit cloudy

, but I don't know of anything in particular to tell you to watch out for.
If you should run into something, let us know and we'll try to help out.
Dave