84
Predefined symbolic names
Name
Description
TIME
Returns local time read from RTC registers – the same as
#LT.IR0
command
DATE
Returns local date read from RTC registers – the same as
#LD.IR0
command
RTC
Returns UTC time and date read from RTC registers – the same as
#T1.IR0
command
NAME
Returns module name
SERIAL
Returns module serial number
IPADDR
Returns module current IP address
Date and time formats
User is allowed to specify date and time formats which will be used in SMS messages
when timestamp processing commands are used. Module’s configuration contains four
format strings:
Date format
is used by date processing commands (prefixes LD, UD)
Time format
is used by time processing commands (prefixes LT, UT)
General format
1
and
2
are used by timestamp processing commands (prefixes T1
and T2, respectively)
Format strings can contain specific character combinations, related to date/time
information, which will then be replaced with corresponding values during parsing.
Apart from this, format strings can contain additional characters – they will be copied to
resulting timestamp string unchanged.
Available specifiers are:
Specifier
Replaced with
YYYY
year, four digits (e.g. 2010)
YY
year, two digits (e.g. 10)
MM
month, two digits (01..12)
DD
day in month, two digits (01..31)
HH
hour, two digits (00..23)
MN
minute, two digits (00..59)
SS
second, two digits (00..59)
For example, if user defines “General format 1” as:
DD/MM/YYYY, HH:MN:SS
and when it will be applied to RTC registers by a SMS command:
#T1.IR0
Содержание MT-021
Страница 1: ......
Страница 9: ...6 ...
Страница 11: ...8 3 2 Power supply MT 021 may be powered by 9 30 V DC ...
Страница 18: ...15 ...
Страница 29: ...26 Pt 100 2 wire AN1 only Pt 100 3 wire AN1 only NTC AN2 only Voltage output sensor ...
Страница 70: ...67 7 7 Drawings and dimensions All dimensions in millimeters ...