XPS Unified
7.2.1.285
PositionerSGammaParametersGet
Name
PositionerSGammaParametersGet – Gets the current motion values from the
SGamma profiler.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the profiler type (must be "SGamma"): (-8)
-
Checks the positioner type (must not be a secondary positioner): (-8)
Description
This function gets the current SGamma profiler values that are used in displacements.
Prototype
int PositionerSGammaParametersGet(
int SocketID,
char * FullPositionerName
double * Velocity,
double * Acceleration,
double * MinimumJerkTime,
double * MaximumJerkTime
)
Input parameters
SocketID
FullPositionerName
Output parameters
Velocity
Acceleration
MinimumJerkTime
MaximumJerkTime
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Positioner name.
double * motion velocity (units/seconds).
double * motion acceleration (units/seconds²).
double * Minimum jerk time (seconds).
double * Maximum jerk time (seconds).
427
Programmer's Manual
EDH0373En1023 — 01/18