Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

More
14 Aug 2021 12:25 - 14 Aug 2021 12:26 #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 ?
Last edit: 14 Aug 2021 12:26 by rider-83.

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

More
14 Aug 2021 12:46 #217744 by Aciera
It's been a while since I've worked on this but I would think that changing this:
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:
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 or Create an account to join the conversation.

More
14 Aug 2021 12:49 #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 or Create an account to join the conversation.

More
15 Aug 2021 13:35 #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 or Create an account to join the conversation.

More
15 Aug 2021 15:23 #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 or Create an account to join the conversation.

More
15 Aug 2021 15:31 - 15 Aug 2021 15:40 #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.
Last edit: 15 Aug 2021 15:40 by Aciera.

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

More
15 Aug 2021 15:59 #217822 by rider-83
Does compile change/add things to existing files?
How does it know what/where to do things?

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

More
15 Aug 2021 16:17 - 15 Aug 2021 16:19 #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.
Last edit: 15 Aug 2021 16:19 by Aciera.

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

More
15 Aug 2021 16:57 #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 or Create an account to join the conversation.

More
15 Aug 2021 21:26 - 16 Aug 2021 11:53 #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

File Attachment:

File Name: Boxford_20...8-15.rar
File Size:10 KB
 

Attachments:
Last edit: 16 Aug 2021 11:53 by Clive S.

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

Time to create page: 0.129 seconds
Powered by Kunena Forum