Set time (com = b3 – Sharp Z-336J User Manual

Page 116

Advertising
background image

9-39

Chapter 9: Message transfers

9

Set time (COM = B3

(H)

)

[Format]

COM

=B3

(H)

H

= Hour

(00

(H)

to 23

(H)

: BCD)

M

= Minute

(00

(H)

to 59

(H)

: BCD)

S

= Second

(00

(H)

to 59

(H)

: BCD)

CTRL

= Control data

00

(H)

: Run clock

01

(H)

: Stop clock

[Function]
- Write time data

[Execution condition]
- Write enable mode

: Mode 1 and mode 2

- PC operation status

: Stopping, operating

[Example]
- Set time data to 18 o'clock, 10 minutes, and 20 seconds.

Ë

Command

Ë

Response

CTRL

S

M

H

COM

COM

ACK

18 o’clock 10 minutes 20 seconds Run clock

Ë

Command

Ë

Response

00

20

10

18

B3

00

B3

Advertising
This manual is related to the following products: