HealthRBAnalysis Statement

Simulates and displays the usable months for the specified parts in a particular robot operation cycle.

Syntax
HealthRBAnalysis robotNumber, partType[, jointNumber]

Parameters

robotNumber
Specify the robot number as an integer (1-16).
partType
Specify the parts related to the robot as integer values or by the constants shown below.

Constant Value Mode
HEALTH_ROBOT_TYPE_ALL 0 Specifies all parts.
HEALTH_ROBOT_TYPE_BELT 2 Specifies the timing belts.
HEALTH_ROBOT_TYPE_GREASE 3 Specifies the grease.
HEALTH_ROBOT_TYPE_MOTOR 4 Specifies the motors.
HEALTH_ROBOT_TYPE_GEAR 5 Specifies the reduction gear units.
HEALTH_ROBOT_TYPE_BALL_SCREW_SPLINE 6 Specifies the ball screw spline.
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
Simulates the usable months for the specified parts in a particular robot operation cycle. This command calculates and displays how many months the parts can be used if they are new and used for 24 hours a day. The past usage is not considered.

Returns “-1” when the specified parts are not installed on the specified joint.

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

HealthRBAnalysis Statement Example
The example below displays the usable months for all parts of all joints on SCARA robot.

> HealthRBAnalysis 1, HEALTH_ROBOT_TYPE_ALL
BELT                -1.000,   -1.000,   38.689,   95.226
GREASE              -1.000,   -1.000,   21.130,   -1.000
MOTOR              240.000,  240.000,  240.000,  240.000
GEAR               240.000,  224.357,   -1.000,   -1.000
BALL_SCREW_SPLINE   -1.000,   -1.000,  240.000,   -1.000
>

The example below displays the usable months for the reduction gear units of all joints on SCARA robot.

> HealthRBAnalysis 1, HEALTH_ROBOT_TYPE_GEAR
GEAR               240.000,  224.357,   -1.000,   -1.000
>

The example below displays the usable months for the Joint #2 motor on 6-axis robot.

> HealthRBAnalysis 1, HEALTH_ROBOT_TYPE_MOTOR, 2
MOTOR              224.357
>