Omron CS1W-ETN11 Network Card User Manual


 
149
Using Socket Services with CMND(490) Section 6-3
2713H 0001H 820BH
C200H
0123456789
D02000
2714H
0123456789
D01040
D01050
0064H
TCP CLOSE REQUEST response
Re-
sponse
code
TCP CLOSE REQUEST results storage area
TCP SEND REQUEST command data
Send data: 100 bytes (0064
hex
)
Command code
TCP socket number
Results storage area: set to D03010 (0BC2
hex
)
No. of send bytes: 100 bytes (0064
hex
)
Re-
sponse
code
2712H 0001H 820FH
B400H
0123456789
D04000
2713H
0123456789
D03000
D03010
0064H 0000H
TCP SEND REQUEST response
Re-
sponse
code
TCP SEND REQUEST results storage area
TCP RECEIVE REQUEST command data
No. of bytes to receive: 100 bytes (0064
hex
)
Timeout value: Not set
Command code
TCP socket number
Results storage area: Set to D04020 (0FB4
hex
)
Re-
sponse
code
No. of
bytes
sent
2712H
0123456789
D04010
D04020
TCP RECEIVE REQUEST response
Re-
sponse
code
TCP RECEIVE REQUEST results storage area
No. of
bytes
received
Receive data: 100 bytes (0064
hex
)
Re-
sponse
code