The RMP Motion Controller APIs

◆ NetworkIndexGet()

uint32_t NetworkIndexGet ( RSINetworkIndexType  indexType)
Description:
NetworkIndexGet returns the index used by the axis for the associated enum/feature.
Parameters
indexTypeThe associated type of index you want.
Returns
(uint32_t) index of the associated Type. Axis::NetworkIndexInvalid is returned if it is invalid.
Remarks
This function is also available in RapidSequencer.
Sample Code:
//Grab the Index of Position error at the Drive level for diagnostics.
uint32_t indexOfDrivePositionError = Axis.NetworkIndexGet(NetworkIndexTypePDO_POSITION_ERROR_INDEX);
See also
NetworkIndexSet, MotionController.NetworkOutputSentValueGet, MotionController.NetworkInputValueGet, RSINetworkIndexType