4 - 17
Realtime clock operation
4.2. Realtime clock
The following commands are related to setting and reading out
the built-in realtime clock.
4.2.1. Date
Set date
Hex
1Bh
1Bh
53h
44h
D
NP
3Ah
M
NP
3Ah
Y
NP
3BH
Decimal 27
27
83
68
D
NP
58
M
NP
58
Y
NP
59
ASCII
ESC
ESC
S
D
D
NP
:
M
NP
:
Y
NP
;
This command sets the date in the realtime clock. Day (D
NP
),
month (M
NP
) and year (Y
NP
) are transferred to the terminal.
Example:
1Bh 1Bh 53h 44h 31h 34h 3Ah 31h 32h 3Ah 39h 30h 3Bh
The date is set to the 14/12/90.
Read date
Hex
1Bh
1Bh
47
44h
Decimal 27
27
71
68
ASCII
ESC
ESC
G
D
The current date is transferred to the host computer. Day,
month, and year are transferred, separated by a full stop charac-
ter (“x”, Hex 2Eh), and followed by a CR character (Hex 0Dh).
Summary of Contents for KDT 633
Page 4: ...Contents 4 Table of contents...
Page 16: ...3 2 Hardware 3 1 2...
Page 22: ...3 8 Hardware...
Page 32: ...3 18 Hardware...
Page 56: ...B 2 Appendix B B 2 Character set KDT 635 KDT 633...