action should be performed only under the following two circumstances:

—When the programmable settings are modified, such that data already in the logs is invalidated. For example, any modifications involving the record size or organization of the contents of a snapshot would require the logs to be cleared of any previous data.

—When the Run-Time code is upgraded, resulting in one of the following: a redefinition of the layout or meaning of the programmable settings or in altered behavior or capabilities of the logs.

Note:This action should be performed automatically by software in either of these cases, and should not be an action directly available to the user.

5.1.1: Steps for Downloading a Log

The steps below outline the process for downloading a log. Details and examples for downloading time stamps and records follow in Sections 5.1.2 and 5.1.3.

1.Read the EPM Programmable Settings Block (Registers 45057–53248). This information will be used to interpret the data retrieved from the log.

2.Pause the log by writing an initial, non-FFFFH value to the Log Window Index Register.

3.Read and store the Log Header information.

4.Determine the starting Window Index and Window offset.

5.Determine the largest Window Index and Window offset.

6.Determine the ending Window Index and Window offset.

7.Set the Window Mode to Download Mode.

8.Set the Log Window Index to the starting Window Index.

9.Read the Window from starting offset to the end of the Window.

10.Increment the Window Index.

11.Read the Window from beginning to end.

12.Repeat steps 10 and 11 until the largest or ending Window Index is reached.

—If the largest is reached, go to step 13. —If the ending is reached, go to step 15.

13.Read window from beginning up to (but not including) the largest offset.

14.Set Window Index to 0. Go to step 12.

5-3

Page 267
Image 267
GE EPM 9650/9800 manual Steps for Downloading a Log