Omron CS1W-ETN21 Network Card User Manual


 
152
Using Socket Services with CMND(490) Section 6-8
CIO Area
2702H 0001H 820FH
B400H
0123456789
D04000
2703H
0123456789
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
0123456789
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
)
76543210
CIO 0000
CIO 0001
15 to 8
CIO 0002
UDP
Send
Bit
UDP
Close
Bit
UDP
Open
Bit
UDP
Receive
Error
Flag
UDP
Send
Error
Flag
UDP
Close
Error
Flag
UDP
Open
Error
Flag
UDP
Receiving
Flag
UDP
Sending
Flag
UDP
Closing
Flag
UDP
Opening
Flag
UDP
Receive
Bit