Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

how to created a virtual axis with an encoder on NI9411 slot

  Dear,

 

I would like 'gearing' a motor (Axis 1) with an encoder (Axis 2 -> just an encoder not motor).

In order to used the gearing function of the softmotion, I need to created an Axis on my project.

 

Is it possible to created an axis, when  my encoder in connected on a NI 9411 slot? Unbound Axis?

 

If it's impossible, how gearing a motor (Axis 1) with just an encoder (Axis 2).

 

  Regards

 

  Massif

 

0 Kudos
Message 1 of 4
(4,434 Views)

Hello Massif

 

Your understanding is correct, you will need to have two axes in order to gear them. To setup the 9411 as an encoder you will need to create an Axis Interface VI and use gearing. I recommend getting started with the 9401 encoder example. I have attached it below since in 2010 the example was removed (CAR . 258565). You will need to open the FPGA block diagram and modify the digital I/O to read from 9411 lines instead of the 9401. This should be a fairly short process. After this has been completed you can run the 951x module and the unbound axes 9411 together using the cRIO in hybrid mode, see the article here for more details.


Thank You
Eric Reid
National Instruments
Motion R&D
Message 2 of 4
(4,401 Views)

   Dear Eric_R,

 

Thank you for your respons.

I will try this without used the capture and compare functions.

I just need the axis position en vélocity.

 

I will let you know, if it's working.

 

   Massif

0 Kudos
Message 3 of 4
(4,330 Views)

Yes, it's working!

0 Kudos
Message 4 of 4
(4,319 Views)