Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: saleh on December 17, 2007, 01:01:58 PM

Title: M6 start for lathe
Post by: saleh on December 17, 2007, 01:01:58 PM
I have Mach3 and I need help for Tool changer .for Mach3 lathe.

for example if I use in my micro.

tool = GetSelectedTool()
if tool = 1 then Activatesignal(output1)
else
Activatesignal(output2)
deactivatesignal(output1)

end if
 
 
this will work only Mach3mill .I tried it with mach3lathe never work.
Please if any body can help me .So I can use it to mach3lathe.


saleh

Title: Re: M6 start for lathe
Post by: Hood on December 17, 2007, 02:05:32 PM
I think that should work. How are you calling the tool in Turn? Instead of M6T1 you would just put T0101 
t0101 = Tool 1 offset 1 so T1002 tool 10 offset 2

Hood
Title: Re: M6 start for lathe
Post by: saleh on December 18, 2007, 11:13:01 AM
thank you Hood,
I tried it and your way work fine

saleh