BOXFORD 125 TLC Tool Changer Setup

More
30 Dec 2018 13:03 - 30 Dec 2018 13:05 #123143 by garulus
Hi everyone!
I have tool changer from BOXFORD 125 TLC And I found
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ContributedComponents#Boxford_Lathe_ATC_toolchanger_component
My problem is that just looking at README and other files in it gives me headache and I start to sweat :D
I was able to setup my lathe with stepconf, but that is as far as my knowledge goes :(
If it is no to much to ask, would it be possible to write me step by step guide where, and what to copy/alter?
I know I’m asking big favour here, sorry.
Regards Maros
Attachments:
Last edit: 30 Dec 2018 13:05 by garulus.

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

More
30 Dec 2018 15:02 #123151 by pl7i92
Hi
You shoudt go to the Livechat
on the IRC channel there are people live Helpiing you and talking you throu
here it is a bit komplicated to do
as System and Version do not run liniar
so it may be different at your Setup

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

More
30 Dec 2018 15:58 #123161 by garulus
Life chat scares me with my broken English :(
This is what I tried so far:

I copied file toolchanger.comp to my linuxcnc/configs/Lathe_Orac folder

Then copied:

#########################################################
# .ini file for axis - ATC set up as axis A angular
#########################################################
[AXIS_3]
TYPE = ANGULAR
HOME = 0.0
MAX_VELOCITY = 2.5
MAX_ACCELERATION = 5
STEPGEN_MAXACCEL = 5
SCALE = 80.0
FERROR = 1
MIN_FERROR = .25
MIN_LIMIT = -99999
MAX_LIMIT = 99999
HOME_OFFSET = 0.0

to the end of my Lathe_Orac.ini file

Then I copied:

##########################################################
# example Hal linkages required:-
##########################################################

setp stepgen.3.position-scale [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 16000
setp stepgen.3.dirsetup 31000
## make sure accel and velocity are sensibly low or it will take off!
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
### must unlink these 2 to access stepgen.3.position-cmd
### and prevent continual following errors if motor-pos-fb left linked
#net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
#net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable

###########################################################
# loading the toolchange component in .hal file
###########################################################

loadrt toolchanger
addf toolchanger servo-thread

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.3.position-cmd
net ahomed axis.3.homed => toolchanger.ishomed
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared

In to my Lathe_Orac.hal file

I don’t understand this part:

### must unlink these 2 to access stepgen.3.position-cmd
### and prevent continual following errors if motor-pos-fb left linked
#net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
#net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb

Now when I try to run Linuxcnc I got this message:

/Lathe_Orac.hal:87: parameter or pin ‘stepgen.3.positio-scale’ not found

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

More
31 Dec 2018 14:11 #123205 by andypugh
I think that the 125 TLC might have a different setup to the Orac.

But both should be supported by the latest version of the "carousel" component.

The example config seems to be using 4 stepgens, which seems oddon a lathe.
Is your toolpost moved by a stepper motor or a DC motor?

I set up an Orac in Stuttgart this summer, but I think the 125 is different.

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

More
01 Jan 2019 06:02 #123250 by garulus
I do have Orac Denford Lathe without toolchanger+ toolchanger from Boxford 125 TCL driven by stepper motor.

Update:

I copied file toolchanger.comp to my linuxcnc/configs/Lathe folder

Then copied Header:


################################################## #######
# .ini file for axis - ATC set up as axis A angular
################################################## #######
[AXIS_3]
...

to the end of my Lathe.ini file

Then I copied:


################################################## ########
# example Hal linkages required:-
################################################## ########

setp stepgen.3.position-scale [AXIS_3]SCALE
...

AND

################################################## #########
# loading the toolchange component in .hal file
################################################## #########

loadrt toolchanger
addf toolchanger servo-thread

...

In to my Lathe.hal file

Then I run terminal in my configs directory to compile:


sudo halcompile --install toolchanger.comp

(sudo comp --install toolchanger.comp) don’t work!

Still stuck Here when try to run linuxcnc

/Lathe_Orac.hal:87: parameter or pin ‘stepgen.3.positio-scale’ not found
The following user(s) said Thank You: andypugh

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

More
01 Jan 2019 08:53 #123254 by garulus
Hi Andy! I have no idea what is “carousel component”, and how it would help me. Is there any guide I can follow to make my 8 position tool post driven by stepper motor works? Or if it is not too much to ask, can you guide me step by step please?

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

More
More
01 Jan 2019 20:47 #123288 by andypugh
We would need rather more information on the nature of the feedback and control if the turret to help further.

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

More
01 Jan 2019 20:52 #123289 by andypugh

/Lathe_Orac.hal:87: parameter or pin ‘stepgen.3.positio-scale’ not found


It should be “position-scale”

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

More
16 Apr 2019 09:12 #130971 by fieldofcows
Hi @garulus. Did you ever manage to get this working? If not I might be able to help as I have the same lathe, same turret and wrote my own configuration to make it all work.

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

Time to create page: 0.120 seconds
Powered by Kunena Forum