Mitsubishi Electric MELSEC iQ-R Series User Manual page 186

Master/local module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Communication structure
With socket communications, port numbers that identify the communication are used to enable multiple communication
sessions with the external device. These are used for both TCP/IP and UDP/IP.
For send: Specify send source the CC-Link IE TSN Plus module's port number and the send destination external device's port
number.
For receive: Specify the CC-Link IE TSN Plus module's port number, and read the data sent to that port.
(1) Sending UDP data from CC-Link IE TSN Plus module's port number A to external device 1's port number L
(2) Sending UDP data from external device 1's port number L to the CC-Link IE TSN Plus module's port number A
(3) Sending data with TCP/IP connection
(4) Sending UDP data from CC-Link IE TSN Plus module's port number C to external device 3's port number N
(5) Sending UDP data from external device 3's port number N to CC-Link IE TSN Plus module's port number C
Communications using TCP/IP
TCP/IP protocol establishes a connection between the external device's port number for reliable data exchange.
Check the following items before performing socket communications using TCP/IP.
• IP addresses and port numbers on external device side
• IP addresses and port numbers of CC-Link IE TSN Plus modules
• Which side, the external device side or the CC-Link IE TSN Plus module side, will open a connection (Active open or
Passive open)
■TCP/IP connection operation
TCP/IP connection includes Active open and Passive open.
First, the side with the TCP/IP connection executes Passive open with the specified port number
The side with TCP/IP connection specifies the port number waiting in the Passive open side, and executes Active open.
This enables the TCP/IP connection, the connection is established, and data can be exchanged.
For details on Active open and Passive open, refer to the following.
Page 543 TCP/IP Communications, UDP/IP Communications
The Active open and Passive open expression may differ according to the external device.
• Active open: TCP/IP connection side, client side, connect side, and others
• Passive open: TCP/IP connection wait side, server side, listen side, and others
9 FUNCTIONS
184
9.4 Ethernet Connection
CC-Link IE TSN Plus module
(IP address: xx.xx.xx.xx)
Port
No.A
Port
No.B
Port
No.C
Ethernet
(1)
(2)
Port
No.L
(3)
(3)
Port
No.M
(4)
(5)
Port
No.N
External device 1
(IP address: yy.yy.yy.yy)
External device 2
(IP address: zz.zz.zz.zz)
External device 3
(IP address: ww.ww.ww.ww)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-r cc-link ie tsn plus

Table of Contents