FGet Statement

Application
Force Object FC#, Force Trigger Object FT#, Force Monitor Object FM#, Force Coordinate System Object FCS#

Description
This is used when acquiring the properties or status of a force object.

Usage
FGet Object.Property, Var

  • Object
    Object name

  • Property
    The name of the property for which the value is to be acquired

  • Var
    The variable that shows a returned value and format differ according to the property.

Detailed Explanation
This is used when acquiring the properties or status of a force object.

Usage Example
This is an example of acquiring from a force monitor object and displaying the axial value of force sensor 1 for each axis.

Function test

  Real myForces(8)

  FSet FS1.Reset

  FSet FM1.ForceSensor, 1
  FSet FM1.CoordinateSystem, FCS0
  Do
    FGet FM1.Forces, myForces()
    Print myForces(0), myForces(1), myForces(2)
    Wait 1
  Loop
Fend

See Also
FSet