5 snvt_scene_to_snvt_setting – Echelon i.LON SmartServer 2.0 User Manual
Page 182
![background image](/manuals/735732/182/background.png)
i.LON SmartServer 2.0 Programmer’s Reference
12-10
OC_BYPASS function:
SET_STATE
setting: 100
rotation: 80.24
OC_STANDBY function:
SET_STATE
setting: 60.2
rotation: -40
The following code demonstrates how to use the Set function to create a type translator that uses this
xsi:type="UFPTtypeTranslator_Cfg"> App/Type Translator[5] dpType="Input"> App/VirtFb/nviOccupancy_1 dpType="Output"> App/VirtFb/nvoSetting_1
12.3.4.5 SNVT_scene_TO_SNVT_setting
You can use this Type Translator Rule to translate an input data point of type SNVT_scene to an
output data point of type SNVT_setting.
• The SNVT_scene input data point is defined by a
Type” attribute of “Input”. The input data point referenced by
• The SNVT_setting output data point to be translated is defined by a
have a “Dp Type” attribute of “Output”. The output data point referenced by
have a
Each time a type translation is made, the function, rotation, and setting fields of the SNVT_setting
ouput data point are assigned values based on the current values stored in the scene_function and
scene_number fields of the SNVT_scene input data point, as described in the following table:
SNVT_scene (input point)
SNVT_setting (ouput point)
function: SC_RECALL
scene_number: <= 4
function: SET_STATE (enumerated value is 5)
setting: <=25*scene_number>
rotation: 0
function: SC_RECALL
scene_number: >= 5
function: SET_NUL (enumerated value is -1)
setting: 100
rotation: 0
function: SC_NUL
scene_number: any
function: SET_NUL
setting: 100
rotation: 0