12 FILE CONTROL
12.3 Data to be specified in commands
207
12
Time (hour, minute, second)
Represent the hour, minute, second with 16-bit value.
• Hour: The binary value is represented with bits 11 to 15.
• Minute: The binary value is represented with bits 5 to 10.
• Second: The binary value divided by 2 is represented with bits 0 to 4.
When 20:50:58
File size
This indicates the file capacity in byte units.
Setting method
■Data communication in ASCII code
Convert the numerical value to 8-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send 4-byte numerical values
*1
from the lower byte (L: bits 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
The file size is 7168 bytes
ASCII code Binary code
ASCII code Binary code
AH 6H 5H DH
1
0
1
00
11
00
1
0
111
0
1
b4 b0
b10
b5
b15 b11
14H(20) 32H(50) 1DH(29)
58÷2=29
(Hours) (Minutes) (Second)
Numerical values in
relevant range
Numerical values for
4 bits
30
H
30
H
30
H
30
H
31
H
43
H
30
H
30
H
000 001C 0
00
H
1C
H
00
H
00
H