147
Example
The following diagrams indicate that DM 0000 is the first word used in CMCR for
a TCP OPEN REQUEST and it contains 1810
hex
, that DM 00001 contains
0012
hex
, that CIO 00000 is used to control TCP open processing, and that
CIO 0001 is used to control TCP close processing.
How to Read Tables
DM Area
CIO Area
$1810 $0012
0
1
2
3
4
5
6
7
8
9
DM 0000
CMCR control data for TCP OPEN REQUEST (PASSIVE)
7
6
5
4
3
2
1
0
CIO 000
15 to 8
TCP
close bit
TCP
open bit
Memory Map for Sample Programs
$1810 $0012 $0004 $0001 $0110 $0000
0
1
2
3
4
5
6
7
8
9
DM 0000
CMCR control data for TCP OPEN REQUEST (PASSIVE)
DM Area
$0032
CMCR timeout value
PC Card Unit address (Match
environment of PC being used.)
Network address: $01
Node number: $01
Unit address: $10
Number of retries
Number of response bytes to receive: 4 bytes
Number of bytes to send: 18
Operating level #1 (or $0810 of operating level #0)
$1810 $0008 $0004 $0001 $0110 $0000
0
1
2
3
4
5
6
7
8
9
DM 0010
CMCR control data for TCP CLOSE REQUEST
Number of bytes to send: 8 bytes
Number of response bytes to receive: 4 bytes
$0032
Number of response bytes to receive: 4 bytes
$1810 $006E $0004 $0001 $0110 $0000
0
1
2
3
4
5
6
7
8
9
DM 0020
CMCR control data for TCP SEND REQUEST
Number of bytes to send: 110 bytes
Command format = 10 bytes + 100 bytes transmission data
$0032
Number of response bytes to receive: 4 bytes
$1810 $000C $0004 $0001 $0110 $0000
0
1
2
3
4
5
6
7
8
9
DM 0030
CMCR control data for TCP RECEIVE REQUEST
Number of bytes to send: 12 bytes
Number of bytes received specified in command data.
$0032
Sample Programs for TCP and UDP Communications
Section 10-3
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: ......