beautypg.com

Echelon i.LON 100 e2 Internet Server User Manual

Page 188

background image

The 16 SNVT_switch data points to be translated are defined by a list of

elements. Each element must contain two properties: and
. The must identify a SNVT_switch data point. The

must be in the range 0-15.
The value of the state field of each input data points will be read and stored in bitX of the
output data point, where X represents the selected for the input data point.

For example, the state field of the data point assigned index number 0 in the Type Translator
would be stored in Bit0 of the output SNVT_state data point. Or, the state field of the data

point assigned index number 8 would be stored in Bit7 of the output SNVT_state data point.
If any of the index numbers for the input data points are not used (meaning that less than 16
data points were supplied to the Type Translator), then the corresponding field in the output

data point will be assigned a value of 0.

12.2.1.2.1.2 SNVT_lev_disc_TO_SNVT_occupancy

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. When you use this rule, you must reference the

SNVT_lev_disc data point that is to be translated by its in the

element. You must reference the SNVT_occupancy data point to store the
result of the translation by its in the element.
Each time a type translation is made, the Type Translator will assign the SNVT_occupancy
output data point an enumeration value based on the enumeration assigned to the input

data point. The enumeration values assigned to the output data point follow the rules

described in Table 62.

Table 62 SNVT_lev_disc_TO_SNVT_occupancy

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

Then the SNVT_occupancy Output Data

Point Will Be Set To...

ST_NUL OC_NUL

ST_OFF OC_UNOCCUPIED

ST_ON OC_OCCUPIED

ST_HIGH OC_BYPASS

ST_LOW OC_STANDY

ST_MED OC_STANDY

12.2.1.2.1.3 SNVT_lev_disc_TO_SNVT_switch

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

SNVT_lev_disc data point that is to be translated by its in the

element. You must reference the SNVT_switch data point to store the result
of the translation by its in the element.
Each time a translation is made, the Type Translator will assign the SNVT_switch output
data point a value that is based on the enumeration currently assigned to the input data

point. The values assigned to the output data point follow the rules described in Table 63.

i.

LON 100 Internet Server Program

12-8

mer’s Reference