FCElapsedTime Function
Description
Returns the time elapsed since the force control function was activated for the specified robot.
Usage
FCElapsedTime(RobotNo)
- RobotNo
An integer value or formula which specifies the robot number.
Return Values
Returns the time elapsed since the force control function was activated for the specified robot.
Detailed Explanation
Returns the time elapsed since the force control function was activated for the specified robot. This function returns the elapsed duration only while the force control function is activated for the specified robot. Executing this function when the force control function is inactive will return a “0” value. The RobotNo may be omitted. If omitted, the robot selected in the Robot statement will be specified.
Usage Example
This example displays the elapsed time for the force control function.
Function FCElapsedTimeTest
Print FCElapsedTime(1)
Fend
See Also
FCKeep, FCEnd, Force Control Object FC#