HealthRBSpeed Statement
Displays the average speed of the specified joint.
Syntax
HealthRBSpeed [robotNumber] [, jointNumber]
Parameters
- robotNumber
- Optional. Integer expression (1-16) representing the robot number. If omitted, the current robot number will be used.
- jointNumber
- Specify the joint as an integer value (1-6). If the joint number is not specified, returns values for all the joints. This command is unavailable for the additional axes.
Description
Returns the average of the absolute values for speed of the specified joint in robot operation from HealthRBStart to HealthRBStop. The result is a real number from 0 to 1. The maximum average speed is "1".
The value is "0" when the average value is 0.001 or less.
Notes
- This command does not function in Auto mode.
- This command does not function in dry run mode (including the virtual controller).
See Also
HealthRBStart, HealthRBStop, AveSpeed
HealthRBSpeed Statement Example
The example below displays the speed of the Joint #1 of SCARA robot.
> HealthRBSpeed 1, 1
0.100
>