Tmag_Axes Property

Application
Force Trigger Object FT#, Force Monitor Object FM#

Description
Sets or returns the subject axis for calculating the resultant torque.

Immediate Execution
No

Usage
FGet Object.Tmag_Axes, iVar
FSet Object.Tmag_Axes, iValue

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

  • iVar
    An integer variable defining the value of the property

  • iValue
    An integer value or formula defining the new value of the property

Values
iValue (Unit: Number)

Name of Constants Values Description
FG_XYZ 0

Defines as resultant torque for XYZ axes. (default)

(Tmag = sqrt(Tx2 + Ty2 + Tz2) )

FG_XY 1

Defines as resultant torque for XY axes.

(Tmag = sqrt(Tx2 + Ty2) )

FG_YZ 2

Defines as resultant torque for YZ axes.

(Tmag = sqrt(Ty2 + Tz2) )

FG_ZX 3

Defines as resultant torque for ZX axes.

(Tmag = sqrt(Tx2 + Tz2) )

Detailed Explanation
Tmag is the resultant force from the subject axes selected from X, Y, and Z axes.
This property is used when setting or checking the subject axes to obtain the resultant torque with respect to the Force Trigger Object and Force Monitor Object.

Usage Example
This example sets and acquires the axes wherein the resultant force will be applied for the Force Monitor Object.

Function Test_Tmag_Axes
  Integer iVar
  FSet FM1.Tmag_Axes, FG_ZX
  FGet FM1.Tmag_Axes, iVar
  Print iVar
Fend

See Also
Force Trigger Object FT#, Force Monitor Object FM#