Axes

NI-Motion VI

Axes

An axis consists of a trajectory generator, PID or stepper control block, and some sort of output resource, either a digital-to-analog converter (DAC) output or a stepper pulse generator output. Servo axes must also have some sort of feedback resource, either an encoder or ADC channel. Closed-loop stepper axes also require a feedback resource, and can use either encoder or ADC inputs. Open-loop stepper axes do not require feedback for correct operation. The following table lists the resource IDs for axes:

Resource Name  Resource ID
Axis Control 0x00 (0)
Axis 1 0x01 (1)
Axis 2 0x02 (2)
Axis 3 0x03 (3)
Axis 4 0x04 (4)
Axis 5 0x05 (5)
Axis 6 0x06 (6)
Axis 7 0x07 (7)
Axis 8 0x08 (8)
Axis 9 0x09 (9)
Axis 10 0x0A (10)
Axis 11 0x0B (11)
Axis 12 0x0C (12)
Axis 13 0x0D (13)
Axis 14 0x0E (14)
Axis 15 0x0F (15)

VIs that can operate on multiple axes simultaneously (for example, Read Blend Status and Start Motion) can take the axis control (0) as their resource parameter.

Using Axes Nine Through Fifteen

Complete the following steps to use axes nine through fifteen:

  1. Open the desired VI in LabVIEW.
  2. View the block diagram.
  3. Right-click the appropriate terminal and select Create»Constant.
  4. Click the drop-down arrow on the constant and select Other.
  5. Type the selected axis number (in decimal) for axes nine through fifteen.