XPS Unified Programmer’s Manual
7.2.1.151 PositionerCompensatedFastPCOLoadToMemory
Name
PositionerCompensatedFastPCOLoadToMemory– Appends firing positions to
controller memory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner name: (-18)
- Checks if CIEFAST compensated PCO pulses generation is enabled: (-121)
Description
This function appends firing positions to controller memory from input parameters.
To reset the controller memory, the PositionerCompensatedFastPCOMemoryReset()
function is provided.
The data line format can be a single or several offset positions as in
PositionerCompensatedFastPCOSet() function:
Example:
Position
i
Position
i
Position
i
+1 Position
i
+2
PositionerCompensatedLoadToMemory(XY.X, 0 0.1 0.2 0.3 0.4 0.5)
Prototype
int PositionerCompensatedFastPCOLoadToMemory(
int SocketID,
char * PositionerName,
char * DataLine
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
DataLine char * Some data lines.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -18: Positioner Name doesn't exist or unknown command.
• -22: Not allowed action.
• -121: Function is not allowed due to configuration disabled.
• -122: Data incorrect (wrong value, wrong format, wrong order or inexistent).
EDH0373En1023 — 01/18 230