XPS Unified Programmer’s Manual
Prototype
int PositionerAccelerationAutoScaling(
int SocketID,
char * PositionerName,
double * Scaling
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Name of a positioner.
FrequecyTicks int Number of frequency ticks.
Output parameters
Scaling double * Calculated scaling acceleration value.
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.
• -17: Parameter out of range or incorrect.
• -18: Positioner Name doesn't exist or unknown command.
• -22: Not allowed action.
• -24: Not available in this configuration (check hardware or configuration).
• -35: Position is outside of travel limits.
• -50: Motor initialization error. Check InitializationAccelerationLevel,
ScalingAcceleration, MaximumJerkTime, EncoderResolution or
EncoderScalePitch.
• -101: Relay Feedback Test failed: No oscillation.
• -102: Relay Feedback Test failed: Signal too noisy.
• -103: Relay Feedback Test failed: Signal data not enough for analyse.
• -105: Error of scaling calibration initialization.
EDH0373En1023 — 01/18 212