Precautions For The Socket Communication Function - Mitsubishi Electric Q03UDVCPU User Manual

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
Table of Contents

Advertisement

7.3

Precautions for the Socket Communication Function

This section provides other precautions for the socket communication function.
(1) Port number
Host station port number, 0001
NUMBERS) and F000
1392
to EFFF
H
H
Do not specify 1388
Do not specify 0014
Do not specify 007B
Do not specify F000
function.
(2) Reading out received data
Read out received data when the Receive state signal (SD1286) has turned on.
Communication via the built-in Ethernet port may be affected if a considerable amount of received data have not
been read out for a long time.
(3) Conditions for closing
In TCP communications, even if no close request is sent from the connected device, the Open completion signal
will turn off to close the connection in the following cases.
• Alive check is timed out.
• Forced close is received from the connected device.
(4) Elements for TCP connection
The following four elements control TCP connections, and only one connection can be established with a unique
setting for these elements. To use multiple TCP connections at the same time, at least one of the four elements
must be different.
• IP address of the CPU module
• Port number of the CPU module
• IP address of the target device
• Port number of the target device
(5) Reestablishment of the same connection
Allow eight seconds or more before reestablishing a connection of the same target IP address, the same host
station port number, and the same target port number after closing it.
If the reestablishment is time-critical, it is recommended to change the host station port number on the Active
open side.
(6) Precautions for file access during communication
The CPU module will perform file access processing prior to Ethernet communication processing. Because of
this, processing of the socket communication function may be delayed if a file is accessed by FTP or a
programming tool during the processing.
When accessing a file while response time monitoring is performed on the connected device with the socket
communication function, add the time required for file access to the monitoring time.
to 03FF
, are assigned for reserved port numbers (WELL KNOWN PORT
H
H
to FFFE
are for other communication functions. Therefore, using 0400
H
H
is recommended.
to 1391
because these ports are used by the system. (
H
H
and 0015
for the socket communication function when using the FTP function.
H
H
for the socket communication function when using the time setting function (SNTP).
H
to FFFE
for the socket communication function when using the data logging file transfer
H
H
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
Page 200, Appendix 2)
to 1387
and
H
H
7
103

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents