beautypg.com

4 using the web binder application, Using the web binder application -19, Web binding – Echelon i.LON SmartServer 2.0 User Manual

Page 60: Using the web binder application

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-19

data point is still registered on its respective bus. The following code sample demonstrates how to use
the Delete function to delete a data point on the Data Server:

Request



xsi:type="LON_Dp_Cfg">

Net/LON/iLON

App/VirtFb/nvoSwitch



Response



0


Net/LON/iLON

App/VirtFb/nvoSwitch


Note: The xsi:types for the data points on the L

ON

W

ORKS

, Modbus, M-Bus, and Virtual drivers are as

follows:

Driver xsi:type

L

ON

W

ORKS

LON_Dp_Cfg

Modbus MOD_Dp_Cfg

M-Bus MBS_Dp_Cfg

Virtual Virtual_Dp_Cfg

4.4

Using the Web Binder Application

You can use the Web Binder application to create Web connections that allow direct data exchange
over a TCP/IP network between a SmartServer and another host device such as a remote SmartServer,
LNS Server, or a WebBinder Target Server (a Web server that can process SOAP requests such as
Apache or IIS). Once you create a Web connection, the SmartServer will send a Write message to the
target host device in the Web connection (called a WebBinder destination) each time a source data
point on the local SmartServer is updated. This means that you only need to implement the Write
function on the Data Server to create an application on the Web server that receives WebBinder
updates from the SmartServer.

You can create four types of web connections: internal bindings, peer-to-peer bindings, LNS uplink
bindings, and enterprise bindings.

• An internal binding is a connection between two data points on the same SmartServer. You can

create internal bindings on your local SmartServer or on a remote SmartServer that you have
added to the LAN. Internal bindings are useful for translating the data between two L

ON

W

ORKS

devices that have incompatible formats, as well as translating data between devices on different
buses (L

ON

W

ORKS

, Modbus, and M-Bus).

• A peer-to-peer binding is a connection between two separate SmartServers. For example, you can

create a peer-to-peer binding between a data on your local SmartServer to a data point on a remote
SmartServer that you have added to the LAN. Peer-to-peer bindings provide an alternative
solution to IP-852 connections for connecting devices over multiple networks; however, they are