![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hw-pcs01-ev1/sysmac-c200hw-pcs01-ev1_operation-manual_742247172.webp)
156
$0006 $2701 $0001 $8203 $FC00 $1000
0
1
2
3
4
5
6
7
8
9
DM 1000
UDP OPEN REQUEST (PASSIVE) command data
Local port number: set to 4096 ($1000)
Results storage area: set to DM 1020 ($03FC)
UDP socket number (PC Card Unit socket number): set to 1
Command code
Transmission data length: 6 words (BCD)
$2701
0
1
2
3
4
5
6
7
8
9
DM 1010
Respo
nse
code
UDP OPEN REQUEST (PASSIVE) response
Stores the response after CMCR command execution.
0
1
2
3
4
5
6
7
8
9
DM 1020
UDP OPEN REQUEST (PASSIVE) results storage area
Respo
nse
code
$0005 $2704 $0001 $8204
0
1
2
3
4
5
6
7
8
9
DM 1030
UDP CLOSE REQUEST command data
$1A00
Results storage area: set to DM 1050 ($041A)
UDP socket number closed: set to 1
Command code
Transmission data length: 5 words (BCD)
$0059 $2703 $0001 $820B
0
1
2
3
4
5
6
7
8
9
DM 2000
$2704
0
1
2
3
4
5
6
7
8
9
DM 1040
DM 1050
$C200
UDP CLOSE REQUEST response
Respo
nse
code
Respo
nse
code
UDP CLOSE REQUEST results storage area
UDP SEND REQUEST command data
$C424 $2037
$1000 $0064
Send data:
100 bytes
Number of bytes to send:
100 bytes ($0064)
Destination port: Port #4096
($1000)
Destination address: 196.36.32.55
($C4.$24.$20.$37)
Results storage area: Set to DM 3010 ($0BC2)
Number of socket to be used: set to 1
Command code
Transmission data length: 59 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: ......