6 F 3 B 0 3 6 2

Appendix 3 Status Table

Figure a.1 lists the completion status and detailed information stored in the specified registers during SEND/RECV instruction execution or at instruction completion. Tables A.3 and A.4 list the contents of the TermSTS completion status, and table A.5 lists the contents of the detailed information (the Ethernet Port error response) loaded into the next register after the register used for the completion status.

F E D C B A 9 8 7 6 5 4 3 2 1 0

B

 

 

 

 

Sport NO

TermSTS

 

 

 

Only on an error

0: Error occurred at local port.

 

 

 

1: Error occurred at remote port.

 

Socket identifier:Only valid for socket interface transmission

 

 

instructions. ("0" for other instructions)

busy

0: Initial state

status

0: Initial state

 

1: While send requesting

 

1: Transmission port busy

2: Send complete and while

abn

0: Normal complete

 

waiting response

 

1: Error complete

 

3: Complete

 

Figure A.1

Status Structure

Table A.3 TermSTS (Part 1)

TermSTS

Status

 

 

00H

Normal complete

 

 

01H

Register specification error

02H

Response timeout

 

 

03H

Parameter error

Meaning

Occurs if a register other than XW, YW,W, LW, RW, D, F, T, C, or SW is specified as the data storage register in one of the following requests. Requests: RAS information readout, remote port loopback, UDP send/receive,

TCP send/receive, register read/write.

In a register read or write request, the request specified a read or write from a T register to a register other than a T register.

(This also applies to C registers.)

Occurs if a response is not received within the specified time for a remote port loopback or register read/write request.

Occurs if a value other than 3 is specified for the module ID.

Occurs if a value other than 1, 2, 3, or 4 is specified for the channel number.

Occurs if a command number other than one of the following is specified for a SEND instruction.

000FH, 0011H - 0014H, 0018H, 0021H, 0031H, 0032H, 0034H, 0035H, 0037H, 0039H

Occurs if a command number other than one of the following is specified for a RECV instruction.

0015H, 0021H, 0033H, 0038H

Occurs if a value other than 1 to 8 is specified for the socket identifier. (See section 6.4 "Using the Ethernet Port Socket Interface".)

Occurs if an incorrect parameter is specified in a RAS information readout request.

(See section 7.6 "RAS Information Readout ".)

172

Page 173
Image 173
Toshiba T2N instruction manual Appendix 3 Status Table, Figure A.1 Status Structure Table A.3 TermSTS Part