Object Designation



Object Designation

Application
Force Control Object FC, Force Coordinate System Object FCS,
Force Trigger Object FT, Force Monitor Object FM,
Force Motion Restriction Object (FMR), Force Sensor Object FS,
Mass Property Object MP, Robot Object Robot

Description
This is a formula specifying the object by a statement or function.

Usage

Force Control Object FC # FC(#) FC(Label) FC((Var))
Force Coordinate System Object: FCS # FCS(#) FCS(Label) FCS((Var))
Force Trigger Object FT # FT(#) FT(Label) FT((Var))
Force Monitor Object FM # FM(#) FM(Label) FM((Var))
Force Motion Restriction Object FMR # FMR(#) FMR(Label) FMR((Var))
Force Sensor Object FS # FS(#) - FS((Var))
Mass Property Object MP # MP(#) MP(Label) MP((Var))
Robot Object Robot
# An integer 0 or greater
Label The label assigned to the object
Var A variable expressed as an integer or real number 0 or greater

Detailed Explanation
In the statement or function, the respective Number #, object label Label, and variable Var value are specified for the object.
The real number is specified by truncating the decimal places to the nearest whole integer.

Usage Example
Program example which specifies an object.

Function Test
  Integer Var
  String Var1$, Var2$
  Var = 1
  FSet FC1.Label, "Label1"            ' Establishes object FC1 label.
  FSet FC(1).Description, "comment 1" ' Establishes object FC1 comments.
  FGet FC(Label1).Description, Var1$  ' Refers to object FC1 by its label.
  Print Var1$                         ' Prints “comment 1”.
  FGet FC((Var)).Description, Var2$   ' Refers to object FC1 by the variable.
  Print Var2$                         ' Prints “comment 1” in the same manner.
Fend