Read date (com = a2 – Sharp Z-336J User Manual

Page 113

Advertising
background image

9-36

Chapter 9: Message transfers

9

Read date (COM = A2

(H)

)

[Format]

COM

= A2

(H)

Y

= Year (express lower two digits of Western year, 00

(H)

to 99

(H)

)

M

= Month (01

(H)

to 12

(H)

)

D

= Date (01

(H)

to 31

(H)

)

DW

= Day of week (00

(H)

: Sunday, 01

(H)

: Monday, 02

(H)

: Tuesday, 03

(H)

: Wednesday, 04

(H)

: Thurs

day, 05

(H)

: Friday, 06

(H)

: Saturday)

[Function]
- Read date data.

[Execution condition]
- Write enable mode

: Mode 0, mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]
- Read date data.

A2

’99

December

17

Friday

Ë

Command

Ë

Response

A2

00

99

12

17

05

COM

Ë

Command

Ë

Response

DW

D

M

Y

RSLT

COM

Advertising
This manual is related to the following products: