EasyManuals Logo

Newport XPS-D Programmer's Manual

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #228 background imageLoading...
Page #228 background image
XPS Unified Programmer’s Manual
7.2.1.140 PositionerAnalogTrackingPositionParametersSet
Name
PositionerAnalogTrackingPositionParametersSet Sets the parameters of the
current tracking position mode.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks Positioner and GPIO type (ADC): (-8)
- Checks velocity and acceleration: (-17)
- Checks input parameter: (-18)
Description
This function modifies the analog input name, the offset and the scale used by the
analog tracking position mode. To use this function, the group state must be
READYotherwise error (-22) is returned.
The “Offset” and the “Scale” parameters are used to calculate the target tracking
position:
TrackingPosition = InitialPosition + (AnalogValue - Offset) * Scale
TheVelocity” and “Acceleration” parameters define the maximum velocity and
acceleration used in the position tracking mode.
NOTE
The parameters for analog tracking position mode can be reset, if the
“GPIOName” parameter is blank.
Prototype
int PositionerAnalogTrackingPositionParametersSet(
int SocketID,
char FullPositionerName,
char * GPIOName,
double Offset,
double Scale,
double Velocity,
double Acceleration
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
FullPositionerName char Positioner name FrequecyTicks.
GPIOName char * Analog input name (ADC).
Offset double Offset in volts.
Scale double Scale (Units/Volts).
Velocity double Velocity (Units/s).
Acceleration double Acceleration (Units/s²).
EDH0373En1023 01/18 214

Table of Contents

Other manuals for Newport XPS-D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Newport XPS-D and is the answer not in the manual?

Newport XPS-D Specifications

General IconGeneral
BrandNewport
ModelXPS-D
CategoryController
LanguageEnglish

Related product manuals