Positionerpositioncompareget - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
EDH0373En1023 — 01/18
7.2.1.275

PositionerPositionCompareGet

Name
PositionerPositionCompareGet – Gets the position compare 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)
-
Checks the position compare parameters (must be configured): (-23)
-
Checks the configured mode type (must be PositionCompare): (-24)
Description
This function returns the real value (without correction) of parameters of the position
compare output trigger and returns current state (enabled or disabled).
For a more thorough description of the position compare output, please refer to the XPS
Motion Tutorial section Triggers/Position Compare Output.
Prototype
int PositionerPositionCompareGet(
int SocketID,
char * FullPositionerName,
double * MinimumPosition,
double * MaximumPosition,
double * PositionStep,
bool * EnableState
)
Input parameters
SocketID
FullPositionerName
Output parameters
MinimumPosition
MaximumPosition
PositionStep
EnableState
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
• -23:
Position compare not set.
• -24:
Not available in this configuration (check hardware or configuration).
int
Socket identifier gets b the
"TCP_ConnectToServer" function.
char *
Positioner name.
double * Minimum position (units).
double * Maximum position (units).
double * Position step (units).
bool *
Position compare state (true = enabled or
false = disabled).
414
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents