7 - 8
MELSEC-F
FIXED BUFFER COMMUNICATION (WITH THE NO PROCEDURE
CONTROL METHOD)
7
7 - 8
7.4 Data Format
When communicating between the Ethernet module and an external device, the data
format explained below is used.
The communication data consists of a "header" and "application data" as shown
below.
(1) Header
The header for TCP/IP or UDP/IP is used. In case of the Ethernet module, the
Ethernet module adds and deletes the header. Thus, the user does not need to
set it.
(Details of the size of the header section)
1) In case of TCP/IP
2) In case of UDP/IP
(2) Application Data
The data code in the application data is expressed in binary code.
Communication is performed using binary code, regardless of the set
communication data (see Section 4.6).
NOTE
The subheader and data length that are added for communications using the fixed
buffers in the procedure exist control method are not present for communications in
the no procedure control method. All data is treated as valid text.
Header
Application data
Ethernet
14 bytes
IP
20 bytes
TCP
20 bytes
Ethernet
14 bytes
IP
20 bytes
UDP
8 bytes
Text (command)
Maximum of 2046 bytes