beautypg.com

Snvt_setting_to_snvt_switch, Snvt_state_to_16xswitch, Snvt_switch_to_snvt_lev_desc – Echelon SmartServer 2.2 User Manual

Page 467

background image

468

Using Type Translators

SNVT_scene (input point)

SNVT_switch (output point)

function: SC_NUL
scene_number: 0

No update made to output data point

function: SC_NUL
scene_number: >0

value: 0.0
state: 0 (OFF)

function: SC_RECALL
scene_number: 1

value: 25.0
state: 1 (ON)

function: SC_RECALL
scene_number: 2

value: 50.0
state: 1 (ON)

function: SC_RECALL
scene_number: 3

value: 75.0
state: 1 (ON)

function: SC_RECALL
scene_number: >3

value: 100.0
state: 1 (ON)

function: SC_RECALL
scene_number: 255

value: 0.0
state: 0 (OFF)

SNVT_setting_TO_SNVT_switch

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

SNVT_scene (input point)

SNVT_switch (output point)

function: SET_STATE
setting: <=100.0

value: 0.0
state: 0 (OFF)

function: SET_STATE
setting: >100.0

value: <=setting>
state: 0 (OFF)

function: SET_NUL
setting: any

value: 0.0
state: 0 (OFF)

SNVT_state_TO_16xswitch

This rule-based translation converts a SNVT_state input data point to up to multiple SNVT_switch
output data points. You add a SNVT_state data point to the list of input points and up to 16
SNVT_switch data point to the list of output points. Each time a type translation is made, the value
and state fields for each SNVT_switch output data point are assigned values matching the value stored
in the corresponding bit of the SNVT_state input data point.

For example, if the value stored in the 0 bit of the SNVT_state input data point is 1, the first
SNVT_switch output data point will be assigned a value of 100.0 1. If the value stored in the 1 bit of
the SNVT_state input data point is 0, the second SNVT_switch output data point will be assigned a
value of 0.0 0.

SNVT_switch_TO_SNVT_lev_desc

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

SNVT_switch (input point)

SNVT_lev_desc (output point)

value: any

ST_NUL