Mitsubishi Electric MELSEC IQ-R series Reference Manual page 221

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

Advertisement

Communication example (files for MELSEC iQ-R series)
Read the file No. in the following conditions.
• Drive No.: 4
• File No.: 6
The file name is as follows:
(1) LINE\LINE.CSV (13 characters)
Item
Value of code corresponds to character
File name
L
I
UTF-16
004C
0049
ASCII code
3030
3030
3443
3439
Binary code
4C00
4900
■Data communication in ASCII code
(Request data)
Subcommand
1
8
1
1
0
0
4
31
38
31
31
30
30
34
H
H
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".
(Response data)
File No.
0
0
0
0
0
0
0
30
30
30
30
30
30
39
36
H
H
H
H
H
H
H
■Data communication in binary code
(Request data)
Subcommand
(Fixed value 1)
11
18
40
00
00
00
00
H
H
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".
(Response data)
File No.
06
00
00
00
H
H
H
H
N
E
\
L
I
004E
0045
005C
004C
0049
3030
3030
3030
3030
3030
3445
3435
3543
3443
3439
4E00
4500
5C00
4C00
4900
(Fixed value 1)
Drive No.
0
0
0
0
0
0
0
0
30
30
30
30
30
30
30
30
H
H
H
H
H
H
H
6
H
Drive
Number of file name
(Fixed value 2)
No.
characters
00
04
00
00
00
0D
00
H
H
H
H
H
H
H
N
E
.
C
004E
0045
002E
0043
3030
3030
3030
3030
3445
3435
3245
3433
4E00
4500
2E00
4300
(Fixed value 2)
Number of file name characters
4
0
0
0
0
0
0
34
30
30
30
30
30
30
H
H
H
H
H
H
H
H
File name
(1)
S
V
0053
0056
3030
3030
3533
3536
5300
5600
File name
0
D
(1)
30
44
H
H
12 FILE CONTROL
12.4 File Check
12
219

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents