XPS Unified Programmer’s Manual
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
ScanDirection int Scan direction (1 or -1).
StartPosition1 double Group 1
st positioner start position (units).
StartPosition2 double Group 2
nd positioner start position (units).
StartPosition3 double Group 3
rd positioner start position (units).
….
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.
• -18: Positioner Name doesn't exist or unknown command.
• -35: Position is outside of travel limits.
• -115: Function is not supported by current hardware.
• -121: Function is not allowed due to configuration disabled.
• -122: Data incorrect (wrong value, wrong format, wrong order or inexistent).
233 EDH0373En1023 — 01/18