RMP Motion Controller
10.6.3
APIs
, concepts, guides, and more
Community
Support
Contact
◆
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.
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);
RSI::RapidCode::Axis::NetworkIndexGet
uint32_t NetworkIndexGet(RSINetworkIndexType indexType)
Get the Network Index associated with a DS402 Axis Feature.
RSI::RapidCode::Axis::NetworkIndexSet
void NetworkIndexSet(RSINetworkIndexType indexType, uint32_t newIndex)
Set the Network Index associated with a DS402 Axis Feature.
RSI::RapidCode::Axis
Represents a single axis of motion control. This class provides an interface for commanding motion,...
Definition
rsi.h:5549
RSI::RapidCode::RSINetworkIndexType::NetworkIndexTypeAUX_POSITION_FEEDBACK_INDEX
@ NetworkIndexTypeAUX_POSITION_FEEDBACK_INDEX
RSI::RapidCode::RSINetworkIndexType::NetworkIndexTypePOSITION_ACTUAL_INDEX
@ NetworkIndexTypePOSITION_ACTUAL_INDEX
See also
NetworkIndexGet
,
MotionController.NetworkOutputSentValueGet
,
MotionController.NetworkInputValueGet
,
RSINetworkIndexType
RSI
RapidCode
Axis
Generated by
1.10.0