XPS Unified Programmer’s Manual
7.2.1.364 XYCrossTalkCompensationMotorDecouplingSet
Name
XYCrossTalkCompensationMotorDecouplingSet – Sets motor decoupling
parameters of XY cross talk compensation.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks if the cross talk compensation switch is disabled (firmware.ref ): (-121).
- Checks if the group is not in NOTINIT nor in DISABLE state: (-215).
Description
This function sets the motor decoupling parameters of XY cross talk compensation.
Prototype
int XYCrossTalkCompensationMotorDecouplingSet(
int SocketID,
char *GroupName,
int CrossTalkCompensationMode,
double YToX1FFAccRatio,
double YToX2FFAccRatio,
double X1ToYFFAccRatio,
double X2ToYFFAccRatio
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
CrossTalkCompensationMode int XY cross talk compensation mode (Enabled or
Disabled)
YToX1FFAccRatio double Current Y to X1 feed forward acceleration ratio
YToX2FFAccRatio double Current Y to X2 feed forward acceleration ratio
X1ToYFFAccRatio double Current X1 to Y feed forward acceleration ratio
X2ToYFFAccRatio double Current X2 to Y feed forward acceleration ratio
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -121: Function is not allowed due to configuration disabled
• -215: Not allowed action because group is not in NOTINIT nor in DISABLE state.
529 EDH0373En1023 — 01/18