Applications, Program ids – Echelon Mini FX User Manual

Page 30

Advertising
background image

Mini FX User's Guide

17

Applications

Every L

ON

W

ORKS

device contains an application that defines the device’s behavior. The

application defines the inputs and outputs of the device. The inputs to a device can

include information sent on L

ON

W

ORKS

channels from other devices, as well as

information from the device hardware (for example, the temperature from a temperature
sensing device). The outputs from a device can include information sent on L

ON

W

ORKS

channels to other devices, as well as commands sent to the device hardware (for example,

a fan, light, heater, or actuator). You can use the Mini kit to write a device’s Neuron C
application.

Program IDs

Every L

ON

W

ORKS

application has a unique, 16 digit, hexadecimal standard program ID

with the format FM:MM:MM:CC:CC:UU:TT:NN. Table 1.3 provides a break down of

the fields within the program ID.

Table 1.3 Program ID Fields

Field Description

Format (F)

A 1 hex-digit value defining the structure of the program ID.

The upper bit of the format defines the program ID as a
standard program ID (SPID) or a text program ID. The upper

bit is set for standard program IDs, so formats 8–15 (0x8–0xF)

are reserved for standard program IDs.

• Program ID format 8 is reserved for L

ON

M

ARK

certified

devices.

• Program ID format 9 is used for devices that will not be

L

ON

M

ARK

certified, or for devices that will be certified

but are still in development or have not yet completed
the certification process.

• Program ID formats 10–15 (0xA–0xF) are reserved for

future use. Text program ID formats are used by

network interfaces and legacy devices and, with the

exception of network interfaces, should not be used for
new devices.

The Mini kit can be used to create applications with program ID

format 8 or 9.

Manufacturer ID

(M)

A 5 hex-digit ID that is unique to each L

ON

W

ORKS

device

manufacturer. The upper bit identifies the manufacturer ID as

a standard manufacturer ID (upper bit clear) or a temporary
manufacturer ID
(upper bit set).

• Standard manufacturer IDs are assigned to

manufacturers when they join L

ON

M

ARK

International,

and are also published by L

ON

M

ARK

International so

that the device manufacturer of a L

ON

M

ARK

certified

device is easily identified. Standard manufacturer IDs

are never reused or reassigned. If your company is a
L

ON

M

ARK

member, but you do not know your

Advertising