02-07-2015 10:19 AM
Hey,
I have a cRIO with a NI9411 Cmodule set up for quadrature mode, which gives position and veloctity.
I have a motor axis (servo) which I want to move in sync with the encoder input, and I was thinking to do this with the gearing express vi, which has to option to use a "master encoder" for input.
my question:
how do I use the input from the NI9411 as a input for the gearing express vi?
02-17-2015 05:57 PM
02-18-2015 10:05 AM
Hi,
What hardware are you using to control the servo motor? Is it a 950x module? 951x? EtherCAT? The method for achieving this will vary depending on how you are controlling the motor.
Thanks,
02-18-2015 10:08 AM
02-18-2015 02:36 PM
I've attached some code that should do what you want. It uses a User Defined Variable (UDV) axis to read the encoder from the NI 9411 and then gears the Kollmorgen servo to the UDV axis. Let me know if you have any questions about the code.
The Kollmorgen AKD drive will allow you to do electronic gearing without the use of SoftMotion. However, you would not be able to also control it over EtherCAT. If you are interested in this method, let me know and I can describe it to you.
Thanks,
08-17-2015 03:03 PM
Hi,
How would I do the same thing, but using the scan engine in stead of the fpga?
Basically, I have an encoder that I want to use as an 'Encoder Master' for a small host of AKD slaves.
Thanks.
08-18-2015 01:59 AM
Been looking through the examples that ship with LV.
Maybe "Gearing to Axis and Encoder" is close to what I want? (atttached)
08-18-2015 07:26 AM