Sharp JW-21MN Reading date, Setting date, 10-7, Write mode assignment 1 or Communication format

Models: JW-21MN

1 114
Download 114 pages 59.56 Kb
Page 46
Image 46

[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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

"C"

"L"

 

"A"

 

CMD

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

ACK

"C

 

"L"

 

"A"

CMD

SUB

ATTR

Y

D

DW

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Day of week (Sunday: 00(H), Monday: 01(H), Tuesday: 02(H),

 

 

DW

00 to 06(H)

Wednesday: 03(H), Thursday: 04(H), Friday: 05(H), Saturday:

 

 

 

 

 

 

 

06(H))

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] Reading out April 25, 1996 (Thursday). (The data in cells are in hexadecimal notation)

Command

2B

43

4C

41

45

A2

00

 

 

 

 

 

 

 

"+"

"C"

"L"

"A"

CMD

SUB

ATTR

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

00

43

4C

41

45

A2

00

96

04

25

03

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

CMD

SUB

 

1996

April

25

Thursday

[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

 

 

"+"

 

"C"

 

 

"L"

 

"A"

 

CMD

 

SUB

ATTR

 

Y

 

 

M

 

D

DW

 

 

 

 

 

 

 

 

 

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

ACK

 

"C"

 

"L"

 

"A"

 

CMD

 

SUB

ATTR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Symbol

 

 

 

 

Data

 

 

 

 

 

 

 

 

Details

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CMD

 

 

 

 

45(H)

Function code

 

 

 

 

 

 

 

 

 

 

 

(Symbols other than the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

left: See page 10-3.)

 

SUB

 

 

 

 

B2(H)

Sub code

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Y, M, D, DW

 

Same as the "Reading out date" above.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[Ex.] Set May 1st (Wednesday), 1996 (Data in frame: Hexadecimal)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

 

2B

 

43

 

 

4C

 

41

 

 

45

B2

00

 

96

 

05

 

01

 

02

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

"+"

 

 

"C"

 

 

"L"

 

"A"

 

CMD

SUB

ATTR 1996

May

1

 

Wednesday

Response

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2B

 

00

 

 

43

 

4C

 

 

41

45

 

B2

 

00

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

ACK

 

 

 

 

 

 

 

 

 

CMD

SUB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

10

10-7

Page 46
Image 46
Sharp JW-21MN manual Reading date, Setting date, 10-7, Write mode assignment 1 or Communication format