XPS Unified
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
FullPositionerName
FirstMotorForceBalance
SecondMotorForceBalance double
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.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Full positioner name (for example XY.X).
double
First force balance ratio (value between 0 and 1).
Second force balance ratio (between 0 and 1).
405
Programmer's Manual
EDH0373En1023 — 01/18