HealthRBDistance Statement

Displays the driving (rotation) amount of the motor of the specified joint.

Syntax
HealthRBDistance [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
Calculates and displays the driving (rotation) amount of the motor of the specified joint in robot operation from HealthRBStart to HealthRBStop. The past usage is not considered.

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

HealthRBDistance Statement Example
The example below displays the driving amount of the Joint #1 of SCARA robot.

> HealthRBDistance 1, 1
 1.000
>