Read Reference StatusReads the currently selected reference status for the given set of axes or coordinate (vector) space.
| Device Compatibility
|
Status Type
is the selector for the type of reference status to read.
You can choose from the following status types:
|
|||||||||||||||||||||||||
Board ID is a unique number assigned by Measurement & Automation Explorer (MAX) used to send and receive commands and data to or from a specific NI motion controller. | |||||||||||||||||||||||||
Axis/VS Map (Disabled)
is the bitmap of axes or vector spaces (coordinate spaces) to use with this VI. It is only required when multiple axes or vector spaces are selected with the Axis or Vector Space parameter. Otherwise, this parameter is ignored.
When searching on multiple axes (Axis or Vector Space = Axis Control):
When searching on multiple vector spaces (Axis or Vector Space = Vector Space Control):
|
|||||||||||||||||||||||||
Axis or Vector Space can select an axis (1 through 6), vector space (0x11 through 0x13), multiple axes (0), or multiple vector spaces (0x10). When simultaneously reading multiple axes or vector spaces, the Axis/VS Map parameter indicates which axes or vector spaces are involved.
To read multiple axes, the Axis or Vector Space selector is set to 0 and the Axis/VS Map bitmap defines the axes to read. Similarly, to read multiple vector spaces, the Axis or Vector Space selector is set to 16 and the Axis/VS Map bitmap defines the vector spaces that are involved.
|
|||||||||||||||||||||||||
Ret Vect indicates the destination for the return data generated by this VI. Available return vectors include return data to the host (0xFF), return data to a variable (0x01 through 0x78), return data to an indirect variable (0x81 through 0xF8), and do not return data (0). Refer to Input and Return Vectors for more detailed information. | |||||||||||||||||||||||||
error in (no error) describes error conditions that occur before this VI
runs. The default input of this cluster is no error. If an
error already occurred, this VI returns the value of error in in
error out. The VI runs normally only if no incoming error exists.
Otherwise, the VI passes the error in value to error
out. The error in cluster contains the following parameters:
|
|||||||||||||||||||||||||
Bd ID Out is provided for flow control. You can string together NI-Motion VIs by wiring the Bd ID Out terminal of one VI to the Board ID terminal of the next VI. | |||||||||||||||||||||||||
Resource Output is the Axis, Vector Space, ADC, or Encoder you wired into the VI. Use Resource Output to pass the resource to another VI and/or to display information about the device. | |||||||||||||||||||||||||
error out contains error information. If error in
indicates an error, error out contains the same error information.
Otherwise, it describes the error status that this VI produces.
|
|||||||||||||||||||||||||
Value is the Status Type output. |
Using This VI
This VI reads the currently selected reference status for the given set of axes or coordinate (vector) space.
If multiple axes in a coordinate space are selected using the axis bitmap, all axes must have successfully found their last reference for Home Found, Index Found, Center Found, Forward Limit Found, Reverse Limit Found, and Reference Found to be true.
If any of the selected axes are currently executing a Find Reference, Finding Reference is true. Wait until Finding Reference is false before checking the status of any other attribute. The status of the Home Found, Index Found, Center Found, Forward Limit Found, Reverse Limit Found, and Reference Found status types are undefined when Finding Reference is true. The Wait Reference VI does this for you, but you cannot execute any other VIs while Wait Reference is running.