12 FILE CONTROL
12.5 File Creation and Deletion
227
12
■Password
Specify the password of the access target file. (Page 195 Password)
■Drive No.
Specify the access target drive. (Page 198 Drive No.)
Program memory (drive No.0) of RCPU cannot be specified.
■Number of file name characters, file name
Specify the file name to be copied. (Page 202 File name specification)
Communication example (files for MELSEC-Q series)
Copy the file under the following conditions:
• Copy source/destination password: 1234
• Drive No. of copy source, drive No. of copy destination: 0
• Copy source file name: ABC.QPG
• Copy source file name: CBA.QPG
■Data communication in ASCII code
(Request data)
■Data communication in binary code
(Request data)
18240000
31
H
38
H
32
H
34
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
123400000007CBA.QPG
31
H
32
H
33
H
34
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
37
H
43
H
42
H
41
H
2E
H
51
H
50
H
47
H
123400000007ABC.QPG
31
H
32
H
33
H
34
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
37
H
41
H
42
H
43
H
2E
H
51
H
50
H
47
H
00 00
…
Subcommand Fixed values (16 characters)
Password Drive No. Number of file name characters File name
Copy destination
Password Drive No. Number of file name characters File name
Copy source
24
H
18
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
00
H
31
H
32
H
33
H
34
H
00
H
00
H
07
H
00
H
43
H
42
H
41
H
2E
H
51
H
50
H
47
H
31
H
32
H
33
H
34
H
00
H
00
H
07
H
00
H
41
H
42
H
43
H
2E
H
51
H
50
H
47
H
123 4 CB A .QPG
12 3 4 A B C. Q P G
Number of file name characters
Fixed values (8 bytes)
Password File nameDrive No.
Copy destination
Number of file name characters
Password Drive No. File name
Copy source
Subcommand