Mitsubishi Electric MELSEC IQ-R series Reference Manual page 216

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

Advertisement

Communication example (files for MELSEC-Q/L series)
Read directory/file information under the following conditions.
• Drive No.: 0
• Head file No.: 1
• Number of requested files: 3
■Data communication in ASCII code
(Request data)
Subcommand
1
8
1
0
0
31
38
31
30
30
H
H
H
H
H
(Response data)
Number of file information
0
0
0
3
30
30
30
33
H
H
H
H
File name
A
B
C
D
E
41
42
43
44
45
H
H
H
H
H
Last edit time
A
6
5
41
36
35
H
H
H
"20 h 58 m 58 s"
■Data communication in binary code
(Request data)
Subcommand
(Fixed value)
10
18
00
00
30
H
H
H
H
H
(Response data)
Number of file information
Directory/
file information 1
03
00
H
H
File name
A
B
C
D
E
41
42
43
44
45
H
H
H
H
H
12 FILE CONTROL
214
12.4 File Check
(Fixed value)
0
0
0
0
0
0
0
30
30
30
30
30
30
30
H
H
H
H
H
H
H
Directory/
file information 1
Extension
F
G
H
Q
P
G
0
46
47
48
51
50
47
30
H
H
H
H
H
H
H
Last edit date
Spare data
D
3
C
8
1
44
33
43
38
31
H
H
H
H
H
"April 1, 2010"
Last edit date and time
Head
Drive
file
No.
No.
file requests
30
30
30
00
00
01
00
H
H
H
H
H
H
H
Directory/
file information 2
Extension
Attribute
F
G
H
Q
P
G
46
47
48
51
50
47
01
H
H
H
H
H
H
H
File
Head file
Drive No.
No.
0
0
0
0
0
0
0
30
30
30
30
30
30
30
H
H
H
H
H
H
H
Directory/
Directory/
file information 2
file information 3
Attribute
Spare data
0
0
1
30
30
31
H
H
H
(18 bytes)
File size
0
0
0
0
30
30
30
30
30
H
H
H
H
1k byte
Number of
Directory specification
(Fixed values)
03
00
00
00
H
H
H
H
Directory/
file information 3
Last edit
Spare data
time
00
5D
A6
(9 bytes)
H
H
"20 h 58 m 58 s" "April 1, 2010"
Last edit date and time
Directory specification
Number of
(Fixed values)
file requests
1
0
0
0
3
0
0
31
30
30
30
33
30
30
H
H
H
H
H
H
0
4
0
0
34
30
30
H
H
H
H
Last edit
date
Spare data
File size
81
3C
00
04
00
H
H
H
H
H
1k byte
0
0
30
30
H
H
H
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents