Precautions For The Socket Communication Function - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
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
(FTP server).
Do not specify 007B
Do not specify F000
function.
Do not specify B0B5
Solution 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.
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 communications function when using the file transfer 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
and F000
to FFFE
for the socket communication function when using the iQ Sensor
H
H
H
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
Page 221, Appendix 2)
to 1387
and
H
H
7
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents