4

In the first byte of word address + 1, the Long/Short indicator defines the quantity of fault specific data present in the fault entry. It may be:

PLC Fault Table: 00 = -8 bytes (short) 01 = 24 bytes (long)

I/O Fault Table: 02 = —5 bytes (short) 03 = 21 bytes (long)

Example 1:

In the following example, when input %I0251 is on and input %I0250 is on, the last entry in the PLC fault table is read into the parameter block. When input %I0251 is off and input %I0250 is on, the last entry in the I/O fault table is read into the parameter block. The parameter block is located at location %R0600.

 

 

_____

%I0250

%I0251

 

—— ————— ———MOVE_

 

 

 

 

INT

 

 

CONST —IN

Q– %R0600

0000

LEN

 

 

0001

 

 

_____

 

 

 

 

 

 

_____

%I0250

%I0251

 

—— —————/———MOVE_

 

 

 

 

INT

 

 

CONST —IN

Q— %R0600

0001

LEN

 

 

0001

 

 

_____

 

 

 

 

_____

 

 

 

ALW_ON

 

 

—— ——— SVC_—

 

 

 

 

REQ

 

 

 

 

CONST —FNC

 

 

0015

 

 

 

 

%R0600 —PARM

 

 

_____

 

 

 

 

 

 

GFK-0467K

Chapter 4 Series 90-30/20/Micro Instructions Set

4-157

Page 238
Image 238
GE manual GFK-0467K Series 90-30/20/Micro Instructions Set 157