Function-Based (Internal) Data Gathering; Trigger-Based (External) Data Gathering - Newport XPS-Q8 Users Manual, Software Tools And Tutorial

Universal high-performance motion controller/driver
Hide thumbs Also See for XPS-Q8:
Table of Contents

Advertisement

XPS-Q8 Controller
12.3

Function-Based (Internal) Data Gathering

Function-based gathering provides a method to gather one set of data using a function.
It uses the same data file as the time-based and the event-based data gathering, see
chapters 13.1 and Erreur ! Source du renvoi introuvable. for details. At receipt of the
function, one set of data is appended to the gathering file in memory.
The data type(s) that can be collected with the event-based gathering are the same as for
the time based and the event-based gathering, see chapter 12.1 and 12.2 for details.
Example
GatheringReset()
Deletes gathering buffer.
GatheringConfigurationSet(XY.X.CurrentPosition,
XY.Y.CurrentPosition)
The 2 data XY.X.CurrentPosition and XY.Y.CurrentPosition will be gathered.
GatheringDataAcquire()
Gathers one set of data.
GatheringCurrentNumberGet()
This function will return 1, 500000; 1 set of data acquired, max. 500 000 sets
of data can be acquired.
GatheringDataAcquire()
GatheringDataAcquire()
GatheringCurrentNumberGet()
This function will return 3, 500000; 3 sets of data acquired, max. 500,000
sets of data can be acquired.
12.4

Trigger-Based (External) Data Gathering

The trigger-based data gathering allows acquiring position and analog input data at
receipt of an external trigger input (TRIG IN connector at the XPS, see section 26.0 for
more details).
The position data is latched by dedicated hardware. The jitter between the trigger signal
and the acquisition of the position data is less than 50 ns. The analog inputs, however,
are only latched by an internal interrupt at a rate of 8 kHz and the XPS will store the
most recent value. Hence, the acquired analog input data might be up to 125 µs old.
There must be a minimum time of 125 µs between two successive trigger inputs.
The data of the trigger-based (external) data gathering is stored in a file named
ExternalGathering.dat, which is different from the file used for the internal data
gathering (Gathering.dat). Hence, internal and external data gathering can be used at the
same time.
The function GatheringExternalConfigurationSet() defines which type of data will be
gathered and stored in the data file. The following data types can be collected:
PositionerName.ExternalLatchPosition and
PositionerName.SecondaryPositioner.ExternalLatchPosition
(for secondary positioners of gantries, see chapter 4.9 for details).
These positions refer to the uncorrected encoder position, meaning no error corrections
are taken into account. For devices with RS422 differential encoders, the resolution of
the position information is equal to the encoder resolution.
NOTE
153
XPSDocumentation V1.4.x (EDH0301En1060 — 10/17)
Motion Tutorial

Advertisement

Table of Contents
loading

Table of Contents