HealthRBRateOffset Statement
Sets the offset for the consumption rate of the specified parts.
Syntax
HealthRBRateOffset robotNumber, partType, jointNumber, offset
Parameters
- robotNumber
- Specify the robot number as an integer (1-16).
- partType
- Specify the parts related to the robot as integer values (1-6) or by the constants shown below.
Constant Value Mode HEALTH_ROBOT_TYPE_BATTERY 1 Specifies the batteries. 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). When the batteries are selected for partType, the offset will be set when any joint is specified because the batteries are common to all joints. This command is unavailable for the additional axes.
- offset
- Specify an integer value to offset against the consumption rate. (Unit: %)
Description
Sets the offset for the consumption rate of the specified parts and joints.
See Also
HealthRBAlarmOn, HealthRateRBInfo, HealthRBInfo
HealthRBRateOffset Example
The example below adds 10% to the consumption rate of the Joint #1 reduction gear unit on the robot 1.
> HealthRBRateOffset 1,HEALTH_ROBOT_TYPE_GEAR,1,10
>