XPS Unified Programmer’s Manual
7.2.1.269 PositionerPositionCompareAquadBPrescalerGet
Name
PositionerPositionCompareAquadBPrescalerGet – Gets PCO AquadB interpolation
factor.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks encoder type (must be “AnalogInterpolated” encoder): (-8)
- Checks parameter value: (-17)
- Checks positioner name: (-18)
Description
This function gets the current Position Compare AquadB interpolation factor.
The predefined PCO interpolation values are the following:
• 4.
• 16.
• 256.
• 4096.
• 65536.
Prototype
int PositionerPositionCompareAquadBPrescalerGet(
int SocketID,
char PositionerName,
double * PCOInterpolationFactor
)
Input parameters
SocketID int Socket identifier gets by the
TCP_ConnectToServer” function.
PositionerName int Positioner name.
Output parameters
PCOInterpolationFactor double * Current PCO interpolation factor.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -17: Parameter out of range or incorrect.
• -18: Positioner name doesn't exist or unknown command.
407 EDH0373En1023 — 01/18