GE EPM 9650/9800 Computer Monitor User Manual


 
5-4
15. Read Window from the beginning up to (but not including) the ending offset.
16. Un-pause the log by writing FFFFH to the Log Window Index Register.
55..11..22::
DDoowwnnllooaaddiinngg
TTiimmee
SSttaammppss
wwiitthh
EExxaammpplleess
Q
The following steps detail the process for downloading time stamps from a log, using values from
Historical Log 1 as an example.
1. Read the EPM Programmable Settings Block (Registers 45057–53248).
2. Pause the log by writing an initial, non-FFFFH value to the Log Window Index Register.
Example: Write 0000H to the Window Index for Historical Log 1, Register 38145.
3. Read and store the Log Header information.
Example: Historical Log 1 Snapshot Header
Address Description Example Value
36865–36866 Historical Log 1 Snapshot Memory Size 1851392
36867 Historical Log 1 Snapshot Record Size 64
36868 Historical Log 1 Snapshot First Index 501
36869 Historical Log 1 Snapshot Last Index 500
36870–36873 Historical Log 1 Snapshot First Time Stamp 7/10/99 12:32:00.000
36874–36877 Historical Log 1 Snapshot Last Time Stamp 7/30/99 14:40:00.000
35878–36881 Historical Log 1 Snapshot Valid Bitmap FFFC 0000
36882 Historical Log 1 Snapshot Max Records 28928
4. Determine the starting Window Index and starting Window Offset using these formulas:
Starting Window Index = Int([8 x First Index]/128).
Starting Window Offset = (8 x First Index) % 128.
Example:
Starting Window Index: Int (8 x 501/128) = Int (31.3125) = 31.
Starting Window Offset: (8 x 501) % 128 = 40.
5. Determine the largest Window Index and the largest Window Offset using these formulas:
Largest Window Index = Int ([8 x Max Records]/128).
Largest Window Offset = (8 x Max Records) % 128.
Example:
Largest Window Index = Int([8 x 28928]/128) = Int(1808) = 1808
Largest Window Offset = (8 x 28928) % 128 = 0
6. Determine the ending Window Index and the ending Window Offset using these formulas:
Ending Window Index = Int([8 x {Last Index + 1}]/128)
Ending Window Offset = (8 x [Last Index +1]) % 128