7] reading date, 8] setting date, 7] reading date -7 – Sharp JW-21MN User Manual
Page 46: 8] setting date -7
10-7
[7] Reading date
Read the year, month, date, and day of week. However, when JW-21CU or JW-31CUH/H1 is used as
PC, they do not have clock function and the reading will be meaningless.
[Write mode assignment]: None
[Communication format]
Command
Response
[Ex.] Reading out April 25, 1996 (Thursday). (The data in cells are in hexadecimal notation)
Command
Response
[8] Setting date
Set year, month, day, and day of week. However, when JW-21CU or JW-31CUH/H1 is used as PC,
these PC do not have clock function and date cannot be set.
[Write mode assignment]: 1 or 2
[Communication format]
Command
Response
[Ex.] Set May 1st (Wednesday), 1996 (Data in frame: Hexadecimal)
Command
Response
2B
00
43
4C
41
45
B2
00
ACK
CMD
SUB
Symbol
Data
Details
CMD
45
(H)
Function code
SUB
A2
(H)
Sub code
Y
00 to 99
(H)
00 to 99 year (lower two digits of western year)
M
01 to 12
(H)
January to December
D
01 to 31
(H)
1st to 31st day of month
DW
00 to 06
(H)
Day of week (Sunday: 00
(H)
, Monday: 01
(H)
, Tuesday: 02
(H)
,
Wednesday: 03
(H)
, Thursday: 04
(H)
, Friday: 05
(H)
, Saturday:
06
(H)
)
"+"
ACK
"C
"L"
"A"
CMD
SUB ATTR
Y
D
DW
2B
00
43
4C
41
45
A2
00
96
04
25
03
ACK
CMD
SUB
1996
April
25
Thursday
Symbol
Data
Details
CMD
45
(H)
Function code
SUB
B2
(H)
Sub code
Y, M, D, DW
Same as the "Reading out date" above.
(Symbols other than the
left: See page 10-3.)
"+"
"C"
"L"
"A"
CMD SUB
ATTR
"+"
"C"
"L"
"A"
CMD SUB
ATTR
Y
M
D
DW
"+"
ACK
"C"
"L"
"A"
CMD
SUB ATTR
2B
43
4C
41
45
B2
00
96
05
01
02
"+"
"C"
"L"
"A"
CMD
SUB ATTR 1996
May
1 Wednesday
2B
43
4C
41
45
A2
00
"+"
"C"
"L"
"A"
CMD SUB ATTR