◆ NetworkIndexGet()

virtual uint32_t NetworkIndexGet ( RSINetworkIndexType  indexType)
pure virtual

Get the Network Index associated with a DS402 Axis Feature.

ℹ This function is avaliable in RapidCode and RapidSequencer

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.
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