Positionerrawencoderpositionget - 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
7.2.1.283

PositionerRawEncoderPositionGet

Name
PositionerRawEncoderPositionGet – Gets the raw encoder position for a positioner.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Valids object type: (-8)
-
Valids positioner name: (-18)
Description
This function returns the raw encoder position from a corrected position for a
positioner.
Prototype
int PositionerRawEncoderPositionGet(
int SocketID,
char * FullPositionerName
double UserEncoderPosition,
double * RawEncoderPosition
)
Input parameters
SocketID
FullPositionerName
UserEncoderPosition
Output parameters
RawEncoderPosition
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.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Positioner name.
double
User corrected encoder position.
double *
Raw encoder position.
425
Programmer's Manual
EDH0373En1023 — 01/18

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents