Triggered Status

Application
Force Trigger Object FT#, Force Motion Restriction Object FMR#

Description
This returns the status/condition of the force trigger or force motion restriction.

Immediate Execution
No

Usage
FGet Object.Triggered, bVar

  • Object
    Object name
    The object is specified as either of FT (numerical value), FMR (numerical value), FT (label) or FMR (label).

  • bVar
    A Boolean variable defining the value of the property

Detailed Explanation
This returns the status/condition just prior to the triggering of the force trigger or force motion restriction. When the force trigger or force motion restriction conditions are met, “True” is returned. “False” is returned when not met.
Force trigger is used for branch processing when force is used as a condition.
Force motion restriction is used for branch processing when position is used as a condition.

Usage Example
This example branches the process due to meeting the force trigger conditions.

Function TriggeredTest
  Boolean bVar
  FCKeep FC1 Till FT1, 10
  FGet FT1.Triggered, bVar
  If bVar = True Then
    'The process when the trigger conditions are met
    -
  Else
    'The process when the trigger conditions are not met
    -
  EndIf
Fend

See Also
Force Trigger Object FT#, Force Motion Restriction Object FMR#