Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

More
05 Nov 2020 18:54 #188422 by garulus
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 ;)

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

More
05 Nov 2020 19:05 #188423 by Clive S

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.

More
05 Nov 2020 19:46 #188430 by Mike_Eitel
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

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

More
06 Nov 2020 07:26 - 06 Nov 2020 09:25 #188476 by Aciera

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

File Attachment:

File Name: toolchange...-06.comp
File Size:10 KB
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.

More
06 Nov 2020 11:21 #188490 by Clive S

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

File Attachment:

File Name: toolchange...-06.comp
File Size:10 KB


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.

More
06 Nov 2020 12:08 #188494 by Aciera
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.
The following user(s) said Thank You: Clive S

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

More
06 Nov 2020 12:38 #188495 by Clive S

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.

More
06 Nov 2020 17:19 - 09 Nov 2020 22:30 #188519 by Clive S
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.


File Attachment:

File Name: toolchange...-06.comp
File Size:10 KB

File Attachment:

File Name: Boxford_20...1-06.hal
File Size:5 KB
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.

More
08 Nov 2020 12:14 #188661 by petermc
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.

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

More
15 Mar 2021 02:53 - 16 Mar 2021 07:44 #202300 by garulus
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.274 seconds
Powered by Kunena Forum