Robot (system) status variables 110 
M_PMLogDec: Maintenance count (reduction gear) 
 
[Function] 
  Returns the maintenance count (reset count) of the decelerator of the specified axis. 
 
[Format] 
Example) <Numeric variable> = M_PMLogDec(<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_PMLogDec(1)   'The maintenance count of the reduction gear for the J1 axis is set in 
M1. 
 
[Explanation] 
(1)  Returns the maintenance count (reset count) of the reduction gear of 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_PMLogDec