Mitsubishi Electric MELSEC IQ-R series Reference Manual page 233

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

Advertisement

■Drive No.
Specify the access target drive. (Page 198 Drive No.)
■Attribute
Specify the file attribute. (Page 205 Attribute)
• Read only: 01H
• Readable, writable: 20H
Do not specify the value other than above since the values are reserved for system use.
■Number of file name characters, file name
Specify the file name to modify attribute. (Page 202 File name specification)
Communication example (files for MELSEC-Q series)
Change the file attribute in the following conditions.
• Password: 1234
• Drive No.: 0
• File name: ABC.QPG
• Attribute: Read only: 01H
■Data communication in ASCII code
(Request data)
Subcommand
1
8
2
5
0
0
0
31
38
32
35
30
30
30
H
H
H
H
H
H
H
■Data communication in binary code
(Request data)
Subcommand
Password
1
2
3
25
18
00
00
31
32
33
H
H
H
H
H
H
H
Communication example (files for MELSEC-L series)
Change the file attribute in the following conditions.
• Password: AbCd1234...(24 spaces, code: 20H)
• Drive No.: 0
• File name: MAIN.QPG
• Attribute: Read only: 01H
■Data communication in ASCII code
(Request data)
Subcommand
1
8
2
5
0
0
0
31
38
32
35
30
30
30
H
H
H
H
H
H
H
Number of file
name characters
0
0
0
8
M
A
30
30
30
38
4D
41
H
H
H
H
H
H
■Data communication in binary code
(Request data)
Subcommand
Password (fixed to 32 characters)
A
b
C
25
18
04
00
41
62
43
H
H
H
H
H
H
H
Password
Drive No.
0
1
2
3
4
0
0
0
30
31
32
33
34
30
30
30
H
H
H
H
H
H
H
Drive No. Attribute
Number of file name characters
A
4
34
00
00
01
00
07
00
41
H
H
H
H
H
H
H
Password (fixed to 32 characters)
4
A
b
C
d
1
2
3
34
41
62
43
64
31
32
33
H
H
H
H
H
H
H
File name
I
N
.
Q
P
G
49
4E
2E
51
50
47
H
H
H
H
H
H
d
1
2
3
4
64
31
32
33
34
20
20
H
H
H
H
H
H
Attribute
Number of file name characters
0
0
0
0
1
0
0
30
30
30
30
31
30
30
H
H
H
H
H
H
H
H
File name
B
C
.
Q
P
G
42
43
2E
51
50
47
H
H
H
H
H
H
H
Drive No.
4
0
0
0
34
20
20
30
30
30
H
H
H
H
H
H
H
Drive No.
Attribute
Number of file name characters
M
00
00
01
00
08
00
4D
H
H
H
H
H
H
H
H
File name
0
7
A
B
C
.
Q
30
37
41
42
43
2E
51
50
H
H
H
H
H
H
H
Attribute
0
0
0
0
1
30
30
30
30
31
H
H
H
H
H
File name
A
I
N
.
Q
P
G
41
49
4E
2E
51
50
47
H
H
H
H
H
H
H
12 FILE CONTROL
12.6 File Modification
12
P
G
47
H
H
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents