Typetranslatorrulelist, Typetranslatorrulelist -4, 1 typetranslatorrulelist – Echelon i.LON 100 e2 Internet Server User Manual

Page 197

Advertising
background image

13.2.1.1 TypeTranslatorRuleList

Use the TypeTranslatorRuleList function to retrieve a list of the Type Translator Rules that
you have added to the

i.

LON 100. The TypeTranslatorRuleList function takes an empty

string as its <Data> parameter, as in the example below.
The function returns the major and minor version numbers of the firmware implementation
the Type Translator Rule application is using in the <Result> parameter. The <Result>

parameter also includes a <TypeTranslatorRule> element for each TypeTranslatorRule that
you have added to the

i.

LON 100. The next section, TypeTranslatorRuleGet, describes the

properties included in each of these elements.
You could use the list of <TypeTranslatorRule> elements returned by this function as input
for the TypeTranslatorRuleGet function. The TypeTranslatorRuleGet function would then

return the complete configuration of each Type Translator Rule included in the list.

<Data>
Parameter

Empty String

<Result>
Parameter

<Result>
<iLONTypeTranslatorRule>

<SCPTobjMajVer>1</SCPTobjMajVer>
<SCPTobjMinVer>1</SCPTobjMinVer>
<TypeTranslatorRule>

<UCPTlastUpdate>2002-01-30T16:32:26Z</UCPTlastUpdate>
<UCPTtranslatorRule>SNVT_state_TO_16xswitch</UCPTtranslatorRule>

<UCPTdescription>Converts SNVT_state to 16 different SNVT_switch </UCPTdescription>

</TypeTranslatorRule>
<TypeTranslatorRule>

<UCPTindex>8</UCPTindex>
<UCPTlastUpdate>2002-01-30T16:32:26Z</UCPTlastUpdate>
<UCPTtranslatorRule>SNVT_switch_TO_SNVT_lev_disc</UCPTtranslatorRule>
<UCPTdescription>Converts SNVT_switch to SNVT_lev_disc</UCPTdescription>
</TypeTranslatorRule>
<TypeTranslatorRule>

<UCPTindex>9</UCPTindex>
<UCPTlastUpdate>2002-05-22T09:33:44Z</UCPTlastUpdate>

<UCPTtranslatorRule>2xTimeStamp_to_TimeStamp</UCPTtranslatorRule>
<UCPTdescription>Test</UCPTdescription>
</TypeTranslatorRule>
<TypeTranslatorRule>

<UCPTindex>10</UCPTindex>
<UCPTlastUpdate>2002-01-30T16:32:26Z</UCPTlastUpdate>
<UCPTtranslatorRule>Limit_SNVT_count_f</UCPTtranslatorRule>

<UCPTdescription>Sets SNVT_count_f to 0 when 60000 increased</UCPTdescription>

</TypeTranslatorRule>
</iLONTypeTranslatorRule>
</Result>

<UCPTindex>7</UCPTindex>

i.

LON 100 Internet Server Program

13-4

mer’s Reference

Advertising