- Posts: 28
- Thank you received: 0
stepgen maxvel too big and SRO problem
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
11 months 22 hours ago #339489
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 MVO 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?
stepgen maxvel too big and MVO problem was created by gravedigger
Attachment not found
The second problem concerns the MVO 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 to join the conversation.
11 months 20 hours ago #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...
Please Log in to join the conversation.
11 months 20 hours ago #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 to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
11 months 19 hours ago #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 to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
11 months 19 hours ago #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 to join the conversation.
11 months 18 hours ago #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 to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 months 2 weeks ago #340009
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
I tested with gmoccapy and dragon.
The MOV doesn't work. The spindle and the normal feed work with enc3.
# ---Überschreibung von Signalen zum Mesa-Geber - mpg (feed override signals to mesa encoder - mpg)---
net fo-count <= [HMOT](CARD0).7i73.0.0.enc1.count
# Vorschub-Override-Schritte verbinden - MPG (connect feed override increments - MPG)
setp halui.feed-override.direct-value false
setp halui.feed-override.scale .01
setp halui.feed-override.count-enable true
net fo-count => halui.feed-override.counts
# ---max Geschwindigkeit Neufestsetzungs-Signale an Mesa Encoder - mpg (max velocity override signals to mesa encoder - mpg)---
net mvo-count <= [HMOT](CARD0).7i73.0.0.enc3.count
# verbinde max Geschwindigkeit Neufestetzung Inkrement - MPG (connect max velocity override increments - MPG)
setp halui.max-velocity.direct-value false
setp halui.max-velocity.scale 0.666667
setp halui.max-velocity.count-enable true
net mvo-count => halui.max-velocity.counts
The MOV doesn't work. The spindle and the normal feed work with enc3.
# ---Überschreibung von Signalen zum Mesa-Geber - mpg (feed override signals to mesa encoder - mpg)---
net fo-count <= [HMOT](CARD0).7i73.0.0.enc1.count
# Vorschub-Override-Schritte verbinden - MPG (connect feed override increments - MPG)
setp halui.feed-override.direct-value false
setp halui.feed-override.scale .01
setp halui.feed-override.count-enable true
net fo-count => halui.feed-override.counts
# ---max Geschwindigkeit Neufestsetzungs-Signale an Mesa Encoder - mpg (max velocity override signals to mesa encoder - mpg)---
net mvo-count <= [HMOT](CARD0).7i73.0.0.enc3.count
# verbinde max Geschwindigkeit Neufestetzung Inkrement - MPG (connect max velocity override increments - MPG)
setp halui.max-velocity.direct-value false
setp halui.max-velocity.scale 0.666667
setp halui.max-velocity.count-enable true
net mvo-count => halui.max-velocity.counts
Please Log in to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 months 2 weeks ago #340112
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
I was able to solve the error with maxvel too big by changing the steps per revolution to 2500 in the servo controller. Now I just have to solve the problem with the MVO.
Please Log in to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 months 2 weeks ago #340175
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
Note
For GMOCCAPY 3 some HAL pin names have changed when new controls have been implemented. Max velocity does not exist any more, it was replaced by rapid override due to the demand of many users.
For GMOCCAPY 3 some HAL pin names have changed when new controls have been implemented. Max velocity does not exist any more, it was replaced by rapid override due to the demand of many users.
Please Log in to join the conversation.
- gravedigger
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 28
- Thank you received: 0
10 months 2 weeks ago #340176
by gravedigger
Replied by gravedigger on topic stepgen maxvel too big and SRO problem
net rro-count <= [HMOT](CARD0).7i73.0.0.enc3.count
# verbinde max Geschwindigkeit Neufestetzung Inkrement - MPG (connect max velocity override increments - MPG)
setp halui.rapid.rapid-override.direct-value false
setp halui.rapid.rapid-override.scale 0.666667
setp halui.rapid.rapid-override.count-enable true
net rro-count => halui.rapid.rapid-override.counts
Is that correct? Does PNCCONF need to be adjusted? Does MESA CT use the new values?
# verbinde max Geschwindigkeit Neufestetzung Inkrement - MPG (connect max velocity override increments - MPG)
setp halui.rapid.rapid-override.direct-value false
setp halui.rapid.rapid-override.scale 0.666667
setp halui.rapid.rapid-override.count-enable true
net rro-count => halui.rapid.rapid-override.counts
Is that correct? Does PNCCONF need to be adjusted? Does MESA CT use the new values?
Please Log in to join the conversation.
Time to create page: 0.106 seconds
