Actions - 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
Group
Positioner
11.2

Actions

There are several actions that can be triggered by the events discussed previously. Users
have the full flexibility to trigger any action (out of the list of possible actions) at any
event (out of the list of possible events). It is also possible to trigger several actions at
the same event by adding several sets of parameters to the function
EventExtendedConfigurationActionSet(), similar to how it is done with events.
Actor
GPIO
TimerX
DOToggle
DOPulse
DOSet
DACSet.CurrentPosition
DACSet.CurrentVelocity
DACSet.SetpointPosition
DACSet.SetpointVelocity
DACSet.SetpointAcceleration
ExecuteTCLScript
KillTCLScript
GatheringOneData
GatheringRun
GatheringRunAppend
GatheringStop
ExternalGatheringRun
MoveAbort
Certain events like MotionState have a duration. These events trigger
the associated action in each motion profiler cycle as long as the event
is true. For example, associating the action DOToggle with the event
MotionState will toggle the value of the digital output in each profiler
cycle as long as the MotionState event is true.
An event doesn't reset the action after the event: For example, to set
a digital output to a certain value during a constant velocity state and
to set it to its previous value afterwards, two event triggers are
needed: One to set to the digital output of the desired value at the
event ConstantVelocityStart and another one to set it to its original
value at the event ConstantVelocityEnd. The same effect CANNOT
be achieved by using the event ConstantVelocityState by itself.
An action is composed entirely of:
[Actor].Action Name, Parameter1, Parameter2, Parameter3, Parameter4.
Not all action names have a preceding actor, but all actions have four parameters. Even
though all four parameters may not be defined in an action, it is still required to have an
entry, with zero (0) as the default.
To define an action, use the function EventExtendedConfigurationActionSet().
Action Name
Positioner name
Positioner name
Positioner name
Positioner name
Positioner name
TCL file name
Task name
Nb of points
Nb of points
137
XPSDocumentation V1.4.x (EDH0301En1060 — 10/17)
Motion Tutorial
Parameter
1
2
Mask
Mask
Mask
Value
Gain
Offset
Gain
Offset
Gain
Offset
Gain
Offset
Gain
Offset
Task name
Arguments
Divisor
Divisor
CAUTION
3
4

Advertisement

Table of Contents
loading

Table of Contents