Positionercompensatedpcoset - 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.164

PositionerCompensatedPCOSet

Name
PositionerCompensatedPCOSet – Calculates a set of evenly spaced firing positions to
the controller memory.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks Start <Stop, Distance > 0, Width > 0, Width < Distance, Width < Stop-Start:
(-17)
-
Checks the positioner name: (-18)
-
Checks the position encoder ("AquadB" or "AnalogInterpolated"): (-24)
-
Checks the CIE board supports this function: (-115)
-
Checks CIE08CompensatedPCOMode = Enabled (system.ini): (-121)
-
Checks data number NData = integer((Stop-Start)/Distance) + 1, if NData
>1000000: (-122)
Description
This function calculates a set of evenly spaced firing positions to the controller memory.
Parameters :
• Start: Relative distance to the start position where PCO pulses start.
• Stop: Relative distance to the start position where PCO pulses stop.
• Distance: Step of pulses (distance between two consecutive pulses)
• Width: Width of the pulse enable signal at the firing positions.
Example: Send PositionerCompensatedPCOSet (XY.X, 0, 3, 1, 0.1)
Start and Stop are the offset values relative to the scanning positioner start
position that is defined in the PositionerCompensatedPCOPrepare().
The function works only when the CIE08 compensated PCO mode configuration is
enabled (system.ini: CIE08CompensatedPCOMode = Enabled).
This function can be used only with a position encoder ("AquadB" or
"AnalogInterpolated"), otherwise (-24) error is returned.
Prototype
int PositionerCompensatedPCOSet (int SocketID, char PositionerName[250] , double
Start, double Stop, double Distance, double Width)
Input parameters
SocketID
PositionerName
Start
Stop
Distance
Width
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function
char *
Positioner name
double
Start position (units)
double
Stop position (units)
double
Distance between two consecutive pulses (units)
double
Width of pulse enable signal (units)
250
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents