Socket Communications; Setting Procedure - Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual

Ethernet
Hide thumbs Also See for MELSEC iQ-RJ71EN71:
Table of Contents

Advertisement

1.4

Socket Communications

Using dedicated instructions, arbitrary data can be exchanged with an external device connected by Ethernet over TCP/IP or
UDP/IP.
Use this for bidirectional communication one-on-one with an external device.
Ethernet-equipped module
For examples of socket communications, refer to the following.
 MELSEC iQ-R Ethernet/CC-Link IE User's Manual (Startup)
Precautions
Socket communications cannot be used when the RJ71EN71 network type is set to "Q Compatible Ethernet".

Setting procedure

Set "External Device Configuration" under "Basic Settings". ( Page 244 External Device Configuration)
1.
Select the external device to be connected in "Module List" and drag it to "List of devices" or "Device map area".
External device name
UDP Connection Module
Active Connection Module
Unpassive Connection Module
Fullpassive Connection Module
2.
Set "Communication Method" for the external device to "Socket Communication".
3.
Set the other parameters required for communication in the connection.
Ethernet
Receive or
broadcast receive
Send
Broadcast send
Broadcast send
Description
Select to communicate with the external device using UDP/IP
Select to perform the open processing to the external device from the Ethernet-equipped module (Active open)
and communicate using TCP/IP.
Select to receive the open processing from an unspecified external device (Unpassive open) and communicate
using TCP/IP.
Select to receive the open processing from the specified external device (Fullpassive open) and communicate
using TCP/IP.
External device
External device
External device
1 FUNCTIONS
1.4 Socket Communications
1
59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents