HealthRBWarningEnable Statement
Enable or disable the parts consumption alarm notification of specified part related to the robot.
Syntax
HealthRBWarningEnable robotNumber, partType [, On/Off]
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. - On/Off
- On: Enable the parts consumption alarm notification.
- Off: Disable the parts consumption alarm notification
Return Values
If On/Off parameters are omitted, the current On/Off settings are displayed.
Description
When the parts consumption alarm of the specified part occurs, set whether to notify the parts consumption alarm.
Notes
If the parts consumption alarm of the specified part is disabled, the parts consumption alarm will not be notified when the recommended replacement time is passed. Be careful to set when using this command.
See Also
HealthRBAlarmOn
HealthRBWarningEnable Example
Example to disable the parts consumption alarm of the grease part of SCARA robot 1.
> HealthRBWarningEnable 1, HEALTH_ROBOT_TYPE_GREASE, Off
Example to display the parts consumption alarm settings of the grease part of SCARA robot 1.
> HealthRBWarningEnable 1, HEALTH_ROBOT_TYPE_GREASE
GREASE Off
>