LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to invert rotation of a bipolar stepper motor

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

0 Kudos
Message 1 of 11
(1,294 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(1,292 Views)

So, how can i do it? i don't have any manual...Can u help me?

0 Kudos
Message 3 of 11
(1,286 Views)

@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.

0 Kudos
Message 4 of 11
(1,273 Views)

ok, here you have the manual

0 Kudos
Message 5 of 11
(1,263 Views)

How to reverse rotation direction

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 11
(1,255 Views)

I'm not understanding how to invert the rotation without changing the link of cables.... can u give me an example of code?

0 Kudos
Message 7 of 11
(1,250 Views)

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 11
(1,245 Views)

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?

0 Kudos
Message 9 of 11
(1,239 Views)

Hi depi,

 

I would link YEL/WHI to either GND or Vcc and switch the other wires/windings as needed…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 10 of 11
(1,228 Views)