XPS Unified Programmer’s Manual
7.2.1.104 GroupSpinCurrentGet
Name
GroupSpinCurrentGet – Gets the spin mode parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the group type (must be a Spindle group): (-8)
- Checks the positioner name: (-18)
Description
This function returns the current (or actual) velocity and acceleration used by the SPIN
mode.
Prototype
int GroupSpinCurrentGet(
int SocketID,
char * GroupName,
double * Velocity,
double * Acceleration
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Spindle group name.
Output parameters
Velocity double * Velocity (units/s).
Acceleration double * Acceleration (units/s²).
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.
• -19: GroupName doesn't exist or unknown command.
EDH0373En1023 — 01/18 166