XPS Unified Programmer’s Manual
7.2.1.272 PositionerPositionCompareAquadBWindowedSet
Name
PositionerPositionCompareAquadBWindowedSet – Sets the windowed AquadB
signal parameters.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the positioner type: (-8)
- Checks input parameter values: (-17)
• MinimumPosition <MaximumPosition.
• MinimumPosition ≥MinimumTargetPosition.
• MaximumPosition ≤MaximumTargetPosition.
- Checks position compare state (must be disabled): (-22)
- Checks the position encoder (“AquadB” or “AnalogInterpolated”): (-24)
- Checks if the CIE board supports this function: (-115)
Description
This function sets the parameters for the position windowed AquadB output signal on
the PCO connector (the 2&3 or 4&5 pins) of the XPS controller cards.
These parameters are in effect only when the position compare mode is enabled by the
PositionerPositionCompareEnable() function.
NOTE
This function can be used only with a position encoder (“AquadB” or
“AnalogInterpolated”). If there is no position encoder then (-24) error is returned.
Prototype
int PositionerPositionCompareAquadBWindowedSet(
int SocketID,
char * FullPositionerName
double MinimumPosition,
double MaximumPosition
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char * Positioner name.
MinimumPosition double Minimum position (units).
MaximumPosition double Maximum position (units).
Output parameters
None.
EDH0373En1023 — 01/18 410