Creating and modifying an enumeration type – Echelon IzoT Resource Editos User Manual

Page 53

Advertising
background image

IzoT Resource Editor User's Guide

45

It is possible that cascading resource file sets will contain resources using the same
name. For example, two cascading resource files might contain a configuration property
type named UCPTsetpoint.

From a functional profile editing point of view, it is possible to add both UCPTsetpoint
(scope selector 3) and UCPTsetpoint (scope selector 4) to the same functional profile.

However, the Neuron C language is commonly used to implement functional profiles.
The hypothetical example can cause the Neuron C compiler to implement the
UCPTsetpoint that is defined at the numerically highest scope level (device class scope,
scope selector 4) in both cases.

The Neuron C language requires a configuration property to be implemented using a
declaration that relies on the property type name (UCPTsetpoint). When searching the
resource file catalog for a matching resource, the Neuron C Compiler will use the one
found at device class scope.

Therefore, you should avoid reusing names of network variable or configuration property
types in cascading resource file sets.

Creating and Modifying an Enumeration Type

You can create and edit enumeration types in any scope 3, 4, 5, or 6 resource file set. Do
not attempt to do this in resource file sets that do not have your manufacturer ID or that
you do not manage. An enumeration type is a list of enumerators that may be assigned
to an enumeration network variable, configuration property, or field of one of these.
Each enumerator consists of a name, value, and associated language string or strings.
Network variable and configuration property types can reference enumeration types as
described in Creating and Editing Enumerated Network Variable and Configuration
Property Types
, earlier in this chapter. To create or modify enumeration types in a
resource file set, follow these steps:

1. To create a new enumeration type in a resource file set, right-click the

Enumerations folder in the resource file set and then click New Enum on the
shortcut menu. To modify an existing enumeration type, double-click the
enumeration type. The following enumeration type editor appears:

Advertising