beautypg.com

4 using the delete function on m bus devices, 3 m bus virtual functional blocks, 4 m bus data points – Echelon i.LON SmartServer 2.0 User Manual

Page 278: Using the delete function on m-bus devices -11, M-bus virtual functional blocks -11, M-bus data points -11, M-bus virtual functional blocks, M-bus data points

background image

i.LON SmartServer 2.0 Programmer’s Reference

16-11

16.2.4

Using the Delete Function on M-Bus Devices

You can use the Delete function to delete an M-Bus device on the SmartServer. The Delete function
takes an element with an MBS_Device_Cfg type as its input. The element only needs
to include the device’s property in the Delete Request as demonstrated in the following
code sample:

Request



Net/M-Bus Channel/M-Bus Device 2


Response



0


Net/M-Bus Channel/M-Bus Device 2



16.3

M-Bus Virtual Functional Blocks

Before you can add data points to an M-Bus device, you need to use the Set function to create a Virtual
functional block under the M-Bus device. This virtual functional block is used to encapsulate the
M-Bus data points and enable the M-Bus driver to adhere to the network hierarchy naming convention.
The Set function takes an element with an MBS_Fb_Cfg type as its input, as shown in the
example below.

Request (add a virtual functional block to an M-Bus device)



xsi:type="MBS_Fb_Cfg">

Net/M-Bus

Channel/M-Bus

Device/VirtFb



Response



0

Net/M-Bus

Channel/M-Bus

Device/VirtFb


16.4

M-Bus Data Points

The following section describes how to use the List, Get, Set, and Delete functions on M-Bus data
points. For information on reading and writing values to M-Bus data points, see Chapter 4, Using the
SmartServer Data Server
.