Boxford 125 lathe Tool Changer Comp FERROR (SOLVED)

More
6 years 1 week ago #187122 by PCW
its in the ini file

Can you plot the tool changer position command?
Does it really have a 1000 degree step?
The following user(s) said Thank You: Clive S

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

More
6 years 1 week ago - 6 years 1 week ago #187123 by Clive S

PCW wrote: its in the ini file

Can you plot the tool changer position command?
Does it really have a 1000 degree step?


I have done an edit in the previous post.

I will try and do a plot in the morning . What do I plot the tool changer command against for the trigger

I have to stop now have been called for dinner. thanks again
Last edit: 6 years 1 week ago by Clive S.

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

More
6 years 1 week ago #187183 by Clive S

Clive S wrote:

PCW wrote: its in the ini file

Can you plot the tool changer position command?
Does it really have a 1000 degree step?


I have done an edit in the previous post.

I will try and do a plot in the morning . What do I plot the tool changer command against for the trigger

I have to stop now have been called for dinner. thanks again


Re: Does it really have a 1000 degree step? not sure what you mean by this.

This is the first plot with the ferror at 1000 and min_ferror at 1000

.
then the second ferror at 1000 and min_ferror at 1000

.
The next 3 are with ferror at 1 and min_ferror at 0.5

.
The they are like this until the DRO gets up to 21.7 I am pressing F2 to run between the errors

.
Now it is 21.7 on the DRO I think this is the final position where the turret should be. (I am doing this on the bench ie no physical machine).
.

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

More
6 years 5 days ago - 6 years 5 days ago #187413 by Clive S
I can't seem to get further on this The A axis will not move further that 1 unit then it will ferror

Code:
[AXIS_A] TYPE = ANGULAR HOME = 0.0 MAX_VELOCITY = 1 MAX_ACCELERATION = 5 STEPGEN_MAXACCEL = 5 SCALE = 80 FERROR = 1 MIN_FERROR = 0.5 MIN_LIMIT = -99999 MAX_LIMIT = 99999 HOME_OFFSET = 0.0 setp stepgen.3.position-scale [AXIS_A]SCALE setp stepgen.3.steplen 1 setp stepgen.3.stepspace 0 setp stepgen.3.dirhold 35000 setp stepgen.3.dirsetup 35000 setp stepgen.3.maxaccel [AXIS_A]STEPGEN_MAXACCEL #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

Has anybody got a working config for an angular A axis

Am I using the wrong axis letter for the turret?

File Attachment:

File Name: boxford.tar
File Size:40 KB
Last edit: 6 years 5 days ago by Clive S.

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

More
6 years 5 days ago #187462 by Mike_Eitel
I dont see that you have somewhere backlash compensation BUT I see the same 5
MAX_ACCELERATION = 5 and STEPGEN_MAXACCEL = 5
Maybe a bit higher value (6) for stepgen does the job?
Mike

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

More
6 years 5 days ago #187470 by Clive S

Mike_Eitel wrote: I dont see that you have somewhere backlash compensation BUT I see the same 5
MAX_ACCELERATION = 5 and STEPGEN_MAXACCEL = 5
Maybe a bit higher value (6) for stepgen does the job?
Mike


Mike thanks for helping.
If you have the time could you look over the post from the beginning. I have done some Halscope plots

I have tried all sorts of values this is the previous one forum.linuxcnc.org/38-general-linuxcnc-q...error?start=0#187119

I am trying to set up a toolchanger on a small Boxford.
The following error happens after the A axis moves 1 unit ie. G1 A1 F2 is ok but A1.1 will error

I am not sure if I am using the correct comp or even using the turret as an A axis. I have tried it with changing the TYPE = ANGULAR to LINEAR. if I remember before I found the comp I could jog it around using a Y axis.

In the ini file I am using X,Z,A with 3 stepgens I am using stepgens 0,2,3 . I have 4 loaded in the hal file

Will missing one out create a problem?

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

Time to create page: 0.261 seconds
Powered by Kunena Forum