Physical Address And Logical Address Of Random Access Buffer; Precautions; Data Format - Mitsubishi Electric MELSEC iQ-RJ71EN71 User Manual

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

Advertisement

Physical address and logical address of random access buffer

This section describes the start address of the random access buffer of the RJ71EN71 or the RnENCPU (network part)
specified in the command.
The address specified for the random access buffer differs from the address specified by the external device and the address
specified with the FROM/TO instruction.
• Physical address: Address specified with program's FROM/TO instruction
• Logical address: Address specified by external device in start address item of command
Physical address
Buffer memory areas
20000
Random access
buffer
26143

Precautions

The following section lists the precautions for communications using the random access buffer.
Precautions for programming
■Initial processing and open processing completion
The initial processing and connection open processing must be completed.
■Send request from CPU module
Send cannot be requested from the CPU module. Completion of sending to CPU module is not checked. If the data send/
receive must be synchronized between the CPU module and external device, use fixed buffer communication.
■Random access buffer address
The address specified by the external device is different from the address specified with the FROM/TO instruction. For details,
refer to the following.
( Page 97 Physical address and logical address of random access buffer)

Data Format

The communication data is configured of the header and application data.
Header
The header is for TCP/IP or UDP/IP. The RJ71EN71 or the RnENCPU (network part) automatically adds and deletes the
header, the setting is not required.
■Details of header section size
The details of the header section data format and size are shown below.
• TCP/IP
Ethernet (14 bytes)
IP (20 bytes)
• UDP/IP
Ethernet (14 bytes)
IP (20 bytes)
Logical address
0
6143
TCP (20 bytes)
UDP (8 bytes)
1.6 Communications Using the Random Access Buffer
1
1 FUNCTIONS
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents