Page 26 of 62 | |
|
|
LonMark Config file Example #1 – Open Loop “Water Temperature” Sensor:
| // Client Side Map Descriptors |
|
|
|
|
|
|
|
|
| |
| Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| Map_Descriptor_Name | ,Data_Array_Name | ,Data_Array_Offset | ,Lon_Function | ,Function | ,Node_Name | ,SNVT_Index | ,SNVT_Type | ,Nv_Min_Value | ,Nv_Max_Value | ,Nv_Selfdoc_text |
| nvoTemp | ,DA_FI_01 | ,0 | ,NVUOIMC | ,Wrbc | ,LON_1 | ,- | ,SNVT_Temp_f | ,- | ,- | ,“@01;WaterTemp” |
| NviTempMin | ,- | ,- | ,CFG_NVUI | ,Server | ,LON_1 | ,- | ,SNVT_Temp_f | ,10 | ,- | ,“&200\x8023” |
| NviTempMax | ,- | ,- | ,CFG_NVUI | ,Server | ,LON_1 | ,- | ,SNVT_Temp_f | ,- | ,300 | ,“&200\x8020” |
|
|
|
|
|
|
|
|
|
|
|
|
The Node Self- Documentation String defines one LonMark object of type 1 – Open Loop Sensor.
These two configuration network variables will be linked to the first Map Descriptor declared. The NV_Min_Value and NV_Max_Value fields define the defaults for these CP’s. These defaults are loaded by the FieldServer after a restart only when
The object index is 0 and this Map Descriptor defines the 1st Network Variable of the object.
LonMark Config file Example #2 – “Water Heating Element” Actuator:
| // Client Side Map Descriptors |
|
|
|
|
|
|
|
|
| |
| Map_Descriptors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
| Map_Descriptor_Name | ,Data_Array_Name | ,Data_Array_Offset | ,Lon_Function | ,Function | ,Node_Name | ,SNVT_Index | ,SNVT_Type | ,Nv_Min_Value | ,Nv_Max_Value | ,Nv_Selfdoc_text |
| nvoTemp | ,DA_FI_01 | ,0 | ,NVUOIMC | ,Wrbc | ,LON_1 | ,- | ,SNVT_Temp_f | ,- | ,- | ,“@01;WaterTemp” |
| NviTempMin | ,- | ,- | ,CFG_NVUI | ,Server | ,LON_1 | ,- | ,SNVT_Temp_f | ,10 | ,- | ,“&200\x8023” |
| NviTempMax | ,- | ,- | ,CFG_NVUI | ,Server | ,LON_1 | ,- | ,SNVT_Temp_f | ,- | ,300 | ,“&200\x8020” |
|
|
|
|
|
|
|
|
|
|
|
|
The Node Self- Documentation String defines one LonMark object of type 3 – Open Loop Actuator.
These two configuration network variables will be linked to the first Map Descriptor declared. The NV_Min_Value and NV_Max_Value fields define the defaults for these CP’s. These defaults are loaded by the FieldServer after a restart only when re- commissioning is required.
The object index is 0 and this Map Descriptor defines the 1st Network Variable of the object.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com