Echelon IzoT NodeBuilder User Manual

Page 158

Advertising
background image

memory devices.

far

The network variable is placed in the far section of the variable space.
By default, Neuron C variables are placed in the near RAM segment;
however, the near RAM segment is limited to 256 bytes.

Accessing data in near RAM is faster and requires less code space
than accessing data in far RAM. As a result, you may need to move
some application variables or network variables into far RAM to
make enough space in the near RAM segment for those variables that
are either frequently accessed in a time-critical section of code, or
accessed from many locations in your source code

The maximum size of near memory areas is 256 bytes of RAM and
255 bytes of EEPROM, but this may be less in some scenarios.

uninit

Prevents compile-time initialization of network variables. This is
useful for eeprom variables that do not or should not be written by
program load or reload. Selecting this class disables the const option.

A different mechanism, subject to your network management tool, is
used to determine whether configuration properties (including
configuration network variables), will be initialized after loading or
commissioning the device. The uninit keyword cannot be used to
prevent configuration network variables from being initialized by the
network management tool. See your network tool’s documentation
for details.

Specify Location

Select this check box to place the network variable in the off-chip
portion or on-chip portion of the variable space, and then select one of
the following options:

Offchip. This keyword places the variable in the off-chip

portion of the variable space. By default, the linker places
variables in either space as it chooses, depending on availability.
If the requested memory is not available, the link fails.

Onchip. This keyword places the variable in the on-chip portion

of the variable space. By default, the linker places variables in
either space as it chooses, depending on availability. If the
requested memory is not available, the link fails.

Connection
Information

You can specify the Neuron C bind_info options. These options
allow you to specify default connection information for this network
variable (priority, authentication, service type, rate). For example,
entering authenticated(config) priority(config) in this box generates
the following line of code:

network <direction> <NV type> bind_info
(authenticated(config) priority(config))

This is only required for bind_info options that are not handled by
the NV Properties dialog. For example ackd, unackd, and
unackd_rpt
options are already handled by the NV Properties
dialog.

Network management tools such as the IzoT Commissioning tool can
override these settings. See the Neuron C Reference Guide for more
information.

If you define a network variable to use priority, the device containing

144

Defining Device Interfaces and Creating their Neuron C Framework

Advertising