Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

programmatically selecting one NI-9505 module from a PXI R-series expansion slots

How can I change the SoftMotion example entitled “position control closed loop- NI 9505.lvproj”  in order to use it as a configurable sub-vi to drive serveral motors?

 

in a PXI-RT box I’m using a PXI-7813R card, its ports are connected to several R-series expansion chassis’s  each of them driving three 9505 Modules, i.e. 12 motors in total

 

The problem is I didn’t find a way to programmatically define which 9505 Module the sub-vi should use, i.e which motor to drive.  Is there a way to archive this?

 

thank you.

 

A. Villa

Airbus Deutschland

Bremen, Germany

 

 

0 Kudos
Message 1 of 2
(3,051 Views)

Hello Mr. Villa,

 

as the current and position control portion of your code needs to get implemented on the FPGA. That means, that the code needs to be mapped to the gates of the FPGA, which doesn't allow dynamical assignment of resources at runtime. So in your case you will have to implement the code for one axis and create multiple instances of it with modified I/O nodes for each axis. In contrast to the design rules of standard LabVIEW vis, you should work with a quite flat vi hierarchy with LabVIEW FPGA in order to save FPGA space.

 

Kind regards,

Jochen Klier

National Instruments

0 Kudos
Message 2 of 2
(3,050 Views)