GE EPM 9650/9800 Computer Monitor User Manual


 
5-5
Example:
Ending Window Index = Int([8 x {500 + 1}]/128 = Int(31.3125) = 31
Ending Window Offset = (8 x [500 + 1]) % 128 = 40
7. Set the Window Mode to Download Mode by writing the Download Mode code (0000H) to the
Log Window Mode Register.
Example:
Write the value 0000H to the Window Mode for Historical Log 1, Register 38209.
8. Set the Window Index to the Starting Window Index.
Example:
Write the value 31 (001FH) to the Historical Log 1 Window Index, Register 38145.
9. Read Window from starting offset to end of Window:
Starting offset = First Register of Window + (starting Window offset/2).
Example:
38273 + (40/2) = 38293
Read from 38293 – 38336.
10.Increment the Window Index.
Example:
Write the value 32 (0020H) to the Historical Log 1 Window Index, Register 38145.
11.Read the Window from beginning to end.
Example:
Read the Historical Log 1 Window from Register 38273 to 38336.
12.Repeat steps 10 and 11 until the Largest or Ending Window Index is reached.
—If the Largest Window Index is reached, go to step 13.
—If the Ending Window Index is reached, go to step 15.
Example:
If Window Index = 1808, go to step 13. If Window Index = 31, go to step 15.
13.Read Window from beginning up to (but not including) the Largest Offset.
Largest Offset = First Register of Window + (largest Window offset/2).
Example: (Index = 1808).
38273 + (0/2) = 38273.
Read from 38273 up to 38273; therefore, read nothing.
14. Set Window Index to 0. Go to step 12.