Omron NJ Series User Manual page 362

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

9 Socket Service
Sending node (host computer)
2,000 bytes
2,000 bytes
• When Only One Receive Request Is Made for Data Sent for Multiple Send Requests
If data is sent for multiple sent requests, you cannot receive the entire data with one receive request
regardless of the size of the data.
Example 2: 1,000-Byte Receive Request Is Made for 200-Byte Data Sent for Two Send Requests
1. The data is divided to be sent in two sends from the sending node, and is stored in the receive
buffer.
2. Even if a receive request is made for 2,000 bytes, only 100 bytes of the data is received as re-
quested with the first send request.
Sending node (host computer)
100 bytes
100 bytes
9-8
User program
Ethernet line
1st send
request
Data A
Data B
2nd send
request
User program
Ethernet line
1st send
request
Data A
Data B
2nd send
request
Receiving node (Controller)
Built-in EtherNet/IP port
(1) Data received to
receive buffer.
Receive buffer
(9,000 bytes)
Data A (upper bytes)
Data A (lower bytes)
Data B
4,000 bytes
Receiving node (Controller)
Built-in EtherNet/IP port
(1) Data received to
receive buffer.
Receive buffer
(9,000 bytes)
Data A
Data B
200 bytes
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
User program
(2) 1st receive
request (request
for 1,000 bytes)
1,000 bytes
Data A (upper bytes)
The remaining
data is discarded.
Data A (lower bytes)
1,000 bytes
(3) 2nd receive
request (request
for 2,000 bytes)
Data B
2,000 bytes
User program
(2) 1st receive request
(request for 1,000
bytes)
Data A
100 bytes
You can receive the rest
of the data with another
receive request.
Data B

Advertisement

Table of Contents
loading

Table of Contents