Number of files
Specify the number of files to be accessed. The number of registered files or the number of accessed files are returned.
Setting method
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send 2-byte numerical values
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Ex.
Number of file is 3
ASCII code
0
0
0
3
30
30
30
33
H
H
H
H
Number of characters
This indicates the number of characters of variable length character string to be specified.
Setting method
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send 2-byte numerical values
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Ex.
Number of characters is 86 characters (56H)
ASCII code
0
0
5
6
30
30
35
36
H
H
H
H
Directory specification
Specify the absolute path to a file to be accessed.
Specify 'Path name' with variable length. The length of data is specified in 'Number of characters'. (Page 200 Number of
characters)
ASCII code
Number of characters
(4 digits)
(Variable length)
Specify '0' for the root directory (root folder)
ASCII code
0
0
0
0
30
30
30
30
H
H
H
H
12 FILE CONTROL
200
12.3 Data to be specified in commands
*1
from the lower byte (L: bits 0 to 7).
Binary code
03
H
*1
from the lower byte (L: bits 0 to 7).
Binary code
56
H
Binary code
Path name
Number of characters
(2 bytes)
Binary code
00
H
00
H
00
H
Path name
(Variable length)
00
H