Reference Moves

NI-Motion

Reference Moves

Use reference moves to move the axes to a known starting location and orientation. Reference functions include the Find Reference VI or function, the Check Reference VI or function, the Wait Reference VI or function, the Read Reference Status VI or function, the Load Reference Parameters VI or function, and the Get Reference Parameters VI or function.

Use Check Reference to determine if the Find Reference operation is complete. This function is often placed in a loop that continues until the status for the Find Reference operation is shown to be complete. You can use Wait Reference if there is no need to monitor the status of the Find Reference.

Use a Find Reference move to initiate a search operation to find a reference position. Available search operations include home switch, index pulse, forward limit switch, reverse limit switch, center, or run sequence. Refer to the NI-Motion VI Help or the NI-Motion Function Help for information about reference move options.

Reference Move Algorithm

The following figure shows a generic reference move algorithm applicable to both C/C++ and LabVIEW code.