2 - 27 2 - 27
MELSEC-Q
2 USING THE E-MAIL FUNCTION
(2) Data configuration in CSV format
Data in CSV format can be used as control data for the cell units in Excel, etc.
Data in CSV format handled by the Ethernet module is the data expressed as
follows.
• 1 word (16 bits) binary data is converted to four digit ASCII code when
expressed as a hexadecimal. (4 bytes of ASCII code)
• When handling multiple word data, insert comma data between each word
(4 bytes of ASCII code).
Data designated by the MSEND instruction or data subject to the news function
is sent in the following arrangement.
(a) Arrangement of data sent by the MSEND instruction
1) In addition to the data conversion and insertion described above, CR
(code: 0D
H
) and LF (code: 0A
H
) are inserted for each 8 words of data.
2) The arrangement of data sent in CSV format is shown below.
,
D8
,
D9
D10
D15
D16
,
D17
D18
D23
D24
,
D25
D26
8 device
(8-word unit)
D0
D1
D2
D7
[CR + LF]
[CR + LF]
,
,
,
,
,
,
,
[CR + LF]
[CR + LF]
(b) Arrangement of data sent using the news function
1) In addition to the data conversion and insertion of comma data
described above, CR (code: 0D
H
) and LF (code: 0A
H
) are inserted for
each setting device range.
2) A maximum of 16 types of device ranges can be set for news data.
See Section 2.9 for details.
3) The arrangement of data sent in CSV format is shown below.
X10 to X1F
,
X20 to X2F
,
X30 to X3F
,
[CR+LF]
X70 to X7F
B10 to B1F
,
B20 to B2F
,
B30 to B3F
,
B60 to B6F
[CR+LF]
Data section can have a maximum of 1920 bytes (total points for the device).
D0
,
D1
,
D2
,
[CR+LF]
D50
W0
,
W1
,
W2
,
[CR+LF]
W5
First device
Second device
Third device
n-1 device
n device
M0 to M15
,
M16 to M31
[CR+LF]
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......