238
12 FILE CONTROL
12.6 File Modification
Communication example (files for MELSEC-L series)
Open the file of LCPU in the following condition.
• Password: AbCd1234... (24 spaces, code: 20H)
• Drive No.: 0
• File name: MAIN.QPG
• Open mode: Open for write
■Data communication in ASCII code
(Request data)
(Response data)
■Data communication in binary code
(Request data)
(Response data)
18270004
41
H
62
H
43
H
64
H
30
H
30
H
30
H
34
H
31
H
38
H
32
H
37
H
31
H
32
H
33
H
34
H
20
H
20
H
30
H
30
H
30
H
30
H
0000
30
H
31
H
30
H
30
H
0100
30
H
30
H
30
H
38
H
4D
H
41
H
49
H
2E
H
51
H
50
H
47
H
0008MAI
4E
H
N.QPG
AbCd 123 4
Subcommand Password (fixed to 32 characters) Open mode Drive No.
Number of file
name characters
File name
0000
30H 30H 30H 30H
File pointer No.
41
H
62
H
43
H
64
H
27
H
18
H
04
H
00
H
31
H
32
H
33
H
34
H
20
H
20
H
08
H
00
H
4D
H
41
H
49
H
51
H
50
H
47
H
4E
H
00
H
01
H
00
H
00
H
Ab
C
d
1234 MA I N . Q P G
2E
H
Drive No.
Subcommand Password (fixed to 32 characters)
Number of file
name characters
File nameOpen mode