Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

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 or Create an account to join the conversation.

More
5 years 2 months ago - 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.
Last edit: 5 years 2 months ago by Aciera.

Please Log in or Create an account 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 or Create an account to join the conversation.

More
5 years 2 months ago - 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.
Last edit: 5 years 2 months ago by Aciera.

Please Log in or Create an account 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 or Create an account to join the conversation.

More
5 years 2 months ago - 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

File Attachment:

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

Last edit: 5 years 2 months ago by Clive S.

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

Time to create page: 0.100 seconds
Powered by Kunena Forum