Robot (system) status variables 107
M_MtRotNum: Motor cumulative rotation count
[Function]
Returns the cumulative number of rotations of the motor of the robot body from a last overhaul of the
specified axis.
[Format]
Example) <Numeric variable> = M_MtRotNum(<Axis number>)
[Terminology]
<Numeric variable> Specify the joint type variable to assign.
<Axis number> Specify the joint axis to get the cumulative rotation count. (1 to 6)
When omitted, 1 is used.
[Sample]
1 M1 = M_MtRotNum(1) 'The motor cumulative rotation count of the J1 axis is set in M1.
[Explanation]
(1) Returns the motor cumulative rotation count of the robot body (mechanism 1).
The rotation count is the accumulation count from when the previous overhaul was carried out.
(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>.