XPS Unified Programmer’s Manual
7.2.1.267 PositionerMotorDualSinForceBalanceSet
Name
PositionerMotorDualSinForceBalanceSet – Sets force balance parameters of an
AnalogDualSinAcceleration or AnalogDualSinAccelerationLMI motor driver interface.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the motor driver interface type is AnalogDualSinAcceleration or
AnalogDualSinAccelerationLMI (error -205 otherwise).
Description
This function sets the force balance parameters of an AnalogDualSinAcceleration or
AnalogDualSinAccelerationLMI motor driver interface.
Prototype
int PositionerMotorDualSinForceBalanceSet(
int SocketID,
char * FullPositionerName,
double FirstMotorForceBalance,
double SecondMotorForceBalance
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Full positioner name (for example XY.X).
FirstMotorForceBalance double First force balance ratio (value between 0 and 1).
SecondMotorForceBalance double Second force balance ratio (between 0 and 1).
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -205: Not enable in your configuration.
405 EDH0373En1023 — 01/18