13.2.3. Maintenance Log
M_PMLogGrs: Maintenance count (grease)
[Function]
Returns the maintenance count (reset count) of the grease of the specified axis.
[Format]
Example) <Numeric variable> = M_PMLogGrs(<Axis number>)
[Terminology]
<Numeric variable> Specify the numeric variable to assign.
<Axis number>
[Sample]
1 M1 = M_PMLogGrs(1)
[Explanation]
(1) Returns the maintenance count (reset count) of the grease for the robot body (mechanism 1).
(2) This variable is read only.
(3) Returns "-1" when the predictive/preventive maintenance function is disabled.
(4) Returns "0" when a nonexistent axis is specified in <Axis number>.
[Related system status variables]
C_PMLogGrs
Robot (system) status variables 108
Specify the joint axis for which to get a log. (1 to 6)
When omitted, 1 is used.
'The maintenance count of the grease for the J1 axis is set in M1.