Echelon FTXL User Manual

Page 8

Advertising
background image

viii

Specifying the Authentication Key....................................................... 44

How Authentication Works................................................................... 45

Managing Memory ....................................................................................... 46

Address Table ........................................................................................ 47

Alias Table ............................................................................................. 47

Domain Table......................................................................................... 48

Network Variable Configuration Table................................................ 48

Example Model files..................................................................................... 48

Simple Network Variable Declarations ............................................... 48

Network Variables Using Standard Types .......................................... 49

Functional Blocks without Configuration Properties ......................... 50

Functional Blocks with Configuration Network Variables................. 51

Functional Blocks with Configuration Properties Implemented in a Configuration
File.......................................................................................................... 52

Using the LonTalk Interface Developer Utility .............................................. 55

Running the LonTalk Interface Developer................................................. 56

Specifying the Project File .................................................................... 56

Specifying the FTXL Transceiver Configuration................................. 57

Specifying Service Pin Held Events ..................................................... 57

Configuring the FTXL LonTalk Protocol Stack................................... 57

Configuring the Buffers ........................................................................ 58

Configuring the Application.................................................................. 58

Configuring Support for Non-Volatile Data......................................... 58

Specifying the Device Program ID ....................................................... 59

Specifying the Model File...................................................................... 60

Specifying Neuron C Compiler Preferences......................................... 60

Specifying Code Generator Preferences............................................... 61

Compiling and Generating the Files .................................................... 61

Using the LonTalk Interface Developer Files ............................................ 61

Copied Files............................................................................................ 62

LonNvTypes.h and LonCpTypes.h ....................................................... 62

FtxlDev.h................................................................................................ 63

FtxlDev.c ................................................................................................ 63

project.xif and project.xfb...................................................................... 63

Using Types .................................................................................................. 64

Bit Field Members ................................................................................. 65

Enumerations ........................................................................................ 66

Floating Point Variables ....................................................................... 66

Network Variable and Configuration Property Declarations ................... 68

Constant Configuration Properties............................................................. 70

The Network Variable Table ....................................................................... 71

Network Variable Attributes ................................................................ 71

The Message Tag Table ............................................................................... 72

Developing an FTXL Application .................................................................... 73

Overview of an FTXL Application............................................................... 74

Using the FTXL LonTalk API .............................................................. 74

Callbacks and Events............................................................................ 76

Integrating the Application with an Operating System ..................... 76

Providing Persistent Storage for Non-Volatile Data........................... 77

Restoring Non-Volatile Data .......................................................... 78

Writing Non-Volatile Data ............................................................. 79

Tasks Performed by an FTXL Application ................................................. 80

Advertising