Algorithm - National Instruments NI-Motion User Manual

Motion control
Table of Contents

Advertisement

Chapter 10
Electronic Gearing and Camming

Algorithm

Gearing
Superimposed
Straight-line Move
(optional)
NI-Motion User Manual
Designate a Master Device
Set the Gear Ratio
Enable gearing on the
Slave Axis
The slave axis now moves in
proportion to the master device.
Load Move Constraints
Set Operation Mode
Load Target Position
Start Motion on Slave Axis
Figure 10-1. Electronic Gearing Algorithm
The gear ratio is used to determine how far the slave axis must move in
proportion to the master when gearing is enabled. The gear ratio can be
absolute or relative.
Slave axis move = Master axis position × Gear ratio
Relative gearing allows you to change the gear ratio on-the-fly. The master
move is calculated based on the master reference position, which is updated
when gearing is enabled and is updated each time a new gear ratio is loaded.
The device can be one of the following:
the trajectory generator of another axis
an encoder driven externally
analog sensor connected to one
of the analog channels of the motion
controller
10-2
ni.com

Advertisement

Table of Contents
loading

Table of Contents