Help with rotary axis please

More
02 Aug 2022 16:08 #248851 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
Attachments:

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

More
02 Aug 2022 22:38 #248876 by andypugh
In the iNI:
[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.

More
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

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

More
03 Aug 2022 22:38 #248979 by andypugh
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?

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

More
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.

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

More
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
 

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

More
04 Aug 2022 22:49 #249076 by andypugh
Make STEPGEN_MAX* 25* bigger than the associated MAX*

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

More
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?

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

More
15 Aug 2022 15:34 #249792 by tommylight
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.116 seconds
Powered by Kunena Forum