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.
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)