Communications Using The Fixed Buffer; Differences Between The "Procedure Exist" And "No Procedure" Control Methods; Setting Procedure - Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual

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

Advertisement

1.5

Communications Using the Fixed Buffer

Communications using the fixed buffer uses TCP/IP and UDP/IP to send and receive arbitrary data with the external device
connected to the Ethernet with dedicated instructions in the same manner as exchanging data with socket communications.
Exchanges arbitrary data between the CPU module and external device using the fixed buffer of the RJ71EN71 and the
RnENCPU (network part).
The following table lists the differences with socket communications are given below.
Item
Connection send/receive
Precautions
The CPU module (CPU part for the RnENCPU) cannot exchange data with the fixed buffer.
Differences between the "Procedure Exist" and "No Procedure"
control methods
"Procedure Exist" and "No Procedure" control methods can be used for fixed buffer communication. The following table lists
the differences between "Procedure Exist" and "No Procedure".
Item
Message format
Response for received data
Data Code
Data length specified with dedicated instructions
Amount of application data per data exchange
*1
session
*1 The following value is used if the RJ71EN71 network type is set to "Q Compatible Ethernet".
Procedure Exist: Maximum 1017 words (binary code), maximum 508 words (ASCII code)
No Procedure: Maximum 2046 bytes

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 "Fixed Buffer (Procedure Exist)" or "Fixed Buffer (No
Procedure)".
3.
Set the "Fixed Buffer Send/Receive Setting".
4.
Set the other parameters required for communication in the connection.
1 FUNCTIONS
68
1.5 Communications Using the Fixed Buffer
Differences
Socket communications
Send/receive is possible with one connection
Differences
Procedure Exist
Data is sent and received with the predetermined
data format.
A response is sent for the received data.
Data can be exchanged with binary code or ASCII
code.
Specify with a number of words.
Maximum 5113 words (binary code)
Maximum 2556 words (ASCII code)
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.
Communications using the fixed buffer
Specify send or receive for one connection
(Two connections are required for send and
receive)
No Procedure
Data is sent and received according to the external
device's message format.
No response is sent for the received data.
Data is exchanged only with binary codes.
Specify with a number of bytes.
Maximum 10238 bytes

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents