-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tool table pocket has no meaning without RANDOM_TOOLCHANGER #30
Comments
Comment by machinekoder To fix this problem it would be easy to add another value to the tool table that saves the real pocket id and to use this value in iocontrol. I don't think we need to change anything internally. |
Comment by ArcEye I am unclear what the problem is specifically. I have written several custom realtime toolchanger components in the past, along with custom versions of iocontrol, so have some knowledge. If you want to use the You might be far better off writing a version of iocontrol that does what you want from the outset. |
Comment by machinekoder Citing again from the documentation:
In this mode, the pocket ID is equal to the tool table index and only one tool can be located in one pocket. Without For my application, the tool table should store a list of tools and the pocket (or position) ID references the location in the tool rack. However, the tool table also contains tools which are not loaded into the tool rack. This means there might be duplicate pocket ids in the tool table which disqualifies the Of course, I could write a tool changer component that loads the pocket ID from the tool table file based on the tool table position (which is reported instead of the pocket ID). I just wonder if this behavior is intended or if this is something that has not been implemented (as stated in the documentation). If the current behavior is correct, then there is no need to change anything. |
Comment by ArcEye http://linuxcnc.org/docs/2.6/html/code/Code_Notes.html#_toolchanger_abstraction_in_linuxcnc I think you are saying that for instance, you have a rack for 12 tools, but actually have 2 interchangeable racks so have 24 tools. If the order is fixed, each tool can have a unique pocket number and the correct pocket position physically can be determined by : Don't know how that fits? If there can be random substitutions of tools in different pockets, I can't see an alternative to tool table updating and using pocket numbers for the actual tool selection. Tool changers and tool tables have long been a vexed subject in Linuxcnc. |
Issue by machinekoder
Wed Mar 29 18:24:57 2017
Originally opened as machinekit/machinekit#1195
Citing from the docs:
This makes the pocket value and especially the
prep_pocket
value of iocontrol pretty useless for real-life applications.It should not be hard to fix this problem. However, I wonder if something is already depending on this behavior?
The text was updated successfully, but these errors were encountered: