- Posts: 22
- Thank you received: 0
Problem reaching max velocity step generation with 7i76e
8 years 4 months ago #112839
by dom96
Problem reaching max velocity step generation with 7i76e was created by dom96
Hi all,
After configuring the machine in PnCConf I ran LinuxCNC and on start I got an error:
" hm2/hm2_7i76e.0: stepgen.00maxvel is too big for current step timings & position-scale, clipping to max possible "
The max velocity I set and expected was 3000rpm which equals 50 rotations per second. The velocity parameters I have set in the .INI file are:
MAX_VELOCITY = 50.0
STEPGEN_MAXVEL = 62.50 (25% larger than MAX_VELOCITY)
For some reason the max velocity I can get in LinuxCNC is only 1999 instead of 3000. The measured input frequency on the servo drive is 333.2kHz at 1999rpm.
Does anyone know how can I fix this problem?
After configuring the machine in PnCConf I ran LinuxCNC and on start I got an error:
" hm2/hm2_7i76e.0: stepgen.00maxvel is too big for current step timings & position-scale, clipping to max possible "
The max velocity I set and expected was 3000rpm which equals 50 rotations per second. The velocity parameters I have set in the .INI file are:
MAX_VELOCITY = 50.0
STEPGEN_MAXVEL = 62.50 (25% larger than MAX_VELOCITY)
For some reason the max velocity I can get in LinuxCNC is only 1999 instead of 3000. The measured input frequency on the servo drive is 333.2kHz at 1999rpm.
Does anyone know how can I fix this problem?
Please Log in or Create an account to join the conversation.
8 years 4 months ago - 8 years 4 months ago #112852
by PCW
Replied by PCW on topic Problem reaching max velocity step generation with 7i76e
What the:
" hm2/hm2_7i76e.0: stepgen.00maxvel is too big for current step timings & position-scale, clipping to max possible " message
means is that your current steplength and stepspace settings will not let you reach the maximum velocity in your INI file at your current steps/turn settings
The way to fix it is to reduce the steplength and or stepspace settings (if they can be reduced and still meet your drives timing specifications) or if the step timings cannot be shortened, reduce the number of steps per turn in your drive.
" hm2/hm2_7i76e.0: stepgen.00maxvel is too big for current step timings & position-scale, clipping to max possible " message
means is that your current steplength and stepspace settings will not let you reach the maximum velocity in your INI file at your current steps/turn settings
The way to fix it is to reduce the steplength and or stepspace settings (if they can be reduced and still meet your drives timing specifications) or if the step timings cannot be shortened, reduce the number of steps per turn in your drive.
Last edit: 8 years 4 months ago by PCW.
The following user(s) said Thank You: tommylight, dom96
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
8 years 4 months ago - 8 years 4 months ago #112853
by tommylight
Replied by tommylight on topic Problem reaching max velocity step generation with 7i76e
What do you have set for timings ? or what microstepping?
You have the scale set at 10000 steps per revolution.
You have the scale set at 10000 steps per revolution.
Last edit: 8 years 4 months ago by tommylight.
The following user(s) said Thank You: dom96
Please Log in or Create an account to join the conversation.
8 years 4 months ago #112872
by dom96
Replied by dom96 on topic Problem reaching max velocity step generation with 7i76e
So, the STEPLEN and STEPSPACE settings are both set to 1000 what according to the drives manual is the lowest I can set. I didnt really want to adjust the electronic gear ratio on the drive as I didnt want to lose accuracy but I see how this could solve the RPM problem.
My microstepping multiplier is 10 so I do get 10000 steps per revolution as advised by the servo drive manufacturer. Is 10 too high?
Also the input frequency on the drive is only 333.2kHz and the maximum accepted by the drive is 500kHz. Is there a way I could just generate higher frequency output on the Mesa? Would this frequency limitation be caused by high latency on my laptop or is it just the specs limitation of the Mesa card?
My microstepping multiplier is 10 so I do get 10000 steps per revolution as advised by the servo drive manufacturer. Is 10 too high?
Also the input frequency on the drive is only 333.2kHz and the maximum accepted by the drive is 500kHz. Is there a way I could just generate higher frequency output on the Mesa? Would this frequency limitation be caused by high latency on my laptop or is it just the specs limitation of the Mesa card?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4737
- Thank you received: 1480
8 years 4 months ago #112881
by Todd Zuercher
Replied by Todd Zuercher on topic Problem reaching max velocity step generation with 7i76e
What are your timing settings for step length and step spacing? My guess is that you have them set so they are limiting your step rate to 333kHz. (The Mesa hardware is not the limiting factor, it can step at MHz rates.)
If you post your ini file we could look for your mistakes.
If you post your ini file we could look for your mistakes.
The following user(s) said Thank You: dom96
Please Log in or Create an account to join the conversation.
8 years 4 months ago - 8 years 4 months ago #112890
by PCW
Replied by PCW on topic Problem reaching max velocity step generation with 7i76e
Latency does not affect the maximum step rate with the 7I76E, maximum 7I76E steprate is approximately 10 MHz. The limitation is in the hal/ini file setup somewhere, so as Todd said, the best thing is to post your hal and ini files here so they can be examined.
Last edit: 8 years 4 months ago by PCW.
The following user(s) said Thank You: dom96
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.360 seconds