stepgen maxvel too big and SRO problem
- gravedigger
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
30 Nov 2025 14:10 - 30 Nov 2025 14:11 #339489
by gravedigger
stepgen maxvel too big and SRO problem was created by gravedigger
I have a problem with the stepgen: the max velocity is too high. Where and which value do I need to adjust? My steps with the Mesa 7i96 are 10,000 steps for the spindle.
The second problem concerns the SRO rotary encoder. The spindle and the normal feed work, but the rapid-feed encoder does not. Even when I swap the inputs for feed and spindle, it still doesn’t work. It seems to be an issue with the GUI/interface? Where can I start looking to solve this?
The second problem concerns the SRO rotary encoder. The spindle and the normal feed work, but the rapid-feed encoder does not. Even when I swap the inputs for feed and spindle, it still doesn’t work. It seems to be an issue with the GUI/interface? Where can I start looking to solve this?
Attachments:
Last edit: 30 Nov 2025 14:11 by gravedigger.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17457
- Thank you received: 5093
30 Nov 2025 15:16 - 30 Nov 2025 15:23 #339496
by PCW
Replied by PCW on topic stepgen maxvel too big and SRO problem
The "Maxvel is to high" error means that the stepgen cannot physically generate
the requested step rate with the current steplength and stepspace parameters.
Options are to:
Lower the steps per turn on the spindle drive
Lower the spindle maximum RPM
Lower the values of the step length and step space parameters
(as long as they still meet the drives minimum width specifications)
The maximum RPM will be 60/(steps per turn(step_length+step_space))
So for example at 10000 steps per turn and 5000 ns (.000005 seconds) for step length
and step space, the maximum RPM would be 600...
the requested step rate with the current steplength and stepspace parameters.
Options are to:
Lower the steps per turn on the spindle drive
Lower the spindle maximum RPM
Lower the values of the step length and step space parameters
(as long as they still meet the drives minimum width specifications)
The maximum RPM will be 60/(steps per turn(step_length+step_space))
So for example at 10000 steps per turn and 5000 ns (.000005 seconds) for step length
and step space, the maximum RPM would be 600...
Last edit: 30 Nov 2025 15:23 by PCW.
Please Log in or Create an account to join the conversation.
- zz912
-
- Offline
- Platinum Member
-
Less
More
- Posts: 581
- Thank you received: 94
30 Nov 2025 15:26 #339497
by zz912
Replied by zz912 on topic stepgen maxvel too big and SRO problem
You must degrease maxvel or you must degrease step timmings.
We need more information. Specification encoder? Wiring encoder? What SRO mean?The second problem concerns the SRO rotary encoder. The spindle and the normal feed work, but the rapid-feed encoder does not. Even when I swap the inputs for feed and spindle, it still doesn’t work. It seems to be an issue with the GUI/interface? Where can I start looking to solve this?
Please Log in or Create an account to join the conversation.
- gravedigger
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
30 Nov 2025 16:52 #339502
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
The encoder works on the spindle and for normal feed rates. However, if I switch the input in the Mesa software to rapid feed rate overlay, the bar does not move with the same encoder as for normal feed rates and the same wiring.
Please Log in or Create an account to join the conversation.
- gravedigger
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
30 Nov 2025 16:55 #339504
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
I don't actually need the rapid overlay. If I could operate rapid and normal feed with the same encoder, that would also be OK.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19741
- Thank you received: 4578
30 Nov 2025 17:55 #339511
by andypugh
Replied by andypugh on topic stepgen maxvel too big and SRO problem
The GUI's don't always "know" that you have changed an override.
Which GUI are you using? And how are you overriding (ie, which HAL pins are the counts going to?)
Which GUI are you using? And how are you overriding (ie, which HAL pins are the counts going to?)
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.148 seconds