05-24-2022 03:54 AM
Hello, i have this very simple program that starts a stepper motor. I want to be able to invert the rotation of the motor... how can i do it?
The motor is connected to a MyRIO 1900.
Thank you
05-24-2022 04:02 AM
Hi Depi,
with just one pin/DO you can only control the speed, but not the direction…
@Depi01 wrote:
I want to be able to invert the rotation of the motor... how can i do it?
Read the manual of your stepper motor!
05-24-2022 04:14 AM
So, how can i do it? i don't have any manual...Can u help me?
05-24-2022 04:21 AM
@Depi01 wrote:
i don't have any manual
You need the manual. The motor should have information on it. When you search for the manufacturer and serial number, you might get the manual.
05-24-2022 04:47 AM
ok, here you have the manual
05-24-2022 05:15 AM
05-24-2022 05:22 AM
I'm not understanding how to invert the rotation without changing the link of cables.... can u give me an example of code?
05-24-2022 05:27 AM
Hi depi,
your motor comes with 6 wires according to your datasheet, you don't need to rewire them to have the motor turn in the other direction!
You need to output signals/current to the right wires to define the direction. For this you probably need more than just one digital output…
05-24-2022 05:40 AM
ok thank you, so i have to link black green red and blu cables to vcc and GND. yellow and white cables to a digital input?
05-24-2022 06:11 AM