![Mitsubishi MELSEC L Series User Manual Download Page 58](http://html.mh-extra.com/html/mitsubishi/melsec-l-series/melsec-l-series_user-manual_1808746058.webp)
56
(7) Checking receive data length
Since no delimiter is provided for TCP communication data, on the receiving end, separate data blocks that are
sent continuously may be combined, or data sent all at once may be segmented.
The receive data length must be confirmed on the receiving side as necessary.
When data are received on the CPU side and the data length is determined, the fixed-length mode is
recommended.
When receiving data on the target device side, confirm the receive data length as shown below.
Receive processing on the other device side
End
Received message, receive processing
NO
NO
NO
NO
YES
YES
YES
YES
Is TCP connection open?
Received data within
the time specified by the monitoring
timer value?
Sufficient receive data size?
Processing for the received message
Check the received data size.
TCP connection is closed.
Receive the rest of the message.
Was the entire received
message processed?
Error handling
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......