Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)
05 Nov 2020 18:54 #188422
by garulus
Replied by garulus on topic Boxford 125 lathe Tool Changer Comp FERROR
Please please please gentleman's! I have same tool changer for years now, never been able to make it work (I’m not programmer + I’m dumb). So if you make on the end some simple guide how to implement it for simpleton like me, I will pay by gold…or, ask your price ![:) :)](/media/kunena/emoticons/smile.png)
*Love Switzerland especially Ticino![;) ;)](/media/kunena/emoticons/wink.png)
*I’m in Gloucester UK
![:) :)](/media/kunena/emoticons/smile.png)
*Love Switzerland especially Ticino
![;) ;)](/media/kunena/emoticons/wink.png)
*I’m in Gloucester UK
![;) ;)](/media/kunena/emoticons/wink.png)
Please Log in or Create an account to join the conversation.
05 Nov 2020 19:05 #188423
by Clive S
Ok is it on a boxford running linuxcnc 2.8
This one is running on a P/port.
I will upload the complete config in a few days.
I have had tremendous help from Aciera so not done it on my own.
Replied by Clive S on topic Boxford 125 lathe Tool Changer Comp FERROR
Please please please gentleman's! I have same tool changer for years now, never been able to make it work (I’m not programmer + I’m dumb). So if you make on the end some simple guide how to implement it for simpleton like me, I will pay by gold…or, ask your price
*Love Switzerland especially Ticino
*I’m in Gloucester UK
Ok is it on a boxford running linuxcnc 2.8
This one is running on a P/port.
I will upload the complete config in a few days.
I have had tremendous help from Aciera so not done it on my own.
The following user(s) said Thank You: garulus
Please Log in or Create an account to join the conversation.
- Mike_Eitel
-
- Offline
- Platinum Member
-
Less
More
- Posts: 1159
- Thank you received: 185
05 Nov 2020 19:46 #188430
by Mike_Eitel
Replied by Mike_Eitel on topic Boxford 125 lathe Tool Changer Comp FERROR
When i see your film i think you could detect by a normal inductive sensor the moment your lock flips back. Then just go a bit back. You could also use that (with a bit debouncing) to count position.
Mike
Mike
Please Log in or Create an account to join the conversation.
06 Nov 2020 07:26 - 06 Nov 2020 09:25 #188476
by Aciera
The Jogging seems to only work for values >= 0.30 in the GUI box. I'll have a look at it when I have some time.
This should be fixed now.
I got rid of the "ishomed" pin and added an "enable" pin:
Replied by Aciera on topic Boxford 125 lathe Tool Changer Comp FERROR
I don't think the jog is working.
I got rid of the "ishomed" pin and added an "enable" pin:
#### CONNECT TOOLCHANGER.ENABLE AND STEPGEN.n.ENABLE TO THE SIGNAL YOU WANT
net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable
Attachments:
Last edit: 06 Nov 2020 09:25 by Aciera.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
06 Nov 2020 11:21 #188490
by Clive S
Yes jog is working forward and back (forward is slower that back)
Everything works but I think my hal file is a bit screwed as I don't get the tool prompt on start-up as you need to tell the system what tool number is is on at the start.
From the comp these settings sems to work fine
from the hal file. I did ot understand YOURPIN This is where I might have failed for the tool prompt
[code]net tool-change iocontrol.0.tool-change => toolchanger.toolchange
net tool-changed iocontrol.0.tool-changed <= toolchanger.toolchanged
net tool-number iocontrol.0.tool-prep-number => toolchanger.toolnumber
net tool-oldnumber iocontrol.0.tool-number => toolchanger.currenttoolnumber
net apos-cmd toolchanger.position-cmd => stepgen.2.position-cmd
net toolchanger-stepgen-fb <= stepgen.2.position-fb => toolchanger.stepgen-pos-fb
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
##net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable
##net ATC-enable toolchanger.enable => stepgen.2.enable
###net ahomed joint.2.homed => toolchanger.ishomed
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in stepgen.2.enable (I removed toolchanger.ishomed )
Replied by Clive S on topic Boxford 125 lathe Tool Changer Comp FERROR
I don't think the jog is working.
The Jogging seems to only work for values >= 0.30 in the GUI box. I'll have a look at it when I have some time.This should be fixed now
I got rid of the "ishomed" pin and added an "enable" pin:
#### CONNECT TOOLCHANGER.ENABLE AND STEPGEN.n.ENABLE TO THE SIGNAL YOU WANT net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable
Yes jog is working forward and back (forward is slower that back)
Everything works but I think my hal file is a bit screwed as I don't get the tool prompt on start-up as you need to tell the system what tool number is is on at the start.
From the comp these settings sems to work fine
// allow parameters to be changed by setp for fine tuning
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";
param rw float clear_move = 5 "additional move to ensure clearing the pawl";
param rw float lock_move = 9 "backward move to ensure locking";
param rw float lock_delay = 100 "delay before lock back, very roughly in ms";
from the hal file. I did ot understand YOURPIN This is where I might have failed for the tool prompt
[code]net tool-change iocontrol.0.tool-change => toolchanger.toolchange
net tool-changed iocontrol.0.tool-changed <= toolchanger.toolchanged
net tool-number iocontrol.0.tool-prep-number => toolchanger.toolnumber
net tool-oldnumber iocontrol.0.tool-number => toolchanger.currenttoolnumber
net apos-cmd toolchanger.position-cmd => stepgen.2.position-cmd
net toolchanger-stepgen-fb <= stepgen.2.position-fb => toolchanger.stepgen-pos-fb
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
##net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable
##net ATC-enable toolchanger.enable => stepgen.2.enable
###net ahomed joint.2.homed => toolchanger.ishomed
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in stepgen.2.enable (I removed toolchanger.ishomed )
Please Log in or Create an account to join the conversation.
06 Nov 2020 12:08 #188494
by Aciera
Replied by Aciera on topic Boxford 125 lathe Tool Changer Comp FERROR
What I meant is that you need to add
=> toolchanger.enable => stepgen.2.enable
to an output pin of your choice like this:
net estop-ext <= iocontrol.0.emc-enable-in => toolchanger.enable => stepgen.2.enable
make sure you download the comp from my post again and recompile as I updated it before lunch and try again.
=> toolchanger.enable => stepgen.2.enable
to an output pin of your choice like this:
net estop-ext <= iocontrol.0.emc-enable-in => toolchanger.enable => stepgen.2.enable
(forward is slower that back)
make sure you download the comp from my post again and recompile as I updated it before lunch and try again.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
06 Nov 2020 12:38 #188495
by Clive S
Thanks all works as expected.
I will put the my config with the modified comp up for the benefit of others.
Replied by Clive S on topic Boxford 125 lathe Tool Changer Comp FERROR
What I meant is that you need to add
=> toolchanger.enable => stepgen.2.enable
to an output pin of your choice like this:
net estop-ext <= iocontrol.0.emc-enable-in => toolchanger.enable => stepgen.2.enable
(forward is slower that back)
make sure you download the comp from my post again and recompile as I updated it before lunch and try again.
Thanks all works as expected.
I will put the my config with the modified comp up for the benefit of others.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
06 Nov 2020 17:19 - 09 Nov 2020 22:30 #188519
by Clive S
Replied by Clive S on topic Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)
I am posting my config here for the benefit of others that have a Boxford 125 or 160 tool changer
These are the ones that don't have any sensors and have to reverse to lock.
The original comp was done sometime ago for linuxcnc 2.4 ish wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...oolchanger_component
This has been substantially modified and tested by myself and ACIERA that has put a lot of effort and work helping me.
This does not need an A axis it is all done in the toolchanger.comp. But it does require stepgens so will need an extra set in the hal file. The ATC stuff is at the bottom of the hal file
The comp can be opened with a text editor and there are instructions in it to change a few parameters
Edit: The comp has to be put in the machine config folder then compiled by opening a terminal in the config folder then issue the following:.
sudo halcompile --install toolchanger.comp
It will ask for a password for root. Put the psw in and press enter
That's it.
These are the ones that don't have any sensors and have to reverse to lock.
The original comp was done sometime ago for linuxcnc 2.4 ish wiki.linuxcnc.org/cgi-bin/wiki.pl?Contri...oolchanger_component
This has been substantially modified and tested by myself and ACIERA that has put a lot of effort and work helping me.
This does not need an A axis it is all done in the toolchanger.comp. But it does require stepgens so will need an extra set in the hal file. The ATC stuff is at the bottom of the hal file
The comp can be opened with a text editor and there are instructions in it to change a few parameters
Edit: The comp has to be put in the machine config folder then compiled by opening a terminal in the config folder then issue the following:.
sudo halcompile --install toolchanger.comp
It will ask for a password for root. Put the psw in and press enter
That's it.
Attachments:
Last edit: 09 Nov 2020 22:30 by Clive S.
The following user(s) said Thank You: tommylight, javanree
Please Log in or Create an account to join the conversation.
08 Nov 2020 12:14 #188661
by petermc
Replied by petermc on topic Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)
What parting tool are you all using for this tool changer?
I've just realised a MGEHL1010 has a carbide mounting head that is too long to allow rotation. On a TCL160 at least. It seems you only have about 25mm clearance from tool turret to bed during a rotation.
I've just realised a MGEHL1010 has a carbide mounting head that is too long to allow rotation. On a TCL160 at least. It seems you only have about 25mm clearance from tool turret to bed during a rotation.
Please Log in or Create an account to join the conversation.
15 Mar 2021 02:53 - 16 Mar 2021 07:44 #202300
by garulus
Replied by garulus on topic Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)
...
Attachments:
Last edit: 16 Mar 2021 07:44 by garulus.
Please Log in or Create an account to join the conversation.
Time to create page: 0.102 seconds