Changing Velocity Limit on StepperPhidget in Java

Hi, I am pretty new to programming in with the Phidgets API, but it was pretty self explanatory up to this point. I am trying to speed up the rate at which the stepper motor turns. If I try to set the velocity limit to its max and then move in reverse the motor does not do anything other than make a loud noise. It seems to work when I move it forward, but reverse seems to crash it. I also noticed that the stepper does think it is moving because after a while the loud noise stops since it thinks it has reached its target position.

Does anyone know if there is any standard approach that is usually taken when trying to maximize the speed of a Stepper Motor? Some combination of incrementing the velocity & acceleration that I may not know of yet?

I was trying to make use of the VelocityChangedListener to see if I could maybe increase the velocity in smaller increments rather than just jumping to the maximum, but that didn’t seem to work.

Any help would be greatly appreciated. Thanks.

When the motor is moving forward(giving it a positive target position) it can reach the maximum velocity (about 32600), but when I am moving in reverse (giving it a negative target position) I can’t get it to work with anything greater than 20000.

Right now, I am just testing with the motor not moving anything. Simply monitoring the behavior of the motor for now and then once I get this issue ironed out I will get back to testing it will an actual load.

Hello,

It is possible that your motor cannot go at such a high speed and that is why it oscillates in place, we recommend ramping-up the speed and checking what is the maximum you can reach. Also, is the motor under a large load?

We are sorry to see that you are having issues with the product, in order to troubleshoot and solve the problem, we suggest you contact the manufacturer directly:

Should the manufacturer determine that the product is defective or that it needs to be replaced please let us know through the Support Center (by including a transcript of the manufacturer’s reply) and we will be more than happy to help you replace the item. In such case, it would also be useful to have to have your invoice or order number on hand.