Fmag_Force Status

Application
Force Monitor Object FM#

Description
Returns the resultant force.

Usage
FGet Object.Fmag_Force, rVar

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

  • rVar
    A real number variable defining the value of the property

Detailed Explanation
Fmag_Force returns the resultant force of the subject axes specified by Fmag_Axes in the force coordinate system specified by CoordinateSystem.

Usage Example
This example obtains the value of the resultant force in the X and Y axes in the specified force coordinate system.

Function Test_Fmag_Force
  Real rVar
  FSet FCS1.Position, 0, 0, 100
  FSet FCS1.Orientation, FG_TOOL
  FSet FM1.ForceSensor, 1
  FSet FM1.CoordinateSystem, FCS1
  FSet FM1.Fmag_Axes, FG_XY
  FGet FM1.Fmag_Force, rVar
  Print rVar
Fend

See Also
Force Monitor Object FM#