Echelon i.LON 100 e2 Internet Server User Manual

Page 189

Advertising
background image

i.

LON 100 Internet Server Programmer’s Reference

12-9

Table 63 SNVT_lev_disc_TO_SNVT_switch

If the Input SNVT_lev_disc Data Point Is.....

Then the SNVT_switch Output Data Point

Will Be Set To...

ST_NUL 0xff

0

ST_OFF 0.0

0

ST_ON 100.0

1

ST_HIGH 75.0

1

ST_LOW 50.0

1

ST_MED 25.0

1

12.2.1.2.1.4 SNVT_occupancy_TO_SNVT_setting

Use this Type Translator Rule to translate an input data point of type SNVT_occupancy to

an output data point of type SNVT_setting. When you use this rule, you must reference the
SNVT_occupancy data point that is to be translated by its <UCPTpointName> in the

<InDataPoint> element. You must reference the SNVT_setting data point that will store the

result of the translation by its <UCPTpointName> in the <OutDataPoint> element.

Each time a translation is made, the three fields of the SNVT_setting data point (function,

rotation, setting) will be assigned different values based on enumeration currently assigned

to the input data point. These values assigned to these fields follow the rules described in
Table 64.

Table 64 SNVT_occupancy_TO_SNVT_setting

Then the SNVT_setting Output Field Values Will Be Set To…

If the SNVT_occupancy

Input Data Point Is….

function Setting Rotation

OC_NUL SET_NUL

0

0.0

OC_UNOCCUPIED SET_STATE

60

-80.01

OC_OCCUPIED SET_STATE

100 80.24

OC_BYPASS SET_STATE

100.0

80.24

OC_STANDBY SET_STATE

60.2

-40.0

12.2.1.2.1.5 SNVT_scene_TO_SNVT_setting

Use this Type Translator Rule to translate an input data point of type SNVT_scene to an
output data point of type SNVT_setting. When you use this rule, you must reference the

SNVT_scene data point that is to be translated by its <UCPTpointName> in the

<InDataPoint> element. You must reference the SNVT_setting data point to store the result
of the translation by its <UCPTpointName> in the <OutDataPoint> element.
Each time a translation is made, the three fields of the SNVT_setting data output point
(function, rotation, setting) will be assigned different values based on the values of the

function and scene_number fields of the SNVT_scene data point. The values assigned to the

fields of the output data point follow the rules described in Table 65.

Table 65 SNVT_scene_TO_SNVT_setting

If the SNVT_scene Input Field Values

Are….

Then the SNVT_setting Output Field Values Are….

function scene_number

function setting Rotation

SC_RECALL 0

SET_STATE 0

0

SC_RECALL 1

SET_STATE 25

0

Advertising