◆ 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

NetworkIndexGet returns the index used by the axis for the associated enum/feature.
indexTypeThe associated type of index you want.
(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