232
12 FILE CONTROL
12.6 File Modification
Communication example (files for MELSEC iQ-R series)
Change the file attribute in the following conditions.
• Password: A to Z (26 characters)
• Drive No.: 4
• Attribute: Read only: 01H
The file name is as follows:
(1) LINE.CSV (8 characters)
■Data communication in ASCII code
(Request data)
■Data communication in binary code
(Request data)
Item Value of code corresponds to character
File name L I N E . C S V
UTF-16 004C 0049 004E 0045 002E 0043 0053 0056
ASCII code 30303443 30303439 30303445 30303435 30303245 30303433 30303533 30303536
Binary code 4C00 4900 4E00 4500 2E00 4300 5300 5600
1825
31
H
38
H
32
H
35
H
0040
30
H
30
H
34
H
30
H
ABCD
41
H
42
H
43
H
44
H
001A
30
H
30
H
31
H
41
H
Z
5A
H
0004
30
H
30
H
30
H
34
H
0001
30
H
30
H
30
H
31
H
0008
30
H
30
H
30
H
38
H
(1)
Subcommand Number of password characters Password
Number of file name
charactersDrive No. Attribute File name
(1)
25
H
18
H
40
H
00
H
04
H
00
H
01
H
00
H
08
H
00
H
CD Z
43
H
44
H
5A
H
AB
1A
H
00
H
41
H
42
H
Subcommand
Number of
password characters
Drive
No.
Number of file name
charactersPassword Attribute File name