Mitsubishi Electric MELSEC iQ-F Series User Manual page 36

Hide thumbs Also See for MELSEC iQ-F Series:
Table of Contents

Advertisement

Attachment
For attachments, the data format can be selected as either ASCII code (ASCII format or CSV format) or binary code (binary
format).
The following figure shows what is sent for each data format (binary, ASCII, or CSV) when the Ethernet module sends the
values of D0 to D100, from the start address D0, as an attachment.
D0
1234H
D1
5678H
·
D100
9ABCH
■Structure of data in CSV format
Data in CSV format can be used for data management on a cell basis by Excel.
The following shows data in CSV format handled by the Ethernet module.
• Each word of binary data (16 bits) is converted into a 4-digit ASCII code expressed in hexadecimal (4 bytes of ASCII code).
• When handling multiple words of data, a comma is inserted after every 1 word (4 bytes of ASCII data).
• Besides the above data conversion and insertion, CR (Code: 0DH) and LF (Code: 0AH) are inserted after every 8 words of
data.
The target data are sent in the following order.
D0
,
D8
,
D16
,
D24
,
4 FUNCTION LIST
34
4.3 Other Functions
Ethernet module
When an attachment is
a binary format file
When an attachment is
an ASCII format file
Conversion to
ASCII format
from binary format
When an attachment is
a CSV format file
Conversion to
CSV format
from binary format
D1
D2
,
D9
D10
,
D17
D18
,
D25
D26
,
Eight devices
(in a unit of eight words)
D100
9AH BCH
56H 78H 12H 34H
D100
"C"
"B"
"A"
"9"
D100
"C"
"B"
"A"
"9"
,
D7
,
D15
,
D23
,
[CR+LF]
D1
D0
D1
"8"
"7"
"6"
"5"
"4"
D1
,
"8"
"7"
"6"
"5"
,
"4"
[CR+LF]
[CR+LF]
[CR+LF]
External device
D0
"3"
"2"
"1"
D0
"3"
"2"
"1"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec iq-f fx5-enetFx5-u-enet-e09r736

Table of Contents