beautypg.com

4 using the delete function on modbus data points, Using the delete function on modbus data points – Echelon i.LON SmartServer 2.0 User Manual

Page 266

background image

i.LON SmartServer 2.0 Programmer’s Reference

15-17

You can set multiple Modbus data points with a single Set message. However, you should not attempt
to create or write to more than 100 Modbus data points with a single call to the Set function. The
following example demonstrates how to create a new Modbus data point.

Request (add a Modbus data point to a Modbus device)



0

xsi:type="MOD_Dp_Cfg">

Net/Modbus

Channel/LAE_LCD15_2/VirtFb/T1_1

#8000010128000000[4].UNVT_signed_long#dec

LonFormat="UCPTbaseType">BT_SIGNED_LONG

LonFormat="UCPTmodbusTable">MTT_HR

0
0
16


Response



0

Net/Modbus

Channel/LAE_LCD15_2/VirtFb/T1_1


15.4.4

Using the Delete Function on Modbus Data Points

You can use the Delete function to delete a Modbus data point on the SmartServer. The Delete
function takes an element with a MOD_Dp_Cfg type as its input. The element only
needs to include the Modbus data point’s property in the Delete Request as
demonstrated in the following code sample:

Request



xsi:type="MOD_Dp_Cfg">

Net/Modbus Channel/LAE_LCD15_2/VirtFb/T1_1


Response



0


Net/Modbus

Channel/LAE_LCD15_2/VirtFb/T1_1