Turret Rotating to fast and missing steps

More
17 Sep 2022 09:47 #252154 by Turners
Hi all
I have downloaded the tool turret for a Boxford 160 and imported into .ko file i can get it to rotate but it goes of to fast and loses position 
how does the Hal file interact with the installed boxford download? 
and how do i slow it down ?
I think I'm missing something but don't know what  any help would be great 
kind regards turners
 

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

More
17 Sep 2022 10:15 #252156 by andypugh
Is it stepper or DC motor driven?

Can you link us to the component that you are using, so that we are definitely looking at the same thing?

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

More
17 Sep 2022 10:25 #252159 by Turners
Hi
its a stepper motor
how do i add a file here?

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

More
17 Sep 2022 10:55 #252161 by Turners
here i think
Attachments:

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

More
17 Sep 2022 11:13 #252163 by Turners
how do these interact with a comp.ko file do i make a change in toolchange. comp
then re upload to make it a .ko file?
kind regards
turners

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

More
17 Sep 2022 18:09 #252184 by Clive S

Hi all
I have downloaded the tool turret for a Boxford 160 and imported into .ko file i can get it to rotate but it goes of to fast and loses position 
how does the Hal file interact with the installed boxford download? 
and how do i slow it down ?
I think I'm missing something but don't know what  any help would be great 
kind regards turners

 

This thread might help.

forum.linuxcnc.org/38-general-linuxcnc-q...ror-solved?start=110

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

More
17 Sep 2022 18:35 #252189 by andypugh

how do these interact with a comp.ko file do i make a change in toolchange. comp
then re upload to make it a .ko file?

You use "halcompile" to compile and install the module. 

linuxcnc.org/docs/stable/html/hal/comp.html

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

More
18 Sep 2022 18:54 #252283 by Turners
HI could you have a look at my file I keep getting errors somehow x axis moves but goes the wrong direction z axis doesn't now move but should go back to hard stop. The A axis rotates but just misses the paw on reverse, but it also occasionally goes of random when going t1 to t8 it wants to reverse or spins forward and misses the paw. could anyone explain what im do wrong please
hopefully file is attached if you need more info let me know. 
Attachments:

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

More
18 Sep 2022 19:02 #252285 by andypugh

but it also occasionally goes of random when going t1 to t8 it wants to reverse or spins forward and misses the paw. could anyone explain what im do wrong please

Have you seen this text in the .comp file? 

"These move figures are only half the actual move in degrees. The scaling takes care of the distance actually moved.
There is a very good reason for this.
It prevents the stepgen seeing any move as being in excess of 180degrees, therefore all moves between tool stations will be forward moves.
If you command a move to a position which is say 270degrees on a angular axis, the stepgen will try to move 90degress backwards 
to get to the same point by the shortest route.
In theory unlinking the stepgen dir signal and using our own should work, but it didn't and the axis wanted to go backwards all
the time despite the flag being set at TRUE (FWD).
As this worked perfectly, I preserved my sanity and just left well alone."

Is your A axis actually configured to move twice as far as requested? 

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

More
18 Sep 2022 20:13 #252297 by Turners
my a xis in ini file?
66.76 ?
i have uploaded my files could you check I'm unsure where to change 


what does this mean?
In theory unlinking the stepgen dir signal and using our own should work, but it didn't and the axis wanted to go backwards all
the time despite the flag being set at TRUE (FWD).    is it already unlinked in tool changer file.  
thanks for you time
 

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

Time to create page: 0.123 seconds
Powered by Kunena Forum