Mitsubishi Electronics MR-MC211 Sleep Apnea Machine User Manual


 
7 - 97
7. AUXILIARY FUNCTION
7.17 Alarm history function
7.17.1 Summary
The alarm history function is a function that records the history of system errors and alarms (system, operation,
and servo alarms) when they occur. The alarm history data is stored in the alarm history area of the flash ROM.
Alarm history can also be checked after the power is turned off.
POINT
History data is also stored at system startup command (when 000Ah, or
000Ch is input to the system command code) and at completion of system
startup (when system status code has become 000Ah).
Alarm history data is stored to the flash ROM once every 10s. (max. 100
alarms each storing)
When more than 100 alarms occur over 10s, the data passed 100 alarms is
discarded.
If power is turned off or a reboot is performed before alarm history write, the
history data is not saved.
Reading of alarm history data can be performed in the test tool.
API LIBRARY
For a detailed procedure for getting alarm history data, refer to the sample
program (AlarmHistory) contained on the utility software.
Note 1. Log data is read to the dual port memory from internal memory of the
position board in units of pages (4 data)
2. There is a storage area for 2047 history data. However, when power
supply is turned ON, or a software reboot is performed after storing
1536 data or more, the oldest 1024 items of history data are deleted.
Transferred on
per page basis
BC30h
BD2Fh
Dual port memory
Alarm history table
256 byte
(For 4 history data)
Alarm history area
131072 byte
(For 2047 history data)
Flash ROM alarm history area
(1) API library to be used
Function name Description Remarks
sscGetAlarmHistoryData Gets alarm history data Use the sscGetAlarmHistoryData function to read the alarm history.
Calculate the largest page number (divide the number of valid events
by 4 and round up to nearest whole number) to be read by using the
number of valid events got with the sscCheckAlarmHistoryEventNum
function.Use this function to get alarm history data from page 1 to the
largest page number to be read.
sscCheckAlarmHistoryEventNum Get the number of valid
alarm history data
events.
sscClearAlarmHistoryData Clears (initializes) the
alarm history data.