Echelon IzoT NodeBuilder User Manual

Page 156

Advertising
background image

Modifiers

Indicates whether the network variable uses the Synchronized or
Polled modifiers. This property is only available for output network
variables.

You can change the modifiers for mandatory and optional output
network variables if the functional profile has not specified them, and
you can change the modifiers for implementation-specific output
network variables. This property may be one of the following values.

None. The network variable is neither synchronous nor polled.
Synchronized. The device sends all output network variable

updates, and queues and processes all input network variable
updates. The size of the input and output queues is limited to the
size of the application buffer queues on the device, so you may
need to allocate additional buffer space on the device if you
select this option.

If the network variable is not synchronized, the device sends only
the most recent output network variable update if the device
application updates the output network variable multiple times
before the application leaves the current when-task. Similarly,
the device processes only the most recent input network variable
update if the device receives multiple updates before the device
application can process them.

Note that most network variables are not synchronized.

Polled. Output network variable updates are sent only in

response to a poll request from a device that reads this network
variable.

Self-document
(sd_string)

Optionally, you can enter comments to be appended to the
self-documentation string for this network variable. This text can
provide additional notes that can be accessed from a network tool.

Network variable members of functional blocks use a standard
self-documentation format that is detailed in the LonMark Application
Layer Interoperability Guidelines
.
The Neuron C Compiler
automatically generates all required self-documentation information.

The total length of the self-documentation string can be up to 1024
characters, including the characters automatically generated by the
Neuron C Compiler, any external functional block names, a
semicolon to separate comments (if you enter comments in this box),
your comments themselves (and possibly including formatting
characters), and a terminating zero byte.

Initializer

Optionally, you can set the value for the network variable when the
device is reset. If this network variable is a structure, union, float, or
enumeration, click Edit to open the Edit Initializer dialog and enter
the value or values. See Setting Initial Values for Network Variables
and Configuration Properties
later in this chapter for more
information.

Note: Network variables are automatically reset to 0 during reset
processing (except for those declared with the optional eeprom
modifier and those implementing configuration properties); therefore,
they do not need to be explicitly initialized to 0.

142

Defining Device Interfaces and Creating their Neuron C Framework

Advertising