XPS Unified Programmer’s Manual
7.2.1.283 PositionerRawEncoderPositionGet
Name
PositionerRawEncoderPositionGet – Gets the raw encoder position for a positioner.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Valids object type: (-8)
- Valids positioner name: (-18)
Description
This function returns the raw encoder position from a corrected position for a
positioner.
Prototype
int PositionerRawEncoderPositionGet(
int SocketID,
char * FullPositionerName
double UserEncoderPosition,
double * RawEncoderPosition
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
UserEncoderPosition double User corrected encoder position.
Output parameters
RawEncoderPosition double * Raw encoder position.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -18: Positioner Name doesn't exist or unknown command.
425 EDH0373En1023 — 01/18