Robot (system) status variables 137
13.2.6. Notification
M_PMRptGrs: Notification pause status (grease)
[Function]
Returns the stop status of warning / signal output, of grease consumption of the specified axis.
[Format]
Example) <Numeric variable> = M_PMRptGrs<Axis number>
[Terminology]
<Numeric variable> Specify the numeric variable to assign.
<Axis number> Specify the joint axis for which to get a log. (1 to 6)
When omitted, 1 is used.
[Sample]
1 M1 = M_PMRptGrs(1) 'The notification method of the grease consumption of the J1 axis is set
in M1.
[Explanation]
(1) Returns the pause status of warning occurrence/warning signal output, which occurs due to grease
consumption of the joint axis specified in <Axis number> of the robot body (mechanism 1). (1/0 =
Enable/Disable)
(2) This variable is read only.
(3) Returns "-1" when the predictive/preventive maintenance function is disabled.
(4) Returns "0" when the joint axis does not exist.
(5) Returns "0" for joint axes that do not require grease replenishing.