RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
NetworkIndexSet()
void NetworkIndexSet
(
RSINetworkIndexType
indexType
,
uint32_t
newIndex
)
Description:
NetworkIndexSet sets the index used by the axis for the associated enum/feature.
Parameters
indexType
The associated type of index you want.
newIndex
The new index of the associated Type.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
//Switch Primary Feedback to Secondary and then associate a new Index as the Primary Feedback.
uint32_t oldIndexOfPrimaryFeedback = Axis.NetworkIndexGet(NetworkIndexTypePOSITION_ACTUAL_INDEX);
Axis.NetworkIndexSet(NetworkIndexTypeAUX_POSITION_FEEDBACK_INDEX, oldIndexOfPrimaryFeedback);
Axis.NetworkIndexSet(NetworkIndexTypePOSITION_ACTUAL_INDEX, someNewSignificantFeedback);
See also
NetworkIndexGet
,
MotionController.NetworkOutputSentValueGet
,
MotionController.NetworkInputValueGet
,
RSINetworkIndexType
RSI
RapidCode
Axis
Generated on Thu Sep 28 2023 12:52:42 for RMP Motion Controller by
1.8.20