Fx_AvgForce, Fy_AvgForce, Fz_AvgForce Status

Application
Force Monitor Object FM#

Description
This returns the average translated force in the specified axes.

Usage
FGet Object.XX_AvgForce, rVar

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

  • XX
    A character string defining the name of the property

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

Values
XX

Specified Axis Description
Fx Specifies translated force in the X axis.
Fy Specifies translated force in the Y axis.
Fz Specifies translated force in the Z axis.

Detailed Explanation
XX_AvgForce returns the average translated force in the specified axis.
Before executing XX_AvgForce, execute AvgForceClear. “0” will be returned if AvgForceClear is not executed.
If the time between executing AvgForceClear and executing XX_AvgForce is short, an error in the force and torque averages will occur. Establish a low-pass filter with a time constant of about 5 times between the AvgForceClear and the XX_AvgForce execution.
There is a time limit on XX_AvgForce. Execute XX_AvgForces within 600 seconds of executing AvgForceClear. When XX_AvgForce is executed after 600 seconds has passed, an error is generated.

Usage Example
This is an example of force averaging in the Fx axis.

Function CheckAverageForce
  Double AF
  FSet FC1.Enabled, True, False, False, False, False, False
  FSet FC1.TargetForces, 10, 0, 0, 0, 0, 0
  FSet FS1.Reset
  FSet FM1.CoordinateSystem, FCS0
  FSet FM1.AvgForceClear, True, False, False, False, False, False, False, False
  FCKeep FC1, 10
  FGet FM1.Fx_AvgForce, AF
  Print AF
Fend

See Also
Force Monitor Object FM#