Implementing optional network variables – Echelon NodeBuilder FX User Manual
Page 172
158
Defining Device Interfaces and Creating their Neuron C Framework
functional block or network variable arrays, or any combination
thereof.
• A configuration property that is shared among the members of a
functional block or network variable array must always be shared
among all members of that array.
• A configuration property can be shared between network
variables on different functional blocks.
• A configuration property that inherits its type from a network
variable can only be shared between network variables that are
all of the same type. Therefore, all changeable type network
variables that share an inheriting configuration property must
also share an instantiation of SCPTnvType so that the set of
changeable network variables will always have the same, single
type and so that type changes occur at the same time.
• Two (or more) mandatory functional profile template
configuration properties can be implemented using a single,
shared, configuration property provided the shared configuration
property meets the requirements of all individually listed FPT
members (for example, same type, same array size, and so on).
• A single configuration property that inherits its type from a
network variable cannot be shared simultaneously by both
changeable and non-changeable network variables.
• Configuration property arrays that are implemented as arrays of
configuration network variables and that apply to a functional
block array or to a network variable array must be shared.
5. Click OK.
Implementing Optional Network Variables
Functional profiles specify mandatory network variables that must be implemented by any
implementation of the profile, and they also specify optional network variables that may be
implemented but are not required. When a functional profile is added to the device interface in the
NodeBuilder Code Wizard, the wizard adds all the mandatory members of the functional profile to the
device interface, but it does not add any of the optional members. To implement an optional network
variable on a functional block, follow these steps:
1. Right-click the Optional NVs folder for the functional block in the Program Interface pane and
select Implement Optional NV from the shortcut menu.