Mitsubishi Electric MELSEC IQ-R series Reference Manual page 224

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

Communication example (files for MELSEC iQ-R series)
Create a new file in the following conditions:
• Drive No.: 4
• File size: 7168 byte
• File name: LINE.CSV (8 characters)
The value of the file name is as follows:
(1) LINE.CSV (8 characters)
Item
Value of code corresponds to character
File name
L
UTF-16
004C
ASCII code
30303443
Binary code
4C00
■Data communication in ASCII code
(Request data)
Subcommand
1
8
2
0
0
31
38
32
30
30
H
H
H
H
H
In the figure (1), set the value of "ASCII code" in the table of "Value of code corresponds to character" in "File name".
■Data communication in binary code
(Request data)
Subcommand
20
18
40
00
00
H
H
H
H
H
In the figure (1), set the value of "Binary code" in the table of "Value of code corresponds to character" in "File name".
12 FILE CONTROL
222
12.5 File Creation and Deletion
I
N
E
0049
004E
0045
30303439
30303445
30303435
4900
4E00
4500
(Fixed value)
0
4
0
0
0
0
0
30
34
30
30
30
30
30
H
H
H
H
H
H
H
Drive
No.
File size
00
00
00
04
00
00
1C
H
H
H
H
H
H
H
.
C
002E
0043
30303245
30303433
2E00
4300
Drive No.
0
0
0
4
0
0
0
30
30
30
34
30
30
30
H
H
H
H
H
H
H
Number of file name
characters
File name
00
00
08
00
H
H
H
H
S
V
0053
0056
30303533
30303536
5300
5600
Number of file name
File size
characters
0
1
C
0
0
0
0
30
31
43
30
30
30
30
H
H
H
H
H
H
H
(1)
File name
0
8
(1)
30
38
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents