XPS Unified Programmer’s Manual
Prototype
int GroupInitialize(
int SocketID,
char * GroupName
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -5: Not allowed due to a positioner error or hardware status.
• -8: Wrong object type for this command.
• -18: Positioner Name doesn't exist or unknown command.
• -19: GroupName doesn't exist or unknown command.
• -22: Not allowed action.
• -35: Position is outside of travel limits.
• -50: Motor initialization error. Check InitializationAccelerationLevel,
ScalingAcceleration, MaximumJerkTime, EncoderResolution or
EncoderScalePitch.
• -113: Both ends of run activated.
EDH0373En1023 — 01/18 130