XPS Unified Programmer’s Manual
7.2.1.276 PositionerPositionComparePulseParametersGet
Name
PositionerPositionComparePulseParametersGet – Gets the position compare PCO
pulse parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner (must not be a secondary positioner): (-8)
Description
This function returns the configured parameters of the position compare PCO pulse
parameters.
For a more thorough description of the position compare output, please refer to the XPS
Motion Tutorial section Triggers/Position Compare Output.
Prototype
int PositionerPositionComparePulseParametersGet(
int SocketID,
char * FullPositionerName,
double * PCOPulseWidth,
double * EncoderSettlingTime
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
Output parameters
PCOPulseWidth double * Width of PCO pulses (μs).
EncoderSettlingTime double * Encoder signal settling time (μs).
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
415 EDH0373En1023 — 01/18