Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

More
5 years 2 months ago #217742 by rider-83
This post looks great and just what I'm looking for for my 160TCL.
However, I have a concern regarding the angle of rotation for the turret.
I read that  not all indexes are 45 deg because some tools are square shank and others are round ??
Strange. My turret index wheel is evenly machined with 8 sections at 45 degrees. I've measured these and it is correct. The tool positions are machined in appropriately at these index positions to compensate this (Which is normal for any CNC turret)
Did the turret design change at some point over the years?
Would it be as simple as altering the rotation values in .comp for 45 each ?

Please Log in to join the conversation.

More
5 years 2 months ago #217744 by Aciera
It's been a while since I've worked on this but I would think that changing this:
Code:
param rw float odd_move = 43 "distance from odd tool station to even one"; param rw float even_move = 47 "distance from even tool station to odd one";

to this:
Code:
param rw float odd_move = 45 "distance from odd tool station to even one"; param rw float even_move = 45 "distance from even tool station to odd one";

might do the trick.

Please Log in to join the conversation.

More
5 years 2 months ago #217745 by rider-83
Thanks for the quick reply :)

That's what I was thinking. I'll give a try when I get it setup.
Thanks !!

Please Log in to join the conversation.

More
5 years 2 months ago #217809 by rider-83
I need to see the .INI file to see how it is laid out and compare it to my file.
Would this be possible?

Please Log in to join the conversation.

More
5 years 2 months ago #217818 by rider-83
How does the compile function actually work?

Apart from the obvious, how do I know if the compile has done it's job? Is there somewhere I can look to see if files have changed or been added?

Please Log in to join the conversation.

More
5 years 2 months ago #217820 by Aciera
halcompile will give you an output in the terminal window.

I don't think there is much to see in the ini file regarding the toolchanger. With the component the toolchanger is no longer an axis/joint. I think the ini can be found somewhere in the earlier pages of this thread. Or maybe Clive will attach the current version. If I recall correctly he did a remap of M6 to move the turret to the correct X/Z position before each toolchange.

Please Log in to join the conversation.

More
5 years 2 months ago #217822 by rider-83
Does compile change/add things to existing files?
How does it know what/where to do things?

Please Log in to join the conversation.

More
5 years 2 months ago #217828 by Aciera
In a terminal you move to the directory containing your .comp file and then run this:

sudo halcompile --install yourcomp.comp

You can also run halcompile from somewhere else if you provide the path to the file:

sudo halcompile --install /pathtoyourfile/yourcomp.comp

halcompile will then add the necessary files to your linuxcnc code structure so you can load it in your hal file.

Please Log in to join the conversation.

More
5 years 2 months ago #217833 by rider-83
Yes, I've done al of that, and the file is were it should be in usr/lib/linuxcnc.

What I want to know is what is the purpose of compile, what does it do and how ?
How does it work etc. I'm trying to understand its purpose rather than just copying files manually into the correct folders etc.

Please Log in to join the conversation.

More
5 years 2 months ago #217847 by Clive S

 Aciera post=217820 userid=25994halcompile will give you an output in the terminal window.I don't think there is much to see in the ini file regarding the toolchanger. With the component the toolchanger is no longer an axis/joint. I think the ini can be found somewhere in the earlier pages of this thread. Or maybe Clive will attach the current version. If I recall correctly he did a remap of M6 to move the turret to the correct X/Z position before each toolchange.I have attached the config for the 125 if that helps

Attachment not found

 

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.488 seconds
Powered by Kunena Forum