Anyone with succesful Rack Type Tool Changer with Auto Tool length probe ?

More
7 years 6 months ago - 7 years 6 months ago #132171 by bevins
There will always be a free pocket unless you place the tool in the spindle in the rack. Either way you can check to see if there is a free pocket, assuming you have switches that detect a tool in pocket, and if, tool in spindle, then you have the tool thats in the spindle. I do this on every tool change so I know the status of tool-rack and whats in the spindle.

I can do this because I have sensors that detect if there is a tool in the spindle and sensors that detect if there is a tool in each pocket.

I also set selected tool and pocket before updating parameters after I set toolchange flag to true. I dont know if Linuxcnc really needs this because on every tool change, I run the functions to test what I asked for and where the tool is.

Keep in mind doing this you need the tool# to be the same as the tool_pocket always. So you have to govern yourself accordingly when setting up tools and doing your cam stuff.
Last edit: 7 years 6 months ago by bevins.

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #166479 by aluplastvz
Regards to all
I was somewhat able to run this example ATC and it works fine, but I have two questions if you can help me,
1. how to do new tool = current tool ignore tool replacement.
2. my machine requires tool orientation
Thanks a lot

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #166503 by andypugh

aluplastvz wrote: 1. how to do new tool = current tool ignore tool replacement.


This is automatic with the standard M6, the tool-change - tool-changed handshake is skipped.
So whether you actually need to do anything depends on how the toolchange is being handled.

2. my machine requires tool orientation


Is this handled by a mechanical stop or by encoder?

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #166504 by aluplastvz
Sorry for the lost translation
My machine has 10 + 10 tools set to Y0 10 tools and Y4100 10 tools
i have sensor in atc and encoder
My problem with the code is when I restart
program from the beginning and if I worked with T1
the machine again goes into position T1 leave the tool and then take it again

thanks for the bry response

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #166506 by aluplastvz

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #166507 by andypugh
It is hard to speculate about what needs to change without knowing how your system is controlled.

It can't be identical to sim/axis/remap/rack-toolchange as that has no measurement phase.

Do you have this file: github.com/LinuxCNC/linuxcnc/blob/master...ines/rack_change.ngc

Maybe change it to
Code:
o<rack_change> sub M73 (auto-restore modal settings on return) O111 IF [#<_current_tool> EQ #<_selected_tool>] O<rack_change> RETURN [1] O111 ENDIF ;(print, rack_change: loaded tool=#<_current_tool> current pocket: #<_current_pocket>) ;(print, rack_change: selected tool=#<_selected_tool> selected pocket: #<_selected_pocket>)
The following user(s) said Thank You: aluplastvz, tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.158 seconds
Powered by Kunena Forum