stepgen maxvel too big and SRO problem

More
10 months 2 weeks ago #340009 by gravedigger
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

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

More
10 months 2 weeks ago #340112 by gravedigger
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 or Create an account to join the conversation.

More
10 months 2 weeks ago #340175 by gravedigger
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.

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

More
10 months 2 weeks ago - 10 months 2 weeks ago #340176 by gravedigger
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?
 
Last edit: 10 months 2 weeks ago by gravedigger.

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

Moderators: newbynobi, HansU
Time to create page: 0.055 seconds
Powered by Kunena Forum