ForceSensor Property
Application
Force Trigger Object FT#, Force Monitor Object FM#,
Force Motion Restriction Object FMR#
Description
Sets or returns the number of the force sensor in question.
Usage
FGet Object.ForceSensor, iVar
FSet Object.ForceSensor, iValue
Object
Object name
The object is specified as FT (numerical value), FM (numerical value), FMR (numerical value), FT (label), FM (label), or FMR (label).iVar
An integer variable defining the value of the propertyiValue
An integer value or formula defining the new value of the property
Values
iValue (Unit: Number)
Values | |
---|---|
Minimum | 1 (default) |
Maximum | 4 |
Detailed Explanation
This sets the number of the subject force sensor, or when confirming, uses the properties thereof.
Usage Example
This example sets and acquires the number of the force sensor corresponding to FM1.
Function Test_ForceSensor
Integer iVar
FSet FM1.ForceSensor, 3
FGet FM1.ForceSensor, iVar
Print iVar
Fend
See Also
Force Trigger Object FT#, Force Monitor Object FM#,
Force Motion Restriction Object FMR#