Echelon i.LON SmartServer Technical Information Page 64

  • Download
  • Add to my manuals
  • Print
  • Page
    / 443
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 63
i.LON SmartServer 2.0 Programmer’s Reference
4-23
Property Description
Acknowledged messaging service (ST_WEB_ACK). This
means that the sending device expects to receive
confirmation from the receiving device that a data point
update was delivered. The sending application is notified
when an update fails, but it is up to the developer of the
sending device to handle the notification in the device
application. If you create a Web connection with the Set
function, this property is optional.
<UCPTservicePath>. A reference to the Web service path
where SOAP calls are pushed in the following format:
//WebService[UCPTindex=x]. For example, if you create
an internal binding, x is set to 0, referring to the local
SmartServer. For the first host device you add to the LAN,
x is set to 1; for the second host device it is set to 2; and so
on.
<UCPTpriority>. The priority level currently assigned to
the Web connection for writing updated values to the target
data point. This value may range from 0 to 255 (highest to
lowest priority). The default priority is 255. You can
assign the Web connection a higher priority for updating the
target data point. The priority you specify must be equal to
or higher than the priority used by the last application that
updated the data point.
<UCPTpropagate>. A flag indicating whether updates to
the source data point in a Web connection are to be
propagated over the L
ONWORKS network to the target data
point. If you assign the default value 1 to this property, the
change you make to the source data point will be
propagated to the L
ONWORKS network. If you assign value
0 to this property, the change will be made in the Data
Server, but it will not be propagated over the network.
4.4.3
Using the Set Function on a Web Connection
Use the Set function to overwrite the configuration of a Web connection, or to create a new Web
connection and add it to the Data Server. The input parameters you supply to the function will include
one or more <Item> elements with a Dp_Ref type. Each <Item> element specifies the <UCPTname>
property of the source data point in the Web connection to be created and a <DataPoint> property
referencing the target data point in the connection. The <DataPoint> property must specify the
<UCPTname> of the target data point and the <UCPTservicePath> of the WebBinder destination. The
<DataPoint> property may specify the <UCPT priority> and <UCPTpropagate> properties, which by
default are set to 255 and 1, respectively.
You can modify or create multiple Web connections with a single Set message by specifying two or
more target data points in their respective <DataPoint> properties. However, you should not attempt to
create or write to more than 100 Web connections with a single call to the Set function.
The following example demonstrates how to create two peer-to-peer bindings between two
SmartServers. When a Write function is performed on the source data point in the Web connection
(Net/LON/iLON App/Digital Input 1/nvoClsValue_1), the updated value is propagated to the target
data points (Net/LON/iLON App/Digital Output 1/nviClaValue_1 and Net/LON/iLON App/Digital
Output 2/nviClaValue_2) in the Web connection. The target data points are stored on the Data Server
of a remote SmartServer that has been added to the LAN.
Page view 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 442 443

Comments to this Manuals

No comments