Appendix 2 Request Code Table - Toshiba T2N Instruction Manual

Cpu module ethernet port
Hide thumbs Also See for T2N:
Table of Contents

Advertisement

Appendix 2 Request Code Table

This table lists the request codes (CMD) used with SEND/RECV instructions sent to the Ethernet
Port. Refer to the section/item indicated in the reference column in the table for detailed
explanations of the request codes.
Request
Reset request
Parameter setup request
Operating mode control
request
Remote port verification
request
RAS information readout
request
Time set request
Register read request
(PC link function)
Register write request
(PC link function)
Remote port loopback
request
UDP open request
UDP send request
UDP receive request
UDP close request
TCP open request
TCP send request
TCP receive request
TCP close request
The request code (CMD) types (1) to (3) have the following meanings.
Class (1) is module control, (2) is PC link protocol transmission, and (3) is socket interface
transmission.
For a single Ethernet Port, it is not possible to request another class (1) CMD while a class
(1) CMD is executing. This is also true for class (2) CMDs. If such a request is issued, the
status will be transmission port busy, and the request will go to the wait state.
For a single Ethernet Port, when requesting a class (3) CMD, it is not possible to request
another class (3) command for a socket for which an instruction is executing. If such a request
is issued, the status will be transmission port busy, and the request will go to the wait state.
There are eight sockets, and each can independently accept and execute a class (3) instruction.
Table A.2
Instructions (Requests) to the Ethernet Port
Function
Resets the Ethernet Port.
Sets up the Ethernet Port parameters.
Sets the operating mode.
Verifies the existence of another port on the
network.
Reads out the Ethernet Port RAS information.
Sets the Ethernet Port internal clock
Time information for event trace
Reads register data from remote T2N into registers
in the local T2N.
Writes register data from the local T2N to registers
in remote T2N.
Performs a loopback test with another Ethernet
Port on the network.
Opens a UDP socket.
Transmits data from an open UDP socket.
Reads out data received by an open UDP socket.
Closes (terminates) an open UDP socket.
Opens a TCP socket.
Transmits data from an open TCP socket.
Reads out data received by an open TCP socket.
Closes (terminates) an open TCP socket.
171
6 F 3 B 0 3 6 2
Reference
Instruction
CMD/Class
SEND
0011H/(1)
Section 4.3
SEND
0012H/(1)
Section 4.4
SEND
0013H/(1)
Section 4.5
SEND
0014H/(1)
Section 7.3
RECV
0015H/(1)
Section 7.6
SEND
0018H/(1)
Section 7.5
RECV
0021H/(2)
Section 5.4
SEND
0021H/(2)
Section 5.3
SEND
000FH/(2)
Section 7.4
SEND
0031H/(3)
Section 6.4 (1)
SEND
0032H/(3)
Section 6.4 (2)
RECV
0033H/(3)
Section 6.4 (3)
SEND
0034H/(3)
Section 6.4 (4)
SEND
0035H/(3)
Section 6.4 (5)
SEND
0037H/(3)
Section 6.4 (6)
RECV
0038H/(3)
Section 6.4 (7)
SEND
0039H/(3)
Section 6.4 (8)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pu235nPu245n

Table of Contents