228
12 FILE CONTROL
12.5 File Creation and Deletion
Communication example (files for MELSEC-L series)
Copy the file under the following conditions:
• Password copy source/destination AbCd1234... (24 spaces, code: 20H)
• Drive No. of copy source, drive No. of copy destination: 0
• Copy source file name: MAIN.QPG
• Copy source file name: DEST.QPG
■Data communication in ASCII code
(Request data)
■Data communication in binary code
(Request data)
18240004
31
H
38
H
32
H
34
H
30
H
30
H
30
H
34
H
30
H
30
H
30
H
30
H
00000008DES . QPG
41
H
62
H
43
H
64
H
31
H
32
H
33
H
34
H
20
H
20
H
41
H
62
H
43
H
64
H
31
H
32
H
33
H
34
H
20
H
20
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
38
H
44
H
45
H
53
H
2E
H
51
H
50
H
47
H
00000008MAI .QPG
30
H
30
H
30
H
30
H
30
H
30
H
30
H
38
H
4D
H
41
H
49
H
T
54
H
N
4E
H
2E
H
51
H
50
H
47
H
A
b
Cd
1234
A
b
Cd
1234
00 00
Subcommand Fixed values (16 characters)
Password (fixed to 32 characters) Drive No.
Number of file
name characters
File name
Copy destination
Password (fixed to 32 characters) Drive No.
Number of file
name characters
File name
Copy source
24H 18H 04H 00H 00H 00H 00H 00H 00H 00H 00H 00H
41H 62H 43H 64H 31H 32H 33H 34H 20H 20H
41H 62H 43H 64H 31H 32H 33H 34H 20H 20H
00H 00H 08H 00H 44H 45H 53H 2EH 51H 50H 47H
00H 00H 08H 00H 4DH 41H 49H
54H
4EH 2EH 51H 50H 47H
DES .QP
G
MA I . QP G
T
N
A
b
Cd
1234
A
b
Cd
1234
Subcommand
Fixed values (8 bytes)
Number of file name characters
Password (fixed to 32 characters) File name
Copy
destination
Drive No.
Number of file name characters
Copy
source
Password (fixed to 32 characters) File nameDrive No.
Copy source
Copy destination