4 - 18
Command sequences
4.2.2. Time
Set time
Hex
1Bh
1Bh
53h
54h
H
NP
3Ah
M
NP
3Ah
S
NP
3BH
Decimal 27
27
83
84
H
NP
58
M
NP
58
S
NP
59
ASCII
ESC
ESC
S
T
H
NP
:
M
NP
:
S
NP
;
This command sets the time in the realtime clock. Hours
(H
NP
), minutes (M
NP
), and seconds (S
NP
) are transferred to
the terminal.
Example:
1Bh 1Bh 53h 54h 31h 33h 3Ah 30h 30h 3Ah 33h 30h 3Bh
The time is set to 12:00:30.
Read time
Hex
1Bh
1Bh
47
54h
Decimal 27
27
71
84
ASCII
ESC
ESC
G
T
The current time is transferred to the host computer. Hours,
minutes, and seconds are transferred, separated by a colon
(“:”, Hex 3AH), and followd 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...