140
Socket Service Request Commands
Command
code
Name
Description
Page
MRC SRC
27
01
UDP OPEN REQUEST
Opens the UDP socket.
187
02
UDP RECEIVE REQUEST
Receives data at the UDP socket.
188
03
UDP SEND REQUEST
Sends data from the UDP socket.
189
04
UDP CLOSE REQUEST
Closes the UDP socket and ends communications.
190
10
TCP OPEN REQUEST (PASSIVE)
Opens a TCP socket and waits for connection to another
node.
191
11
TCP OPEN REQUEST (ACTIVE)
Opens a TCP socket and connects to another node.
192
12
TCP RECEIVE REQUEST
Receives data at the TCP socket.
193
13
TCP SEND REQUEST
Sends data from the TCP socket.
194
14
TCP CLOSE REQUEST
Closes the TCP socket and ends communications.
195
The basic format for FINS commands used for socket services is shown in the
following diagram.
Socket
number
0
1
2
3
4
5
6
7
8
9
10
11
12
Command
code
Results storage area
Parameters
Command Code:
Specifies the process code requested for the socket.
Socket Number
Specifies the socket number for the process, between 1 and 4.
Results Storage Area
Specifies the area to store the results of the requested process.
Parameters
Specifies the parameters defined for the command code.
Refer to Section 11 FINS Commands and Responses for details about com-
mands.
Socket Status Area
Each PC Card Unit has four sockets that can be used for TCP or UDP. The status
of each of these sockets can be confirmed from the by AR bits.
AR Words 08 to 15
Byte
Operating level #0, socket no. 1 status area
Operating level #0, socket no. 2 status area
Operating level #0, socket no. 3 status area
Operating level #0, socket no. 4 status area
Operating level #1, socket no. 1 status area
Operating level #1, socket no. 2 status area
Operating level #1, socket no. 3 status area
Operating level #1, socket no. 4 status area
Basic FINS Command
Format
Using Socket Services
Section 10-2
Summary of Contents for SYSMAC C200HW-PCS01-EV1
Page 1: ...Cat No W313 E1 3 PC Card Unit SYSMAC C200HW PCU01 C200HW PCS01 EV1 OPERATION MANUAL...
Page 2: ......
Page 3: ...SYSMAC C200HW PCU01 C200HW PCS01 EV1 PC Card Unit Operation Manual Revised January 2000...
Page 4: ......
Page 6: ......
Page 10: ......
Page 12: ......
Page 18: ......
Page 34: ......
Page 38: ......
Page 60: ......
Page 80: ......
Page 82: ......
Page 88: ......
Page 120: ......
Page 148: ......
Page 178: ......
Page 214: ......
Page 220: ......
Page 232: ......
Page 234: ......
Page 236: ......
Page 238: ......
Page 240: ......