2 snvt_lev_disc_to_snvt_occupancy – Echelon i.LON SmartServer 2.0 User Manual
Page 179

i.LON SmartServer 2.0 Programmer’s Reference
12-7
• The 16 SNVT_switch data points to be translated are defined by a list of
that have a “Dp Type” attribute of “Input”. The input data points referenced by
must have a
point and a
• The SNVT_state output data point is defined by a
Type” attribute of “Output”. The output data point referenced by
The value of the state field of each input data point will be read and stored in bitX of the output data
point, where X represents the
of the SNVT_switch data point that has a
output SNVT_state data point. Or, the state field of the SNVT_switch data point that has a
If any of the
than 16 SNVT_switch data points were supplied to the Type Translator), then the corresponding field
in the SNVT_state output data point will be assigned a value of 0.
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[0] dpType="Input"> App/VirtFb/nviSwitch_1 dpType="Input"> App/VirtFb/nviSwitch_2 dpType="Output"> App/VirtFb/nvoState
12.3.4.2 SNVT_lev_disc_TO_SNVT_occupancy
You can use this Type Translator Rule to translate an input data point of type SNVT_lev_disc to an
output data point of type SNVT_occupancy.
• The SNVT_lev_disc input data point to be translated is defined by a
have a “Dp Type” attribute of “Input”. The input data point referenced by
have a
• The SNVT_occupancy output data point is defined by a
“Dp Type” attribute of “Output”. The output data point referenced by