Mitsubishi Electric MELSEC iQ-R C R12CCPU-V User Manual page 112

Controller module
Hide thumbs Also See for MELSEC iQ-R C R12CCPU-V:
Table of Contents

Advertisement

Receive processing of response message
Response message/receive processing
Receive the remaining response
messages.
The received data size is
insufficient.
For Ethernet communication, the TCP socket function (socket function) is used.
When data has been sent from the sending side by calling the SEND function once, the receiving side is
required to call one or more RECV function. (The ratio of the SEND function and the RECV function is not 1 to
1.) Therefore, the receive processing above is necessary for the program processing for the target device.
6 Ethernet COMMUNICATION FUNCTIONS
110
6.2 Communication with SLMP
Communication processing at a target
device side
Request message/send processing
Is the TCP
connection open?
Have the data been
received within the period of the
monitoring timer value?
Received data size check
Processing for response message
Have all the received
messages been processed?
End
The TCP connection is closed.
The monitoring timer value times out.
The response message to the
next request has been received.
Error processing

Advertisement

Table of Contents
loading

Table of Contents