Echelon i.LON SmartServer 2.0 User Manual

Page 192

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

13-4

<UCPTdescription>Translates the state and value fields from two SNVT_switch input DPs to one

output SNVT_swicth DP

</UCPTdescription>

<UCPTuri>#8000010128000000[4].UFPTtypeTranslator_Rule_Cfg.htm</UCPTuri>
<DataPointFormat>
<UCPTnickName>nviSwitch1</UCPTnickName>
<UCPTformatDescription>#0000000000000000[0].SNVT_switch</UCPTformatDescription>
</DataPointFormat>
<DataPointFormat>
<UCPTnickName>nviSwitch2</UCPTnickName>
<UCPTformatDescription>#0000000000000000[0].SNVT_switch</UCPTformatDescription>
</DataPointFormat>
<DataPointFormat>
<UCPTnickName>nvoSwitch</UCPTnickName>
<UCPTformatDescription>#0000000000000000[0].SNVT_switch</UCPTformatDescription>
</DataPointFormat>
<Case>
<UCPTindex>0</UCPTindex>
<UCPTcompFunction

LonFormat="UCPTcompFunction">FN_NUL</UCPTcompFunction>

<UCPTcompValue

LonFormat="">0</UCPTcompValue>

<Rule>
<UCPTindex>0</UCPTindex>
<UCPTinputPath>DataPointFormat[UCPTnickName=“nviSwitch1”]</UCPTinputPath>
<UCPTinputFieldName>state</UCPTinputFieldName>
<UCPToutputPath>DataPointFormat[UCPTnickName=“nvoSwitch”]</UCPToutputPath>
<UCPToutputFieldName>state</UCPToutputFieldName>
<UCPTcompFunction

LonFormat="UCPTcompFunction">FN_NUL</UCPTcompFunction>

</Rule>
</Case>
<Case>
<UCPTindex>1</UCPTindex>
<UCPTinputPath>DataPointFormat[UCPTnickName=“nviSwitch1”]</UCPTinputPath>
<UCPTcompFunction

LonFormat="UCPTcompFunction">FN_NUL</UCPTcompFunction>

<UCPTcompValue

LonFormat="">0</UCPTcompValue>

<Rule>
<UCPTindex>0</UCPTindex>
<UCPTinputPath>DataPointFormat[UCPTnickName=“nviSwitch2”]</UCPTinputPath>
<UCPTinputFieldName>value</UCPTinputFieldName>
<UCPToutputPath>DataPointFormat[UCPTnickName=“nvoSwitch”]</UCPToutputPath>
<UCPToutputFieldName>value</UCPToutputFieldName>
<UCPTcompFunction

LonFormat="UCPTcompFunction">FN_NUL</UCPTcompFunction>

</Rule>
</Case>
</Item>
</iLonItem>
</GetResponse>

The function returns an <Item> element for each type translator rule referenced in the input parameters
supplied to the function. The properties included in each element are initially defined when the type
translator rule is created. You can write to these properties with the Set function. The following table
describes these properties.

Property Description

<UCPTname>

The name of the type translator rule in the following format:
<network/channel/device/functional block>.

<UCPTannotation>

The program ID and functional profile template used by the
type translator rule. This property is always

8000010128000000[4].UFPTtypeTranslator_Rule

<UCPThidden>

A flag indicating whether the type translator rule functional
block is hidden or shown in the navigation pane on the left
side of the SmartServer Web interface. This property may
have the following values:

Advertising