Echelon Neuron C User Manual

Page 115

Advertising
background image

Neuron C Programmer’s Guide

103

defined by the functional profile – these are called

implementation-specific

network variables and configuration properties.

For example, Figure 10 illustrates standard functional profile number 3050, the

Constant Light Controller profile. This profile defines two mandatory inputs, one

mandatory output, and one optional input. It also defines one mandatory
configuration property and eight optional configuration properties.

Figure 10. Constant Light Controller Functional Profile

Functional profiles are defined in

resource files

. You can use standard functional

profiles defined in the standard resource file set, or you can define your own

functional profiles in your own resource file sets. A functional profile defined in a

resource file is also called a

functional profile template

.

Standard functional profiles (also called standard functional profile templates, or

SFPTs) are defined by L

ON

M

ARK

International. You can view all currently

defined standard functional profiles online at

types.lonmark.org

. Additional

documentation for the standard functional profiles is available under

Technical

Resources

at

www.lonmark.org

. You can create your own user-defined functional

profiles (also called user functional profile templates, or UFPTs) using the

NodeBuilder Resource Editor. You declare functional blocks in your Neuron C

applications using fblock declarations. These declarations are described in this
chapter.
You can declare up to 254 functional blocks in a Neuron C application or model

file, resources permitting.

A functional block declaration does not cause the compiler to generate executable

code, but the compiler generates self-identification and self-documentation data

Advertising