beautypg.com

7 data point values and priority levels, Data point values and priority levels -17, Data point values and priority levels – Echelon i.LON SmartServer 2.0 User Manual

Page 58

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-17

Response



0

Net/LON/iLON

App/VirtFb/nvoSwitch

Dp_Out;xsi:type=“LON_Dp_Cfg”
0

LonFormat="SNVT_switch.value">85



4.3.6

Using the Invoke Function to Reset Data Point Priorities

You can use the Invoke function to reset the priority of a data point to 255—the lowest possible
priority level. The input parameters you supply to this function will include one or more
elements of a Dp_ResetPrio_Invoke type. Each element must include a
property, specifying the unique name of the data point to whose priority is to be reset to 255, and a
property, specifying a priority level that is equal to or greater than the current priority
assigned to the data point. You should not attempt to write to more than 100 data points with a single
call to the Invoke function.

The Invoke function resets the priority level assigned to each data point referenced in the input
parameters to 255. Once the priority level assigned to a data point has been reset to 255, all
applications in which the data point is registered are notified, and the next highest-priority application
can write values to that data point.

The priority level specified in the input must be equal or higher priority than the current priority
assigned to the data point for it to be reset. For more information on priority levels, see Writing
Priority Levels
.

Request (reset the priority of a data point that currently has a priority level of 240)



xsi:type="Dp_ResetPrio_Invoke">

Net/LON/iLON

App/VirtFb/nvoSwitch

235



Response



0


Net/LON/iLON

App/VirtFb/nvoSwitch




If the priority level you specify in the property is lower than the priority currently
assigned to the data point, the Response message will include the following fault code:


faultType="_error">12

Priority too low to reset priority

4.3.7

Data Point Values and Priority Levels

As described in the Using the Write Function on the Data Server section, you must specify a priority
level in the property that is greater than or equal to the priority level used by the last
application in order to write an updated value to a data point.