XPS Unified Programmer’s Manual
Prototype
int XYMappingSet(
int SocketID,
char * PositionerName,
int MappingNumber,
int LineNumber,
double Value1,
double Value2,
…
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * XY positioner name.
MappingNumber int XY mapping matrix number.
LineNumber int Mapping line to change.
Value1 double Data of column #1 of line #LinerNumber of the
mapping file #MappingNumber
Value2 double Data of column #2 of line #LinerNumber of the
mapping file #MappingNumber
… double One data per column of of line #LinerNumber of
the mapping file #MappingNumber
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -9: Wrong number of parameters in the command.
• -17: Parameter out of range or incorrect.
• -18: PositionerName doesn't exist or unknown command.
• -22: Not allowed action
• -24: Not available in this configuration (secondary positioner is not allowed).
• -121: Function is not allowed due to mapping disabled.
• -205: Not enable in your configuration.
EDH0373En1023 — 01/18 546