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 #232 background imageLoading...
Page #232 background image
XPS Unified Programmer’s Manual
7.2.1.142 PositionerAnalogTrackingVelocityParametersSet
Name
PositionerAnalogTrackingVelocityParametersSetSets the parameters of tcurrent
tracking velocity mode.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks GPIO type (ADC): (-8)
- Checks Positioner: (-8), (-18)
- Checks velocity and acceleration: (-17)
Description
This function allows modifying the GPIO name, offset, scale, deadband threshold and
the order used by analog tracking velocity mode. To use this function the group state
must be READY, otherwise error (-22) is returned.
The “velocity” and “acceleration” define the maximum velocity and acceleration used
in the velocity tracking mode.
The target tracking velocity is defined as follows:
InputValue = GPIOAnalogInput Offset
MaxADCAmplitude = 10/GPIOAnalogGain
if (InputValue ≥0) then
InputValue = InputValue - DeadBandThreshold
if (InputValue <0) then InputValue = 0
else
InputValue = AnalogInputValue + DeadBandThreshold
if (InputValue >0) then InputValue = 0
OutputValue = (|InputValue|/MaxADCAmplitude)
Order
TrackingVelocity = Sign(InputValue) * OutputValue * Scale * MaxADCAmplitude
NOTE
The analog tracking velocity mode can be reset if the “GPIOName” parameter is
blank.
Prototype
int PositionerAnalogTrackingVelocityParametersSet(
int SocketID,
char * FullPositionerName,
char * GPIOName,
double Offset,
double Scale,
double DeadBandThreshold,
int Order,
double Velocity,
double Acceleration
)
EDH0373En1023 01/18 218

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