RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
EncoderPositionGet()
double EncoderPositionGet
(
RSIMotorFeedback
encoder
)
Description:
EncoderPositionGet returns the raw encoder position for an axis. The encoder position is not scaled by the origin. The encoder position is sometimes called the motor feedback position.
Parameters
encoder
Use
RSIMotorFeedback
.
Returns
(double) Raw encoder value.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
Console.WriteLine(
"Secondary Encoder Position: "
+ axis.EncoderPositionGet(
RSIMotorFeedback
.RSIMotorFeedbackSECONDARY));
Note
Typically an application will use ActualPositionGet, which is scaled by the Origin position.
See also
RSIMotorFeedback
RSI::RapidCode::RSIMotorFeedback
RSIMotorFeedback
Encoders per motor.
Definition:
rsienums.h:1089
RSI
RapidCode
Axis
Generated on Thu Sep 28 2023 12:52:42 for RMP Motion Controller by
1.8.20