System information

Table Of Contents
i.LON SmartServer 2.0 Programmer’s Reference
7-13
Variable Substitution Description
{alarm_hour_12} Alarm Time Hour (12 hour). The time the alarm was
triggered on a 12-hour clock. For example, this would return
10 for an alarm that occurred at 10:00 AM or 10:00 PM.
{alarm_hour} Alarm Time Hour (24 hour). The time the alarm was
triggered on a 24-hour clock. For example, this would return
16 for an alarm that occurred at 4 PM.
{alarm_time_am_pm} Alarm time AM/PM. Returns “AM” for alarms that
occurred in the morning, or “PM for alarms that occurred in
the afternoon.
{alarm_time} Alarm Time. The time that the alarm occurred, expressed in
the following format: HH:MM:SS. For example, 08:12:22
indicates an alarm time of 8 AM, 12 minutes and 22 seconds.
{alarm_minute} Alarm Time Minutes. The minute when the alarm was
triggered.
{alarm_second} Alarm Time Seconds. The second when the alarm was
triggered.
{alarm_millisecond} Alarm Time Milliseconds. The millisecond when the alarm
was triggered.
{dp_value} Alarm Value. The <UCPTvalue> of the data point that
triggered the alarm expressed with the
LonFormat="#<programID> [scope].<data type>" attribute.
This information is typically received on the SNVT_alarm
input.
{dp_preset}
Data Point Preset. The <UCPTvalue> property of the data
point expressed with the LonFormat="UCPTvalueDef"
attribute. This is the value defined for the data point by a
preset.
{alarm_description} Alarm Description. The description of the alarm that
triggered the alarm, as specified in <UCPTdescription>.
{dp_name} Input Point Name. The name of the data point defined in
<UCPTname>.
{dp_description} Input Point Description. The description of the data point
that generated the alarm as specified in <UCPTdescription>.
{dp_unit} Alarm Value Unit. The units of the data point that generated
the alarm as defined in <UCPTunit>.
If the data point is a SNVT_alarm or SNVT_alarm_2 type
(you are using the Alarm Notifier in conjunction with the
Alarm Generator), SI units will be returned by this variable,
regardless of the data point's format.