Echelon NodeBuilder FX User Manual

Page 6

Advertising
background image

vi

Preface

7  Developing Device Applications.................................................. 179 

Introduction to Neuron C ............................................................................. 180

 

Unique Aspects of Neuron C ................................................................ 180

 

Neuron C Variables............................................................................... 182

 

Neuron C Variable Types ............................................................... 182

 

Neuron C Storage Classes............................................................. 182

 

Variable Initialization....................................................................... 183

 

Neuron C Declarations ................................................................... 183

 

Introduction to Neuron C Code Editing........................................................ 184

 

Modifying Neuron C Code Generated by the Code Wizard.................. 185

 

Code Commands............................................................................ 185

 

Code Guidelines ............................................................................. 186

 

Add I/O and Timer Declarations............................................... 186

 

Add when-tasks Responding to I/O and Timer Events............ 187

 

Add interrupt-tasks Responding to Interrupt Requests............ 187

 

Add Code to when(nv_update_occurs(<nv>)) when-task of
Functional Blocks with Input NVs............................................. 187

 

Share Code with filexfer.nc when Handling Explicit
Messages on a Device Implementing FTP .............................. 187

 

Ignore NCC#310 and NC#463 Compiler Warnings ................. 187

 

Implementing Changeable-Type Network Variables...................... 187

 

Neuron C Version 2 Features Not Supported by the Code
Wizard............................................................................................. 189

 

Message Tags.......................................................................... 189

 

I/O Models................................................................................ 189

 

Network Variables.................................................................... 189

 

Configuration Properties .......................................................... 189

 

when() clauses......................................................................... 190

 

L

ON

M

ARK

Style......................................................................... 190

 

Director Functions.................................................................... 190

 

Interrupt Tasks ......................................................................... 190

 

Using the NodeBuilder Editor ...................................................................... 190

 

Using Syntax Highlighting ..................................................................... 191

 

Searching Source Files......................................................................... 191

 

Searching a Single File for a String................................................ 191

 

Replacing Text................................................................................ 192

 

Searching Multiple Files for a String............................................... 192

 

Using Bookmarks .................................................................................. 195

 

Setting Editor Options ........................................................................... 195

 

8  Building and Downloading Device Applications........................ 197 

Introduction to Building and Downloading Applications .............................. 198

 

Building an Application Image ..................................................................... 198

 

Excluding Targets from a Build ............................................................. 203

 

Cleaning Build Output Files .................................................................. 203

 

Viewing Build Status ............................................................................. 204

 

Setting Build Options............................................................................. 206

 

Downloading an Application Image ............................................................. 207

 

Programming 5000 Off-chip Memory.................................................... 208

 

Programming 5000 Series Chips In-Circuit .................................... 209

 

Programming 3150 Off-chip Memory.................................................... 214

 

Programming 3150 On-chip Memory.................................................... 215

 

Programming 3120 and 3170 On-chip Memory.................................... 216

 

Programming PL 3120 and PL 3170 Smart Transceiver
Parameters ..................................................................................... 216

 

Advertising