13 - 13
13 AUXILIARY FUNCTION
(e) Response message receive processing
Figure below shows an example of the response message receive
processing on the external device side.
Communication processing
on the external device side
Request message send processing
Response message receive processing
Is TCP connection open?
Has the data
been received within the
monitoring timer?
Check the receive data size.
Processing for response messages
Has processing
for all received messages
completed?
Error processing
END
TCP connection is closed.
The monitoring timer has run over.
The response message
for the following request
has been received.
Receive the rest of
response messages.
The receive data exceeds
the size limit.
REMARK
Personal computers use the TCP socket functions internally for Ethernet
communication.
These functions do not have boundary concept. Therefore, when data is sent by
executing the "send" function once, the "recv" function needs to be executed once or
more to receive the same data.
(One execution of the "send" function does not correspond to one execution of the
"recv" function.)
For this reason, receive processing described above is required on the external
device side.
If the "recv" function is used in blocking mode, data may be read by executing the
function once.
Summary of Contents for MR-MQ100
Page 1: ......
Page 19: ...A 18 MEMO ...
Page 73: ...3 12 3 DESIGN MEMO ...
Page 97: ...5 8 5 TRIAL OPERATION AND ADJUSTMENT MEMO ...
Page 159: ...7 36 7 POSITIONING DEDICATED SIGNALS MEMO ...
Page 167: ...8 8 8 PARAMETERS FOR POSITIONING CONTROL MEMO ...
Page 189: ...9 22 9 SERVO PROGRAMS FOR POSITIONING CONTROL MEMO ...
Page 205: ...10 16 10 MOTION SFC PROGRAMS MEMO ...
Page 245: ...14 4 14 ERROR CODE MEMO ...
Page 253: ...15 8 15 EMC DIRECTIVES MEMO ...
Page 267: ...App 14 APPENDICES MEMO ...
Page 270: ......
Page 271: ......