beautypg.com

Echelon NodeBuilder FX User Manual

Page 56

background image

42

NodeBuilder Quick-Start Exercise

• A simple Node Object with no configuration properties (the NodeBuilder Code Wizard

automatically creates this functional block).

To define your device interface and automatically create Neuron C source code for it using the Code
Wizard, follow these steps:

1. Create an open-loop sensor functional block with a SNVT_switch network variable. To do this,

follow these steps:

a. Expand the STANDARD (Scope 0: Standard) resource file under the LonWorks/Types

folder, and then expand the Functional Profile Templates folder to display the standard
functional profile templates (SFPTs).

b. Drag the SFPTopenLoopSensor (1) functional profile template from the Resource Pane on

the left side to the Functional Blocks folder in the Program Interface pane on the right side.
An openLoopSensor functional block appears under the Functional Blocks folder.