Master Encoder - Slave Axis Gearing
The Master Encoder - Slave Axis Gearing VI sets up a slave axis to be "geared" to a master encoder, and follow the master encoder at a specified ratio.
INSTRUCTIONS:
1. Be sure your board is initialized before running this VI. Refer to the Initialization topic in the FlexMotion VI Online Help, which can be launched by choosing FlexMotion VI Online Help in the Help menu.
2. Select the Board ID that corresponds to your FlexMotion controller in the Board Configuration Utility.
3. Select the Slave Axis # and the Master Encoder's Axis # as the devices to be linked in the gearing operation.
4. Run the VI.
5. Spin the axis that has the Master Encoder. The Slave Axis should follow at the appropriate ratio.
6. Press the QUIT button to disable gearing and end the program.
KEY PARAMETERS:
1. Slave Axis Rotations: Gear ratio numerator.
2. Master Encoder Rotations: Gear ratio denominator.
Note: The use of the term "rotations" here assumes that the encoders being used have the same number of counts per revolution.
I/O CONNECTIONS OVERVIEW:
This example requires a system configuration with two axes.
Requirements
Filename: 4585.zip
Software Requirements
Application Software: LabVIEW Full Development System 5.0.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Motion Control
Driver: NI-Motion
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
