Selecting or creating a type translation – Echelon i.LON SmartServer 2.0 Power Line User Manual

Page 128

Advertising
background image

114

Connecting Devices on a Power Line Repeating Network

list of output points. To show the output data points, select the Show Outputs check box. You
can access the list of output by clicking the Output data point icon (

) on the

right side of the Type Translator: Configure Web page.

4. Click Submit.

Selecting or Creating a Type Translation

Type translations specify the conditions in which the values of input points are translated to output
points. To create a type translation, you define one or more cases and a rule for each case that executes
when the case evaluates to TRUE. You can specify whether a case is always true (a scalar-based
translation) or if it is only true when an expression is true (a rule-based translation). The expression
can be an if-then statement, a nested if-then statement, or an if-then-else statement. The rule specifies
the value to be copied to the output points.

For example, you could create a scalar-based translation where the value of an input point is always
translated to the output point, or you could create a rule-based translation where the input point is
translated to the output point if one or more expressions evaluate to TRUE.

The Type Translator includes 15 pre-defined type translations that you select from the list below the
Rules icon. You can select a pre-defined rule provided that it is compatible with the selected input and
output points. The default rule, Copy Input DP to Output DP, is a scalar-based translation that
translates the value of the input point directly to the output points. See Chapter 11 of the i.LON
SmartServer 2.0 User’s Guide
for descriptions of these pre-defined rules.

If none of the pre-defined translations are compatible with your specific application, you can create
your own custom scalar-based or rule-based translation. To create a custom scalar-based translation,
you simply define the scaling to be performed on the value of the input point before it is converted to
the output point.

To create a custom rule-based translation, you define one or more cases and a rule for each case that
executes when the case is true. You can specify whether a case is always true or if it is only true when
an expression is true. The expression can be an if-then statement or a nested if-then statement. The

Advertising