13.11.2014 Views

Telemetry Module MT-021 User Manual

Telemetry Module MT-021 User Manual

Telemetry Module MT-021 User Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Predefined symbolic names<br />

Name<br />

TIME<br />

DATE<br />

RTC<br />

NAME<br />

SERIAL<br />

IPADDR<br />

Description<br />

Returns local time read from RTC registers – the same as #LT.IR0<br />

command<br />

Returns local date read from RTC registers – the same as #LD.IR0<br />

command<br />

Returns UTC time and date read from RTC registers – the same as<br />

#T1.IR0 command<br />

Returns module name<br />

Returns module serial number<br />

Returns module current IP address<br />

Date and time formats<br />

<strong>User</strong> is allowed to specify date and time formats which will be used in SMS messages<br />

when timestamp processing commands are used. <strong>Module</strong>’s configuration contains four<br />

format strings:<br />

Date format is used by date processing commands (prefixes LD, UD)<br />

Time format is used by time processing commands (prefixes LT, UT)<br />

General format 1 and 2 are used by timestamp processing commands (prefixes T1<br />

and T2, respectively)<br />

Format strings can contain specific character combinations, related to date/time<br />

information, which will then be replaced with corresponding values during parsing.<br />

Apart from this, format strings can contain additional characters – they will be copied to<br />

resulting timestamp string unchanged.<br />

Available specifiers are:<br />

Specifier<br />

Replaced with<br />

YYYY year, four digits (e.g. 2010)<br />

YY year, two digits (e.g. 10)<br />

MM month, two digits (01..12)<br />

DD day in month, two digits (01..31)<br />

HH hour, two digits (00..23)<br />

MN minute, two digits (00..59)<br />

SS second, two digits (00..59)<br />

For example, if user defines “General format 1” as:<br />

DD/MM/YYYY, HH:MN:SS<br />

and when it will be applied to RTC registers by a SMS command:<br />

#T1.IR0<br />

84

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!