![Mitsubishi Electric CR800-D Series User Manual Download Page 148](http://html.mh-extra.com/html/mitsubishi-electric/cr800-d-series/cr800-d-series_user-manual_238858148.webp)
Robot (system) status variables 146
M_PMLogE2:Abnormality detection log data (encoder communication abnormality)
[Function]
Returns the score from the abnormality detection log (encoder communication abnormality) of the
specified axis.
[Syntax]
Example) <Numeric variable> = M_PMLogEnc2(<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
communication abnormality).
9: Retrieves the date of log data.
[Examples]
1) M1 = M_PMLogEnc2(1,1) 'The data of abnormality detection log (encoder communication
abnormality) for Axis J1 is set in M1.
2) M2 = M PMLogEnc2(1,9) 'Today's date is set in M2.
[Comments]
(1) Returns the score from the abnormality detection log of the robot's encoder communication
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 communication
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_PMScrEnc2
Examples:
<Log number> = 1, <Axis number> = 1: 80.505 (Displays today's score for the J1 axis encoder
communication abnormality)
<Log number> = 2, <Axis number> = 1: 80.555 (Displays the score of the previous day for the J1 axis
encoder communication 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 ...