Alarmformat – Echelon OpenLNS User Manual
Page 459
OpenLNS Programmer's Reference
422
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Status
•
•
AlarmFormat
Summary
A LonMarkAlarm object contains two properties that
determine the reading that caused the alarm (Value) and the
limit it exceeded (LimitValue). Both propeties are 4-byte
fields, but there is no standard format for them. This
property allows you to determine how those properties will be
formatted for the LonMarkAlarm object associated with this
Availability
Local, full, and lightweight clients.
Syntax
formatValue = lmObject.
Element
Description
formatValue
A Long value identifying the format the
The possible values for this element,
which are stored in the
ConstAlarmFormats
constant, are as
follows:
0 lcaAlarmFormatBinaryHexStr
Hexadecimal binary format. This is the
default value.
1 lcaAlarmFormatShort
1-byte integer.
2 lcaAlarmFormatShortStr
1-byte decimal string.
3 lcaAlarmFormatUshort
1-byte unsigned integer.