Echelon i.LON SmartServer Technical Information Page 119

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 118
i.LON SmartServer 2.0 Programmer’s Reference
8-1
8 Analog Function Block
You can use Analog Function Blocks to perform a variety of statistical operations on the values of the
data points in your network, and store the result of each operation in an output data point. You can
perform these operations on as many input data points as you like per Analog Function Block. The
operations you can perform on them include determining the average value of the input data points, the
maximum value of the input data points, the minimum value of the input data points, the sum of the
input data point values, and several others. Each operation is described in detail later in this chapter.
You can also select a comparison function as your operation. In this case, the Analog Function Block
will compare the value of all the input data points to the value of a data point selected as the compare
data point. You can choose from a variety of comparisons that an Analog Function Block can perform
between the data points, including Greater Than, Less Than, and Equal To. The Analog Function
Block will compare the values of the compare and input data point using that comparison, and update
the output data point to a True or False value based on the result of that comparison.
If you are using a comparison function, and your Analog Function Block has multiple input data
points, you can specify a percentage. If that percentage of the comparisons between the input and
compare data points returns True, the output data point will be set to True. Otherwise, it will be set to
False.
For example, consider a case where an Analog Function Block has five input data points and is using
Greater Than as the comparison function. Assume that the percentage is set to 50%. If the value of
50% (at least three) of the input data points is greater than the value of the compare data point, the
output data point will be set to True. Otherwise, it will be set to False.
The Analog Function Block will perform the operation you have selected for it each time any of its
input data points are updated, or at a timed interval you specify. You could use these calculated values
as a part of a control system or to monitor alarm conditions based on multiple inputs.
8.1
Overview of the AnalogFB XML File
The #8000010128000000[4].UFPTanalogFunctionBlock.xml file stores the configuration of the
Analog Function Blocks that you have added to the SmartServer.
You can create new Analog Functional Blocks using the Set function, or by manually editing the
#8000010128000000[4].UFPTanalogFunctionBlock.xml, and rebooting the SmartServer. You can
create up to 20 Analog Functional Blocks per SmartServer. You can add more than 20 Analog
Functional Blocks if you load the dynamic v40 XIF on your SmartServer and you operate your
SmartServer in Standalone mode. Note that using the v40 XIF with the SmartServer operating in LNS
mode (LNS Auto or LNS Manual) is not supported.
The following represents a sample #8000010128000000[4].UFPT
#8000010128000000[4].UFPTanalogFunctionBlock.xml file with one Analog Functional Block. This
Analog Function Block determines the maximum value of the value field of the nviClaValue_1 and
nviClaValue_2 data points on the Digital Output 1 and Digital Output 2 functional blocks on the
SmartServer, and stores that value in the value field of the nvoClsValue_1 data point on the Digital
Input 1 functional block on the SmartServer.
<Item xsi:type="UFPTanalogFunctionBlock_Cfg">
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]</UCPTname>
<UCPTannotation>8000010128000000[4].UFPTanalogFunctionBlock</UCPTannotation>
<UCPThidden>0</UCPThidden>
<UCPTlastUpdate>2008-03-03T12:25:33.900-08:00</UCPTlastUpdate>
<UCPTuri>#8000010128000000[4].UFPTanalogFunctionBlock_Cfg.htm</UCPTuri>
<DataPoint dpType="nvoDropOut" discrim="dir_out" >
<UCPTname>Net/LON/iLON App/Analog Fn Block[0]/nvoAfbDropOut[0]</UCPTname>
</DataPoint>
<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Input" discrim="dir_in" >
<UCPTname>Net/LON/iLON App/Digital Output 1/nviClaValue_1</UCPTname>
<UCPTfieldName>value</UCPTfieldName>
<UCPTpollRate>900</UCPTpollRate>
Page view 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 442 443

Comments to this Manuals

No comments