7

Reading GMR Diagnostics

The application program can obtain the following diagnostic information from the GMR system software:

HAutotest faults

HDiscrepancy faults

HGenius faults

HPoint faults

HAnalog alarms

This information is described in detail in the Diagnostics chapter.

To obtain this information, the application program should CALL an external Program

Block named G_M_R09. Information is read-only; it cannot be written to.

 

Call G_M_R09

 

( )

 

 

 

 

Table

X1

Y1

Dest

Start

X2

Y2

Error

End

X3

Y3

Dummy

 

 

 

 

 

Each call to G_M_R09 can access one type of data, as listed in the table on the next page.

Data is returned in bit format. The data length is selected by the Start and End entries.

Parameters for the Call Function

You must specify the following information:

X1: Table a number representing the type of data to be read. For example, to read

Digital Input Discrepancy faults, you would specify item 11.

X2: Start the start offset within the area of information specified in the table.

For discrete point faults (input or output faults of any of the types listed), this is the actual address of the start point to be accessed. For example, to see if there was an output point fault for %Q00015, you would enter the value 15 for START.

X3: End

the end offset within the area of information specified in the table.

Y1:

the location where the requested information will be placed after it has

Destination

been obtained.

Y2: Error the location where the error code will be placed. The error code is generated if the CALL function fails to execute successfully.

The table on page 7-26 lists error codes may be be read in this location.

Y3: (dummy) not used.

7-24

GeniustModular Redundancy Flexible Triple Modular Redundant (TMR) System

GFK-0787B

 

User's Manual ± March 1995

 

Page 167
Image 167
GE GFK-0787B user manual Reading GMR Diagnostics, Parameters for the Call Function, Y3 dummy not used