300
15 QnACPU DEDICATED COMMANDS
15.3 File Control
Last edit time and last edit date
A data that indicates the date and time when the current file content was registered.
■Data communication in ASCII code
Convert the numerical value to a 4-digit (hexadecimal) ASCII code and send it from upper digits (time, year). When dummy is
specified, send '0000H'.
■Data communication in binary code
Send 2-byte numerical value from lower bytes (L: bits 0 to 7). When dummy is specified, send '0000H'.
■Date (year, month, day)
Specify year, month , and day with 16-bit value.
• Year: The binary value is represented with bits 9 to 15 by setting the year 1980 to '0'.
*1
• Month: Specify the binary value in bit 5 to 8.
• Day: Specify the binary value in bit 0 to 4.
*1 This indicates incremental number of year by regarding 1980 as '0'.
April 1st, 2010
■Time (hour, minute, second)
Represent hour, minute, and second with 16-bit value.
• Hour: Represent binary value with bit 11 to 15.
• Minute: Represent binary value with bit 5 to 10.
• Second: Represent binary value 2 with bit 0 to 4.
When 20:50:58
ASCII code Binary code
ASCII code Binary code
0011110010000001
b9 b8 b4 b0
b5
b15
1E
H
(30) 4
H
(4) 1
H
(1)
3
H
C
H
8
H
1
H
(Year) (Month) (Day)
Numerical values in
relevant range
30+1980 = 2010
Numerical values for
4 bits
A
H
6
H
5
H
D
H
1
0
1
00
11
00
1
0
111
0
1
b4 b0
b10
b5
b15 b11
14
H
(20) 32
H
(50) 1D
H
(29)
58÷2=29
(Hours) (Minutes) (Second)
Numerical values in
relevant range
Numerical values for
4 bits