7 - 106
7. AUXILIARY FUNCTION
7.17.4 Timing chart for alarm history read
A method for reading alarm history stored in the alarm history area is shown below.
ON
OFF
Page 1 Page 2 Page 3
sscGetAlarmHistoryData function
Alarm history read
command (ALHR)
Alarm history read
complete (ALHRF)
Alarm history read page
number
Host
controller
Position
board
ON
OFF
POINT
The alarm history is stored in the alarm history area of the position board
flash ROM in ring buffer format. The data is read from the oldest data first
when transmitting to the dual port memory.
API LIBRARY
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.