XPS Unified Programmer’s Manual
7.2.1.258 PositionerHardInterpolatorPositionGet
Name
PositionerHardInterpolatorPositionGet – Gets interpolated position from the encoder
hard interpolator.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner (must not be a secondary positioner): (-8)
- Checks the encoder type (must be “AnalogInterpolated”): (-8)
Description
This function returns the position interpolated by the encoder hard interpolator.
NOTE
The encoder type must be “AnalogInterpolated” or “AnalogInterpolatedTheta” in
the stages.ini file (“EncoderType” parameter).
Prototype
int PositionerHardInterpolatorPositionGet(
int SocketID,
char * FullPositionerName,
double * Position
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
Output parameters
Position double * Interpolated 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.
EDH0373En1023 — 01/18 396