![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247164.webp)
148
$0010 $2710 $0001 $8203 $FC00 $1000
0
1
2
3
4
5
6
7
8
9
DM 1000
$0000 $C424 $2037
TCP OPEN REQUEST (PASSIVE) command data
$0000
Remote port number: Not specified
Computer IP address: 196.36.32.55
($C4, $24, $20, $37)
Timeout value: Not set
Local port number: set to 4096 ($1000)
Results storage area: set to DM 1020 ($03FC)
TCP socket number (PC Card Unit socket number): set to 1
Command code
Transmission data length: 10 words (BCD)
$2710
0
1
2
3
4
5
6
7
8
9
DM 1010
Respo
nse
code
TCP OPEN REQUEST (PASSIVE) response
Stores the response after CMCR command execution.
0
1
2
3
4
5
6
7
8
9
DM 1020
TCP OPEN REQUEST (PASSIVE) results storage area
Response
code
Remote IP
address
Remote
TCP port
number
$0005 $2714 $0001 $8204
0
1
2
3
4
5
6
7
8
9
DM 1030
TCP CLOSE REQUEST command data
$1A00
Results storage area: set to DM 1050 ($041A)
TCP socket number to close: set to 1
Command code
Transmission data length: 5 words (BCD)
$0056 $2713 $0001 $820B
0
1
2
3
4
5
6
7
8
9
DM 2000
$2714
0
1
2
3
4
5
6
7
8
9
DM 1040
DM 1050
$C200
TCP CLOSE REQUEST response
Respo
nse
code
Respo
nse
code
TCP CLOSE REQUEST results storage area
TCP SEND REQUEST command data
Send data: 100 bytes
$0064
Number of bytes to send: set to 100 bytes ($0064)
Results storage area: set to DM 3010 ($0BC2)
Socket number to use: set to 1
Command code
Transmission data length: 56 words (BCD)
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: ......