beautypg.com

Echelon IzoT Resource Editos User Manual

Page 36

background image

28

Creating and Modifying Resources

If you are defining a configuration property type, and the type depends on the type of
a network variable that the configuration property type applies to, set Inherited
From a Network Variable
. You can use this to create a configuration property
type that will be used in multiple functional profiles that require different types. If
this checkbox is set, the data type will be set to INHERITED and cannot be changed
and Type Range and Default Value will be dimmed. When you implement a
configuration property that uses an inherited configuration property type, the
network variable the configuration property inherits from depends on how you
implement the configuration property. If you associate the configuration property
with a network variable, it will inherit its type from the network variable. If you
associate the configuration property with a functional block, it will inherit its type
from the principal network variable on that functional block. Configuration
properties that inherit their type from a changeable type network variable will
automatically change type when the network variable’s type is changed. See the
Neuron C Programmer’s Guide for details about changeable type network variables.
Configuration properties that inherit their type from a network variable cannot apply
to the entire device.

You can create an array type if you are defining fields of a structure or union. To
create a network variable or configuration property type array, first construct a
structure, create a field within the structure, set Array, and then specify the size of
the array in Dimension. See Creating and Modifying a Structure or Union NV or
CP Type
.

Also see Adding a Configuration Property Member to a Functional Profile, later in
this chapter, for details about creating arrays of configuration properties as
functional profile members.

If the type is not inherited, click the arrow to select from the following data types:

BITFIELD

A signed or unsigned bitfield, 1-8 bits wide. Only
available for fields within a structure or union.
See Creating and Modifying a Bitfield.

DOUBLE FLOAT

A standard IEEE 754 64-bit floating point value.

ENUMERATED

A signed 8-bit enumerated value. See Creating
and Modifying an Enumerated NV or CP Type
.

FLOAT

An IEEE 754 standard 32 bit floating point value.

REFERENCE

A reference to a network variable type. Uses the
type definition of the referenced network variable
type. If you are creating a structure or union, an
individual field can reference a network variable
type (see Creating and Modifying a Structure or
Union NV or CP Type
)
. If the referenced network
variable type changes in some way, the
referencing type or field will automatically change
as well. See Creating and Modifying a Reference
NV or CP Type
for more information.

SIGNED_CHAR

An 8-bit signed character value.

SIGNED_LONG

A 16-bit signed integer value.

SIGNED_QUAD

A 32-bit signed integer value.