XPS Unified Programmer’s Manual
7.2.1.270 PositionerPositionCompareAquadBPrescalerSet
Name
PositionerPositionCompareAquadBPrescalerSet – Sets 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 PCO interpolation factor value: (-17)
- Checks positioner name: (-18)
Description
This function configures Position Compare AquadB interpolation factor.
The predefined PCO interpolation values are the following:
• 4
• 16
• 256
• 4096
• 65536
Prototype
int PositionerPositionCompareAquadBPrescalerSet(
int SocketID,
char PositionerName,
double PCOInterpolationFactor
)
Input parameters
SocketID int Socket identifier gets by the
TCP_ConnectToServer” function.
PositionerName int Positioner name.
PCOInterpolationFactor double Predefined PCO interpolation factor value.
Output parameters
None.
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.
• -22: Not allowed action.
EDH0373En1023 — 01/18 408