1 creating a case structure – Echelon i.LON 100 e2 Internet Server User Manual
Page 200

i.
LON 100 Internet Server Programmer’s Reference
13-7
Property Description
You can define the network variable types a Type Translator Rule accepts as
input with a series of
must contain two properties:
Use the
Use the
the Type Translator Rule.
When you create a Type Translator to use a rule, you will define an input data
point, or a group of input data points, and assign each data point an index
number. The
number within the Type Translator Rule. Otherwise, an error may occur during
translation.
You can define the network variable types a Type Translator Rule will translate
its input to with a series of
element must contain two properties:
Use the
Use the
the Type Translator Rule.
When you create a Type Translator that uses a rule, you will define an output
data point, or a group of output data points, and assign each data point an index
number. The
number within the Type Translator Rule. Otherwise, an error may occur during
translation.
The input and output network variable types for a Type Translator Rule are
defined by a series of
create case structures to determine the values that will be assigned to the
output data points when translations are made. This may be useful when
converting scalar values to enumerations, and vice versa. The case structures for
a Type Translator Rule are defined by a list of
For more information on case structures, see the next section, Creating a Case
Structure.
13.2.1.2.1
Creating a Case Structure
You can create case structures for each Type Translator Rule that define the set of
operations that will be performed when a Type Translator using that rule makes a
translation. Each case structure includes several global elements, and a series of case rules.
The case rules are signified by a list of
the value that will be assigned to the data point that the Type Translator Rule generates as
output.
Before the operations defined by the case rules are performed, the Type Translator Rule will
use its global elements to compare the value of an input data point (and field, where
applicable) to a value of your choice. You will select a comparison function with which the
comparison is to be made.