Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

More
5 years 11 months ago #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 to join the conversation.

More
5 years 11 months ago #188423 by Clive S

garulus wrote: 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.

Please Log in to join the conversation.

More
5 years 11 months ago #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 to join the conversation.

More
5 years 11 months ago #188476 by Aciera

I don't think the jog is working.


[strike]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.

[/strike] This should be fixed now.


I got rid of the "ishomed" pin and added an "enable" pin:

Code:
#### CONNECT TOOLCHANGER.ENABLE AND STEPGEN.n.ENABLE TO THE SIGNAL YOU WANT net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable

Attachment not found

Please Log in to join the conversation.

More
5 years 11 months ago #188490 by Clive S

Aciera wrote:

I don't think the jog is working.


[strike]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.

[/strike] This should be fixed now

I got rid of the "ishomed" pin and added an "enable" pin:
Code:
#### CONNECT TOOLCHANGER.ENABLE AND STEPGEN.n.ENABLE TO THE SIGNAL YOU WANT net ATC-enable <= YOURPIN => toolchanger.enable => stepgen.2.enable

Attachment not found


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
Code:
// 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 to join the conversation.

More
5 years 11 months ago #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.

Please Log in to join the conversation.

More
5 years 11 months ago #188495 by Clive S

Aciera wrote: 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.

Please Log in to join the conversation.

More
5 years 11 months ago #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.


Attachment not found

Attachment not found

Please Log in to join the conversation.

More
5 years 11 months ago #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 to join the conversation.

More
5 years 7 months ago #202300 by garulus

Please Log in to join the conversation.

Time to create page: 3.964 seconds
Powered by Kunena Forum