beautypg.com

4 using the delete function on m bus channels, Using the delete function on m-bus channels -5, Using the delete function on m-bus channels – Echelon i.LON SmartServer 2.0 User Manual

Page 272

background image

i.LON SmartServer 2.0 Programmer’s Reference

16-5

• If you are creating a new M-Bus channel, you only need to specify the

property; all other properties are optional.

• If you are modifying an existing channel, you must specify the channel’s . If you

do not specify the handle, a new channel is created. All other properties must be filled; otherwise
the values stored in them are erased. The previous section, Using the Get Function on M-Bus
Channels
, details the properties you can include in the Set function.

Request (create a new M-Bus channel on the SmartServer)



xsi:type="MBS_Channel_Cfg">

Net/M-Bus

Channel

IP

LonFormat="UCPTchannelType">CT_TCP_IP_MASTER



Response



0

xsi:type="MBS_Channel_Cfg">

Net/M-Bus

Channel

IP
0
2008-04-02T11:43:37.460-07:00
MBS_Channel_Cfg.htm
1

LonFormat="UCPTchannelType">CT_TCP_IP_MASTER

502

LonFormat="UCPTretryCount">1



16.1.4

Using the Delete Function on M-Bus Channels

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

Request



xsi:type="MBS_Channel_Cfg">

Net/M-Bus

Channel


Response



0


Net/M-Bus

Channel