POSTEK PPLE COMMAND MANUAL
32
B4. Command reference
Example:
TS03, 11, 15, 13, 20, 00 //RTC date & time is set to March 11, 2015 13:20
TS12, 31, 00, 01, 30, 00 //RTC date & time is set to December 31, 2000 1:30
Note:
1. Only applicable to models with RTC function inbuilt.
2. When printing realtime with this command, the date & time being printed out is related to the last used
time printing command.
TT command: Set time format
Syntax: TTp1 [, p2, p3][+]<LF>
Parameter explanation:
p1,p2,p3=h
,
m or s: Set the format parameter of year, month and day. See the table below:
State Code
Descriptions
h
Display 2-digit hour(e.g. 11)
m
Display 2-digit minute(e.g. 30)
s
Display 2-digit second(e.g. 50)
[+]: Enable 12-hour clock, when printing, the time is printed in 12-hour clock, with “AM” or “PM” as a
postfix.
Default printing format
:
h: m: s
Example: Suppose it is March 11, 2010 22: 50: 30 by now.
TT //Use the default time format: 22: 50: 30
TTh, m, s
//Use the format: 22: 50: 30
TTh, m
//Use the format: 22: 50
TTh: m: s+
//Use the format: 10: 50: 30PM
TTh: m: s+ //Set the format to: 10: 50: 30PM
A100, 200, 0, 4, 1, 2, N, “Now is:” TT Now is: 10:50:30PM
A100, 400, 0, 4, 1, 2, N, “Time after an hour is”TT+60 Time after an hour is: 11:50:30PM
Note:
1. Only applicable to models with RTC function inbuilt.
2. When using TD command together with TT command, the date & time being printed out is related to the
last used TT command above.
Example: Suppose it is March 11, 2010 23: 55: 30 by now.
TTh: m+
TDdd-mn-y4
A100, 200, 0, 4, 1, 2, N, “After an hour”TT+60 After an hour 00:50AM //TT+60 Add 60mins to
the current time.
A100, 300, 0, 4, 1, 2, N, “Date” TD Date 2010-03-12 //The date correspond to TT+60
A100, 400, 0, 4, 1, 2, N, “Date” TD+1 Date 2010-03-13 //The date correspond to one day