XPS Unified Programmer’s Manual
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
CommandState int * Status of the Piston command (0 or 1).
isEngaged int * Status of the Piston Engaged (0 or 1).
isReleased int * Status of the Piston Released (0 or 1).
LiftPinUPInterlock int * Status of the Lift Pin UP (0 or 1).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -7: Wrong format in the command string.
• -9: Wrong number of parameters in the command.
• -15: Wrong parameter type in the command string: int, short, int * or short *
expected.
EDH0373En1023 — 01/18 598