problems regarding ^MVEL

8 years 7 months ago #29526389 by subzero787
Hi!

I\'m using a SDC2150. I\'m using it at Closed-loop position relative mode. Since I cannot use !S to change the speed at this mode I am using ^MVEL instead.

One of the problems I\'m having is that Roborun is not accepting values below 10 for motor velocity under closed loop parameters. If I put in a value of less than 10 it just puts in 10.

Another problem I\'m having is that I need slow and precise movements. This being said, I need to be able to put in decimal points in MVEL. Is this possible?

Thanks.

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

8 years 7 months ago #29526397 by roboteq
Replied by roboteq on topic Re:problems regarding ^MVEL
MVEL is used as a denominator for internal math. It cannot be too close to 0 without causing overflow or errors.

Note that 10 RPM is one motor turn in 10 seconds. This is extremely slow.

If your RPM numbers are low because you are measuring speed at the output of a gear box, then just play with the numbers so that you control the speed at the motor.

Ideally, you should have the encoder mounted on the motor and not at the output of a gear box.

But if for example you have a 1000 PPR encoder at the output of a 10:1 gear box, then just enter 100 PPR in the configuration. Then you can enter and read motor speeds.

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

Moderators: tonysantoni
Time to create page: 0.113 seconds