EasyManua.ls Logo

Newport XPS-Q8 - Data Gathering

Newport XPS-Q8
232 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
Loading...
XPS-Q8 Controller Motion Tutorial
PositionerHardwareStatus: Triggers an action when the current hardware status
applied with the error mask results in a value other than
zero. The first event parameter specifies the status mask in
decimal format. The other event parameters are 0 by
default.
Code (Hexa) Bit # Decimal Hardware status description
0x00000001 0 1 General inhibition detected
0x00000004 2 4 ZM high level
0x00000100 8 256 Minus end of run activated
0x00000200 9 512 Plus end of run activated
0x00000400 10 1024 Minus end of run glitch
0x00000800 11 2048 Plus end of run glitch
0x00001000 12 4096 Encoder quadrature error
0x00002000 13 8192 Encoder frequency or coherence error
0x00010000 16 65536 Hard interpolator encoder error
0x00020000 17 131072 Hard interpolator encoder quadrature error
0x00100000 20 1048576 First driver in fault
0x00200000 21 2097152 Second driver in fault
0x00400000 22 4194304 First driver powered on
0x00800000 23 8388608 Second driver powered on
Example
EventExtendedConfigurationTriggerSet
(MyGroup.MyPositioner.PositionerHardwareStatus, 768, 0, 0, 0)
This event happens when the positioner MyGroup.MyPositioner either the
plus end of run or a minus end of run is detected.
WarningFollowingError: Triggers an action when the following error exceeds the
warning following error value. In the PositionCompare
mode (activated by the PositionerPositionCompareEnable()
function), during a move (relative or absolute) and inside
the zone set by PositionerPositionCompareSet(), if the
current following error exceeds the WarningFollowingError
value, the PositionCompareWarningFollowingErrorFlag is
activated and the move returns a corresponding error (-120
: Warning following error during move with position
compare enabled).
To reset the PositionCompareWarningFollowingErrorFlag,
send the PositionerPositionCompareDisable() function.
The WarningFollowingError is set to FatalFollowingError
(defined in stages.ini file) by default, but it can be modified
with PositionerWarningErrorSet().
Example
EventExtendedConfigurationTriggerSet
(MyGroup.MyPositioner. WarningFollowingError, 0, 0, 0, 0)
This event happens when the positioner MyGroup.MyPositioner has a
following error that exceeds the warning following error value.
DoubleGlobalArrayEqual: Triggers an action when the value of the variable in the
DoubleGlobalArray and referenced by the global variable
number is equal to the value to check. The variable can be
modified by using the DoubleGlobalArraySet() function.
135 XPSDocumentation V1.4.x (EDH0301En1060 10/17)

Table of Contents

Other manuals for Newport XPS-Q8

Related product manuals