4

SVCREQ #15: Read Last-Logged Fault Table Entry

Use SVCREQ function #15 in order to read the last entry logged in either the PLC fault table or the I/O fault table. The SVCREQ output is set ON unless some number other than 0 or 1 is entered as the requested operation (see below), or the fault table is empty. (For additional information on fault table entries, refer to chapter 3, “Fault Explanations and Correction.”)

For this function, the parameter block has a length of 22 words. The input parameter block has this format:

0 = Read PLC fault table.

1 = Read I/O fault table.

address

The format for the output parameter block depends on whether the function reads data from the PLC fault table or the I/O fault table.

PLC Fault Table Output Format

Low Byte

High Byte

0

long/short

spare

PLC fault address

fault group and action

error code

fault specific data

time stamp

address + 1 address + 2 address + 3 address + 4 address + 5 address + 6 address + 7 address + 8 address + 9 address + 10 address + 11 address + 12 address + 13 address + 14 address + 15 address + 16 address + 17 address + 18 address + 19 address + 20 address + 21

I/O Fault Table Output Format

Low Byte

 

High Byte

 

1

 

 

 

 

long/short

 

 

 

 

 

reference address

 

 

 

 

 

I/O fault address

 

 

 

 

 

fault group and action

 

 

 

 

 

fault category

 

fault type

 

 

 

fault description

 

 

 

 

 

fault specific data

time stamp

4-156

Series 90-30/20/Micro Programmable Controllers Reference Manual–September 1998

GFK-0467K

Page 237
Image 237
GE 90-30/20/Micro manual Svcreq #15 Read Last-Logged Fault Table Entry, PLC Fault Table Output Format