beautypg.com

Alarmformat – Echelon OpenLNS User Manual

Page 459

background image

OpenLNS Programmer's Reference

422

Index

IsDynamic

LonMarkAlarm

Mode

Name

NetworkVariables

Parent

ParentInterface

PrincipalNv

ProgrammaticName

ReportMask

Request

SelfTestResults

Status

TypeIndex

TypeSpec

AlarmFormat

Summary

Determines the format of the

LonMarkAlarm

object

contained by this

LonMarkObject

.

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

LonMarkObject.

Availability

Local, full, and lightweight clients.

Syntax

formatValue = lmObject.

AlarmFormat

Element

Description

formatValue

A Long value identifying the format the

LonMarkAlarm

object will have.

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.