6-3
Section
Using Socket Services with CMND(490)
135
2704H
0
1
2
3
4
5
6
7
8
9
D01040
D01050
UDP CLOSE REQUEST response
Re-
sponse
code
Re-
sponse
code
UDP CLOSE REQUEST results storage area
2703H 0001H 820BH C200H
0
1
2
3
4
5
6
7
8
9
D02000
C424H
UDP SEND REQUEST command data
Command code
UDP socket number
2037H 1000H 0064H
Results storage area: Set to D03010 (0BC2
hex
)
Remote address: 196.36.32.55
(C4
hex
.24
hex
.20
hex
.37
hex
)
Remote port: Port #4096 (1000
hex
)
No. of send bytes: 100 bytes (0064
hex
)
2702H 0001H 820FH B400H
0
1
2
3
4
5
6
7
8
9
D04000
2703H
0
1
2
3
4
5
6
7
8
9
D03000
D03010
0064H 0000H
UDP SEND REQUEST response
Re-
sponse
code
Re-
sponse
code
UDP SEND REQUEST results storage area
UDP RECEIVE REQUEST command data
No. of bytes to receive: 100 bytes (0064
hex
)
Timeout value: Not set
Command code
UDP socket number used
Results storage area: set to D04020 (0FB4
hex
)
No. of
send
bytes
2702H
0
1
2
3
4
5
6
7
8
9
D04010
D04020
UDP RECEIVE REQUEST response
Re-
sponse
code
Re-
sponse
code
UDP RECEIVE REQUEST results storage area
Source IP
address
Source
port
number
No. of
bytes to
receive
Receive data: 100 bytes (0064
hex
)