Labview - 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
Motion Tutorial
To execute the script, use the XPS function TCLScriptExecute(History.tcl, task1, 0).
In this example, after initializing and homing both groups, the TCL script moves the
single axis stage to the position of 70 units, then to the position of –70 units. It then sets
all pins 1 - 6 on the digital output GPIO3 to 0.
Once checked, the line arc trajectory defined in the Linearc2.trj file gets executed with a
velocity of 10 units/sec and an acceleration of 70 units/s
2
. When this trajectory starts,
more precisely when the positioner of the X axis starts moving, the bits #2, #4 and #6 of
the output GPIO3 are set to 1 (42 = 101010).
NOTE
Selecting the function TCLScriptExecute() from the terminal menu opens a drop-
down list for the available TCLFileNames. However, this list is limited to 100
entries.
To learn more about TCL programming, refer to the TCL Manual accessible from the
documentation menu of the XPS web site. The TCL manual provides a complete
description of all TCL commands and some more complex examples of TCL scripts.
18.2

LabVIEW

LabVIEW is one of the most popular programming languages used with the XPS
controller. Newport provides a complete set of LabVIEW drivers for the XPS
controller. Refer to the XPS-Q8-LabVIEW Manual.pdf and the XPS-Q8-
ProgrammerManual.pdf for additional details on implementing LabVIEW with the XPS
and the location of the drivers.
199
XPSDocumentation V1.4.x (EDH0301En1060 — 10/17)

Advertisement

Table of Contents
loading

Table of Contents