beautypg.com

Echelon SmartServer 2.2 User Manual

Page 465

background image

466

Using Type Translators

Integrating M-Bus Devices with a Type Translator in this chapter for more information on the three
pre-defined type translations used to convert M-Bus data points.

16xSNVT_switch_TO_SNVT_state

This rule-based translation converts up to 16 SNVT_switch input data points into a single
SNVT_state output data point. The value of the state field of each SNVT_switch data point is
assigned a field in the SNVT_state output data point.

You can select up to 16 input SNVT_switch data points and a single output SNVT_state data point.
The value of the state field of the input SNVT_switch data points referenced by these elements will be
read and stored in the SNVT_state output data point in the order they appear in the Inputs list. For
example, the value of the state field of the first input SNVT_switch data point in the Inputs list would
be stored in the 0 bit of the output SNVT_state data point. If fewer than 16 data points are added to
the Inputs list, the extra bits in the in the SNVT_state output data point will be assigned a value of 0.

Merge SNVT Setting

This rule-based translation merges a setting_t enumeration, a SNVT_lev_cont input data point, and a
SNVT_angle_deg input data point to produce a SNVT_setting output data point.

SNVT_lev_desc_TO_SNVT_occupancy

This rule-based translation converts a SNVT_lev_disc input data point to a SNVT_occupancy output
data point. You add a SNVT_lev_disc data point to the list of input points and a SNVT_occupancy
data point to the list of output points. Each time a type translation is made, the SNVT_occupancy
output data point is assigned a value based on the current enumeration stored in the SNVT_lev_desc
input data point, as described in the following table:

SNVT_lev_desc (input point)

SNVT_occupancy (output point)

ST_NUL

OC_NUL

ST_OFF

OC_UNOCCUPIED

ST_ON

OC_OCCUPIED

ST_HIGH

OC_BYPASS

ST_LOW or ST_MED

OC_STANDBY

SNVT_lev_desc_TO_SNVT_switch

This rule-based translation converts a SNVT_lev_disc input point to a SNVT_switch data point. You
add a SNVT_lev_disc data point to the list of input points and a SNVT_switch data point to the to the
list of output points. Each time a type translation is made, the SNVT_switch output data point is
assigned a value and state based on the current enumeration stored in the SNVT_lev_desc input data
point, as described in the following table:

SNVT_lev_desc (input point)

SNVT_switch (output point)

ST_NUL

OFF

ST_OFF

value: 0.0
state: 0 (OFF)

ST_ON

value: 100.0
state: 1 (ON)

ST_HIGH

value: 75.0
state: 1 (ON)

ST_MED

value: 50.0
state: 1 (ON)