XPS Unified Programmer’s Manual
Prototype
int PositionerPositionCompareSet(
int SocketID,
char * FullPositionerName,
double MinimumPosition,
double MaximumPosition,
double PositionStep,
bool EnableState
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
MinimumPosition double Minimum position (units).
MaximumPosition double Maximum position (units).
PositionStep double Position step (units).
EnableState bool Position compare state (true = enabled or
false = disabled).
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.
• -22: Not allowed action.
• -24: Not available in this configuration (check hardware or configuration).
421 EDH0373En1023 — 01/18