Hello Guest it is September 22, 2019, 12:36:15 AM

Author Topic: Mach 3 toolchange for dummies???  (Read 60527 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #150 on: October 10, 2011, 06:39:25 AM »
Is that your lathes toolchange macro?
Hood

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #151 on: October 10, 2011, 06:49:07 AM »
Sorry my apologies, was looking at someone elses macro ::)
Will have a look at yours in a bit.
Hood

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #152 on: October 10, 2011, 07:10:00 AM »
Just to get this clear in my head, the tool number DRO is updating correctly with the tool number called, eg t1 called and the DRO shows 1 after the toolchange?

The offset of each tool is ok when called?

It is the toolchange position that is increasing each time?


How are you calling the tools?
Hood
Re: Mach 3 toolchange for dummies???
« Reply #153 on: October 10, 2011, 10:53:34 AM »
The tool number DRO  is updating correctly and the offset is ok when called.

The problem is when the tool returns to the original position before the change is called.

Changing from tool 1 to tool 2 is okay as tool 1 has no offset but changing from tool 2 to tool 4 the machine returns to the offset stated in tool table for tool2 not the original start point.

Calling the tools T0101 M06 etc.

Regards

Art

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #154 on: October 10, 2011, 03:43:36 PM »
Ok think I see what you are saying now, you have a toolchange position and you want the machine to go there to change the tool, it does and then after that you want it to go to the same coords that the last tool was at?
If thats what you are meaning normall that is done in your GCode, ie you change the tool and the next line of code after the change takes the tool to where it is to start.

If thats not what you are meaning then let me know and I will try and understand again :D
Hood
Re: Mach 3 toolchange for dummies???
« Reply #155 on: October 13, 2011, 01:34:07 PM »
Thanks Hood,

Following our conversation on skype the other night the turret is now workiing well and there are no more strange moves after tool change.

One more question for you there is an NPN proximity switch on the x axis lead screw with a slotted disc. Should I be using this? it is not connected yet.

Regards

Arthur

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #156 on: October 13, 2011, 01:59:15 PM »
No, that may have been used for threading with the original control possibly but with Mach you need a pulse from the spindle.
Hood

Offline Hood

*
  •  25,853 25,853
  • Carnoustie, Scotland
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #157 on: October 13, 2011, 03:31:31 PM »
Actually just read again, you said X axis. Dont have a clue what that would have been for, only thing I can think of is its some kind of crude encoder to close the loop to the old control. If it was an opto that had a flag block it at the extent of travel then it would likely have been a limit switch but a slotted disc puzzles me.

Hood
Re: Mach 3 toolchange for dummies???
« Reply #158 on: October 13, 2011, 04:27:20 PM »
I have removed it and  I do have the pulse from the spindle.

Thanks again

Arthur

Offline Tr_G

*
  •  10 10
    • View Profile
Re: Mach 3 toolchange for dummies???
« Reply #159 on: November 26, 2012, 11:18:12 PM »
Hello

Does anyone have any code to run a 16 tool changer so it can find the requested tool?
Details are:
16 tool ATC
output for CW
output for CCW
read input that is off and on to count tools