RMP Motion Controller
10.6.4
APIs
, concepts, guides, and more
Community
Support
Contact
◆
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.
Sample Code:
Console.WriteLine(
"Secondary Encoder Position: "
+ axis.EncoderPositionGet(
RSIMotorFeedback
.RSIMotorFeedbackSECONDARY));
RSI::RapidCode::RSIMotorFeedback
RSIMotorFeedback
Encoders per motor.
Definition
rsienums.h:1111
Note
Typically an application will use ActualPositionGet, which is scaled by the Origin position.
See also
RSIMotorFeedback
RSI
RapidCode
Axis
Generated by
1.10.0