Help with rotary axis please
- aaron
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
02 Aug 2022 16:08 #248851
by aaron
Help with rotary axis please was created by aaron
Hi all
I run a home built CNC router with a rotary axis attachment. The thing works fine except that I cannot get the rotary axis to rotate as fast as I would like (and I'm sure it could). The router has 2 steppers on the x axis so I cannot use stepper wizard to configure it. I am hoping that someone could take a look at the attached .ini and .hal files and tell me how to improve things.
Thanks for reading, and thanks for any answers
Aaron
I run a home built CNC router with a rotary axis attachment. The thing works fine except that I cannot get the rotary axis to rotate as fast as I would like (and I'm sure it could). The router has 2 steppers on the x axis so I cannot use stepper wizard to configure it. I am hoping that someone could take a look at the attached .ini and .hal files and tell me how to improve things.
Thanks for reading, and thanks for any answers
Aaron
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
02 Aug 2022 22:38 #248876
by andypugh
Replied by andypugh on topic Help with rotary axis please
In the iNI:
Just make the numbers bigger. Try 1000 (and 1250 for the stepgen)
[AXIS_A]
MAX_VELOCITY = 500
MAX_ACCELERATION = 500
...
[JOINT_4]
...
MAX_VELOCITY = 500
MAX_ACCELERATION = 500
STEPGEN_MAXACCEL = 500.0
Just make the numbers bigger. Try 1000 (and 1250 for the stepgen)
Please Log in or Create an account to join the conversation.
- aaron
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
03 Aug 2022 16:02 #248943
by aaron
Replied by aaron on topic Help with rotary axis please
Thanks for your reply. However as soon as I make max velocity greater than 500, and I jog the axis it will speed up then slow down to run at a constant speed, then when I stop jogging it will speed up again then slow down to a stop. Very strange. Then If I run job with max vel. greater than 500 I generally get a joint following error.
Thanks again
Thanks again
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
03 Aug 2022 22:38 #248979
by andypugh
Replied by andypugh on topic Help with rotary axis please
Is this a parallel port machine? It feels like you are on the limit set by base thread period and required step rate.
What is your base thread period, and what step rate would you need to achieve your desired speed?
What is your base thread period, and what step rate would you need to achieve your desired speed?
Please Log in or Create an account to join the conversation.
- aaron
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
04 Aug 2022 07:51 #249010
by aaron
Replied by aaron on topic Help with rotary axis please
Yes. This is a parallel port machine.
I have to admit I don't understand this stuff too well, but the latency number I used is 25093.
If I reduced microsteps from 16 to 8 would that help, or would it have undesirable effects?.
Thanks for you time.
I have to admit I don't understand this stuff too well, but the latency number I used is 25093.
If I reduced microsteps from 16 to 8 would that help, or would it have undesirable effects?.
Thanks for you time.
Please Log in or Create an account to join the conversation.
- aaron
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
04 Aug 2022 09:49 #249015
by aaron
Replied by aaron on topic Help with rotary axis please
I have changed the settings on the stepper driver from 16 to 8 and It seems a little better,.Als tweaked the .ini file to this;
MAX_VELOCITY = 1000
MAX_ACCELERATION = 3000
MIN_LIMIT = -999999999.0
MAX_LIMIT = 999999999.0
[JOINT_4]
TYPE = ANGULAR
HOME = 0.0
MAX_VELOCITY = 1000
MAX_ACCELERATION = 3000
STEPGEN_MAXACCEL = 2500.0
But am not sure what to do with stepgen-maxaccel.
Thanks again
MAX_VELOCITY = 1000
MAX_ACCELERATION = 3000
MIN_LIMIT = -999999999.0
MAX_LIMIT = 999999999.0
[JOINT_4]
TYPE = ANGULAR
HOME = 0.0
MAX_VELOCITY = 1000
MAX_ACCELERATION = 3000
STEPGEN_MAXACCEL = 2500.0
But am not sure what to do with stepgen-maxaccel.
Thanks again
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23170
- Thank you received: 4860
04 Aug 2022 22:49 #249076
by andypugh
Replied by andypugh on topic Help with rotary axis please
Make STEPGEN_MAX* 25* bigger than the associated MAX*
Please Log in or Create an account to join the conversation.
- aaron
- Offline
- Premium Member
Less
More
- Posts: 85
- Thank you received: 0
15 Aug 2022 15:01 #249791
by aaron
Replied by aaron on topic Help with rotary axis please
Thanks again for replying.
Stupid question, but what do you mean by 25* bigger than the associated MAX. Should it just be bigger than 3000, like say 3500?
Stupid question, but what do you mean by 25* bigger than the associated MAX. Should it just be bigger than 3000, like say 3500?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19471
- Thank you received: 6530
15 Aug 2022 15:34 #249792
by tommylight
Replied by tommylight on topic Help with rotary axis please
25% bigger, so for 3000 it should be 3750.
Please Log in or Create an account to join the conversation.
Time to create page: 0.082 seconds