![Mitsubishi Electric CR800-D Series User Manual Download Page 147](http://html.mh-extra.com/html/mitsubishi-electric/cr800-d-series/cr800-d-series_user-manual_238858147.webp)
Robot (system) status variables 145
M_PMLogE1:Abnormality detection log data (encoder data abnormality)
[Function]
Returns the score from the abnormality detection log data (encoder data abnormality) of the specified
axis.
[Syntax]
Example) <Numeric variable> = M_PMLogEnc1(<Log number>, <Axis number>)
[Term]
<Numeric variable> Specify the numeric variable to assign.
<Log number> Specify the number of the log to retrieve. (1 to 365)
The greater the number, the older the log data.
1: Retrieves today's maximum score value.
2 to 365: Retrieves the maximum score value from [specified value - 1] days ago.
(Example: When "5" is set, the command retrieves the score from 4 days ago.)
<Axis Number> Specify the joint axis to retrieve the data from. (1 to 9)
1 to 8: Retrieves the joint axis data of the abnormality detection log (encoder data
abnormality).
9: Retrieves the date of log data.
[Examples]
1) M1 = M_PMLogEnc1(1,1) 'Today's data of the abnormality detection log (encoder data
abnormality) for Axis J1 is set in M1.
2) M2 = M_PMLogEnc1(1,9) 'Today's date is set in M2.
[Comments]
(1) Returns the score from the abnormality detection log of the robot's encoder data abnormality.
(mechanism 1).
(2) This variable is read-only.
(3) Returns "-1" when the predictive maintenance function is disabled.
(4) Returns the following numeric value from the abnormality detection log data (encoder data
abnormality) with the combination of <Log number> and <Axis number> when the predictive
maintenance function is enabled.
* When <Axis number> = 9 is specified, the command retrieves the date (displays [YYMMDD]).
(5) Returns "0" when there is no log data of the date specified in <Log number>.
(6) The score of a nonexistent joint axis is "0".
(7) The score value is today's maximum value.
(8) When maintenance reset (encoder) is performed, today's maximum score value is the one after reset.
(9) Log data (log number, date, srore) will not be updated on non-working days.
[Related system status variables]
M_PMLogScr / M_PMScrEnc1
Examples:
<Log number> = 1, <Axis number> = 1: 80.905 (Displays today's score for the J1 axis encoder data
abnormality)
<Log number> = 2, <Axis number> = 1: 80.555 (Displays the score of the previous day for the J1 axis
encoder data abnormality)
<Log number> = 1, <Axis number> = 9: 190130 (For example if today is January 30, 2019.)
<Log number> = 2, <Axis number> = 9: 190129 (For example if the previous day is January 29, 2019.)
Summary of Contents for CR800-D Series
Page 2: ......
Page 25: ...Basic specifications 23 MEMO ...
Page 31: ...Basic specifications 29 MEMO ...
Page 49: ...Startup and initial settings 47 MEMO ...
Page 57: ...Consumption degree calculation function 55 MEMO ...
Page 63: ...Operating information 61 MEMO ...
Page 91: ...Maintenance 89 MEMO ...
Page 193: ...Troubleshooting 191 ...