beautypg.com

Echelon i.LON 100 e2 Internet Server User Manual

Page 39

background image

i.

LON 100 Internet Server Programmer’s Reference

4-9

directory /root/lonworks/types, and are named STANDARD.ENU, STANDARD.TYP,

STANDARD.FMT and STANDARD.FPT.

Many configuration properties that are used by the

i.

LON 100 applications are based on the

SCPTs defined in these files. The information provided in this document, and in the SCPT
resource files, will help you determine what values to assign to the SCPTs referenced by the

i.

LON 100.

You can browse the entire SCPT device resource files online at

http://types.lonmark.org

.

4.4.3 User Network Variable Type (UNVT) Device Resource Files

Device manufacturers create UNVT device resource files to describe non-standard,

manufacturer specific network variables. Using the same mechanisms as the standard
resource files, these files describe how to format data from a particular manufacturer's

device. On the

i.

LON 100, you can find all device resource files in the directory

/root/lonworks/types

.

To specify UNVT formats a fully qualified format name is required as follows:

#[].

In this syntax, the “

#

”, “

[

“, “

]

” and “

.

” characters are literal characters. A hex byte string (in

the “

RAW_HEX_PACKED

” format described below) represents the program ID. The selector is

a one-digit string. It represents a filter that indicates relevant parts of the program ID, and

may be one of the following:

0 - Standard

1 - Device Class
2 - Device Class and Usage

3 - Manufacturer
4 - Manufacturer and Device Class
5 - Manufacturer, Device Class, and Device Subclass

6 - Manufacturer, Device Class, Device Subclass, and Device Model

The format name syntax is similar to that used for SNVT types, except that the type name
starts with “UNVT” instead of “SNVT”. For example:

FORMAT:#800001128000000[4].UNVT_date_event

4.4.4 User Configuration Property Type (UCPT) Device Resource

Files

This is a set of files that describes the data structures within UCPTs and also describes the

formats used to display UCPT data. On the

i.

LON 100, these files may be found in the

directory

/root/lonworks/types

, and are named BAS_Controller

.ENU

,

BAS_Controller

.TYP

, BAS_Controller

.FMT

and BAS_Controller

.FPT

.

Echelon added these UCPTs for configuration properties used by

i.

LON 100 applications that

have no SCPT definition. You can browse the UCPT resource files online at

http://types.echelon.com

.