beautypg.com

Echelon NodeBuilder FX User Manual

Page 59

background image

NodeBuilder FX User's Guide

45

2. Create an open-loop actuator with a SNVT_switch network variable.

a. Drag a SFPTopenLoopActuator 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.

b. Rename the openLoopActuator functional block to “LED”. A warning message appears

warning that new source files will be generated as a result of the name change. Click OK.

c. Expand the LED functional block, and then expand the Mandatory NVs folder to display the

nviValue network variable.

d. Double-click the nviValue network variable, or right-click it and then select Properties on

the shortcut menu. The NV Properties dialog opens.

e. In the Name property, change the network variable name to nviLamp.

f. In the NV type property, select SNVT_switch, and then click OK.

You have completed designing the external interface of the device. You will now use the
NodeBuilder Code Wizard to generate the source files for you.

3. Click the Generate and Close button in the top-right corner of the NodeBuilder Code Wizard to

generate the Neuron C source files that implement your specified external interface.

4. The NodeBuilder Code Wizard closes and you are returned to the Project Manager window. The

Project pane within the project manager displays the files and templates defined for your project.