6 F 3 B 0 3 6 2

7.6 RAS Information Readout

This request reads out the Ethernet Port RAS information (internal error information and phenomenon history) from a user program.

RAS information readout request (using the RECV instruction)

a.Function

This request reads out the Ethernet Port RAS information from a user program.

b.Transfer parameters

A A+1 A+2 A+3 A+4 A+5 A+6

3100H

CMD = 0015H

DRID

DRegNO

Kind

Start

ReadCnt

Module designation CMD number

RAS information storage register type

RAS information storage register start address RAS request type

Start position: Valid when Kind is 2 or 4.

Number of items read out: Valid when Kind is 4.

(1)RAS information storage register type code

This code specifies the type of the register used to store the read out RAS information. See figure 5.1 for the type codes that can be specified here.

(2)RAS information storage register start address

Specifies the start address for the registers specified by the local port register type code.

(3) RAS request type: specifies the type of RAS information read out

1:RAS counter..............LAN controller (line) information (See table 7.2.)

2:MIB information .......LAN controller interface, IP, TCP, and UDP information (See tables 7.3 to 7.6.)

3:Maintenance data (Cannot be used.)

4:Event trace information (See table 7.7.)

5:RAS information clear

(4)Start position: Only valid when the readout request type is 2 (MIB information) or 4 (trace information).

MIB information (2) ...... 0

= MIB_IF

1

= MIB_IP

2

= MIB_TCP

3

= MIB_UDP

Trace information (4)..... 0 to 160; 0 corresponds to the most recent information.

(5)Number of items read out: Only valid when the readout request type is 4 (trace information).

1 to 30 items.

132

Page 133
Image 133
Toshiba T2N instruction manual RAS Information Readout, RAS information readout request using the Recv instruction