Omron CS1W-ETN21 Network Card User Manual


 
151
Using Socket Services with CMND(490) Section 6-8
2701H
0123456789
D01010
Re-
sponse
code
Stores the response after command execution.
UDP OPEN response
0123456789
D01020
UDP OPEN REQUEST results storage area
Re-
sponse
code
2704H 0001H 8204H 1A00H
0123456789
D01030
UDP CLOSE REQUEST command data
Command code
UDP socket number closed: set to 1 (0001
hex
)
Results storage area: set to D01050 (041A
hex
)
2704H
0123456789
D01040
D01050
UDP CLOSE REQUEST response
Re-
sponse
code
Re-
sponse
code
UDP CLOSE REQUEST results storage area
2703H 0001H 820BH
C200H
0123456789
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
)