beautypg.com

3 using the set function on the data server, Using the set function on the data server -10 – Echelon i.LON SmartServer 2.0 User Manual

Page 51

background image

i.LON SmartServer 2.0 Programmer’s Reference

4-10

Property Description

it exists for the data point type selected. This value represents
the minimum value the data point can be updated to.

Note: You can use the Set function to change this limit in the
Data Server. However, you must program your application to
enforce the new limit, as the SmartServer will continue to
enforce the limit taken from the resource files.

Optional. This value is initially taken from the i.LON 100
resource files, if it exists for the data point type selected. This
value represents the maximum value the data point can be
updated to.

Note: You can use the Set function to change this limit in the
Data Server. However, you must program your application to
enforce the new limit, as the SmartServer will continue to
enforce the limit taken from the resource files.

Optional. The invalid value for the data point. If the data point
is updated to this value, the of the data
point will be set to AL_VALUE_INVALID. The status will be
returned to a normal condition (AL_NO_CONDITION) as soon
as the value is set to a valid value again. A default value will be
assigned to the property based on the
selected, if an invalid value is
defined for the selected format in the resource files.

You could create an Alarm Notifier to trigger an alarm
notification when an invalid value is written to a data point and
the data point’s status is updated to AL_VALUE_INVALID.
For more information on Alarm Notifiers, see Chapter 7, Alarm
Notifier
.

The elements specify preset value definitions that
can be assigned to the data point. You can use these preset
values to update the value of the data point when other
SmartServer applications such as the Event Scheduler or the
Alarm Notifier reference them.

Each element includes three properties:

. The index value assigned to the preset.
. The name of the preset. You will use this

name when referencing the preset value with other
applications.

. The value the data point should be assigned

to when this preset is used. The values entered here must
be in valid format, as defined by the network variable type
assigned to the data point.

4.3.3

Using the Set Function on the Data Server

You can use the Set function to overwrite the configuration of a data point, or to create a new data
point and add it to the Data Server. The input parameters you supply to the function will include one