FLoad Statement
Application
Force Control Object FC#, Force Trigger Object FT#, Force Monitor Object FM#, Force Coordinate System Object FCS#
Description
This loads a force file into the robot’s force memory area.
Usage
FLoad FileName_sValue$ [,Merge]
FileName_sValue$
A character strings specifying the name of the file to be loaded into the robot’s force memory area.Merge
Character string to specify that the current force memory area is not to be cleared.
Detailed Explanation
This loads a force file into the robot’s force memory area. The file extension is fixed to “.frc”. If the extension is omitted, “.frc” will be added. The specified file is limited to files within the project. You cannot specify the path.
When Merge is not specified, the object currently in the memory area is cleared prior to loading. When Merge is specified, a new force object is added to the current memory area. When the force object to be added already exists, it is overwritten.
Frequent Errors
Cannot specify path
When FileName_sValue$ includes the path, an error is generated.
Cannot find specified file (file does not exist)
When FileName_sValue$ cannot be found, an error occurs.
Force file from different robot
When a force file from a different robot is specified in FileName_sValue$, an error occurs.
In such cases, either add the force file using the project editor, or execute either FSave or Fimport.
Usage Example
This is an example of loading a force file.
> FLoad "myforce.frc"
See Also
FSave