Re: [mach1mach2cnc] Re: Mach3 turn mystery ...to me
- Hi fly_fisher_1953, thank you for your feedback.
You have me thinking and you are right, I apparently goofed when I created
the profile for my Taig lathe. Instead of cloning Mach3Turn I must have
This mistake resulted in importing a whole lot of macros that are not
needed with Turn but all the ones in Mach3Turn are present as well. It
seems the only difference is that M6End in Mill contains the repositioning
code but M6end in Turn does not.
I wonder why they were made differently in the first place. Is this a
security matter? I wish I knew.
With the modifications I have made, now both Mill and Turn can benefit from
this repositioning ability.
Now here is what happens when T0606 is executed: the new tool tip moves to
the same position where the previous tool tip was and then moves back when
the macro is executed.
Does that impair the tool offset functioning thereafter? I do not think so
but I still have to find out.
On 19/02/2013 11:48 AM, fly_fisher_1953 wrote:
> This is more of a newbie warning than anything else.
> Got to looking at the changes in your M6end macro and compared to my own. On my default installation, There are separate folders for mach3turn and mach3mill macros. My Mill M6 end macro is the same as your original macro. My lathe M6End macro contains only 1 REM line..
> "REM nothing here in lathe"
> I'm not using an automatic tool changer and I've performed coded manual tool changes via moving to a tool change position in turn and never experienced your results. I've never had the need to change the macros for turn. So wondering why your turn macro is the same as the mill macro?
> I assume you only changed the macro in the lathe folder and have separate mill and lathe folders? I could see disastrous results if someone was using mach for both mill and lathe with shared macros and modified the wrong macro or edited both to be the same or edited the wrong macro.
> --- In firstname.lastname@example.org, Gaston Gagnon <gaston.gagnon@...> wrote:
>> In case someone would like to use that macro, I made a small correction in
>> the else part line 17 and 18 of M6End.m1s
>> First move X then Z to Tool Change Start position.
>> REM The default script here moves the tool back to m6start if any movement
>> has occurred during the tool change..
>> x = GetToolChangeStart( 0 )
>> If (IsDiameter()>0) Then
>> end If
>> y = GetToolChangeStart( 1 )
>> z = GetToolChangeStart( 2 )
>> a = GetToolChangeStart( 3 )
>> b = GetToolChangeStart( 4 )
>> c = GetToolChangeStart( 5 )
>> if(IsSafeZ() = 1) Then
>> SafeZ = GetSafeZ()
>> if SafeZ > z then StraightTraverse x, y,SafeZ, a, b, c
>> StraightFeed x, y, z , a, b, c
>> Code"G00 X" & x
>> Code"G00 Z" & z
>> end if
[Non-text portions of this message have been removed]