LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

[FPGA] - NI 9503 - Motor Stepping without NI Motion

[FPGA] - NI 9503 - Motor Stepping without NI Motion

I know there is a way to step motors without the premium package with NI Motion / NI Softmotion in order to step a motor linearly using the NI 9503 / NI 9501. We have tried energizing the motor sequentially for our Bipolar Motor with a delay time between each coil trig, however it only jitters. Is there an example VI out there as I cannot seem to get access to my examples for the compact RIO.

0 Kudos
Message 1 of 6
(1,793 Views)

Re: [FPGA] - NI 9503 - Motor Stepping without NI Motion

Getting a motor moving with the NI 9503 without also having SoftMotion premium is going to be very difficult. However, you should be able to get the NI 9501 working without too much difficulty. Even if you don't have SoftMotion premium, you can still open the examples. I would open the Offline Traj - Pos Cntrl (open loop) - NI 9501.lvproj example and look at the block diagram. You can delete the Position and Spliner loops. Keep the Drive Status Loop as is. In the Step Generation loop, delete the one VI. Then create a boolean control and wire it to the 'Mod1/Direction' IO Node. Create another boolean control and write it to the 'Mod1/Step' IO node. After compiling, you should be able to configure the drive (using the controls in the Drive Status Loop) and then toggle the step boolean to move the motor. Once you have that working, you can do more complicated things.

 

Thanks,

Paul B.
cRIO Software
Message 2 of 6
(1,774 Views)

Re: [FPGA] - NI 9503 - Motor Stepping without NI Motion

Hi Paul,

Thank you for your response. Is there a possbility you can send me the examples and or the location of the files as I cannot seem to find the example that you mentioned.

0 Kudos
Message 3 of 6
(1,754 Views)

Re: [FPGA] - NI 9503 - Motor Stepping without NI Motion

If you don't have SoftMotion installed the example won't be there (but it does get installed if you install SoftMotion lite, which is the free version of SoftMotion). In any case, I've attached the FPGA VI. 

Paul B.
cRIO Software
0 Kudos
Message 4 of 6
(1,746 Views)

Re: [FPGA] - NI 9503 - Motor Stepping without NI Motion

I tried attaching a boolean control to the VI however the FPGA VI type does not match and won't let me wire this control. Did you do this a specific way?

0 Kudos
Message 5 of 6
(1,739 Views)

Re: [FPGA] - NI 9503 - Motor Stepping without NI Motion

You have to create a project with an FPGA target and then add an NI 9501 beneath the FPGA target. I have attached the entire project.

Paul B.
cRIO Software
0 Kudos
Message 6 of 6
(1,730 Views)