3 analog functional block soap interface, Analog functional block soap interface -2, Analog functional block soap interface – Echelon i.LON SmartServer 2.0 User Manual

Page 120

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

8-2

</DataPoint>

<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Input" discrim="dir_in" >

<UCPTname>Net/LON/iLON App/Digital Output 2/nviClaValue_2</UCPTname>

<UCPTfieldName>value</UCPTfieldName>
<UCPTpollRate>900</UCPTpollRate>
</DataPoint>

<DataPoint xsi:type="UFPTanalogFunctionBlock_DpRef" dpType="Output" discrim="dir_out" >

<UCPTname>Net/LON/iLON App/Digital Input 1/nvoClsValue_1</UCPTname>

<UCPTfieldName>value</UCPTfieldName>
</DataPoint>

<UCPTcompFunction LonFormat="UCPTcompFunction" >FN_NUL</UCPTcompFunction>

<UCPTmajorityValue>100</UCPTmajorityValue>

<UCPTtrueThreshold LonFormat="UNVT_float" ></UCPTtrueThreshold>

<UCPToutputFunction LonFormat="UCPToutputFunction" >FN_MAX</UCPToutputFunction>

<SCPTminRnge LonFormat="#0000000000000000[0].SNVT_switch.value" >0</SCPTminRnge>

<SCPTmaxRnge LonFormat="#0000000000000000[0].SNVT_switch.value" >0</SCPTmaxRnge>

<UCPTcalculationInterval>0.0</UCPTcalculationInterval>

<SCPTovrBehave LonFormat="SCPTovrBehave" >OV_RETAIN</SCPTovrBehave>

<UCPTpollOnResetDelay>0.0</UCPTpollOnResetDelay>
</Item>

8.2

Creating and Modifying the Analog Functional Block XML

File

You can create and manage the #8000010128000000[4].UFPTanalogFunctionBlock.xml file with the
Set SOAP function. The following section, Analog Functional Block SOAP Interface, describes how
to use Set and the other SOAP functions provided for the Analog Functional Block application.

Alternatively, you can create and manage the #8000010128000000[4].UFPTanalogFunctionBlock.xml
file manually with an XML editor and download it to the SmartServer via FTP. Echelon does not
recommend this, as the SmartServer will require a reboot to read the configuration of the downloaded
file. Additionally, the SmartServer performs error checking on all SOAP messages it receives before
writing to the XML file. It will not perform error checking on any XML files you download via FTP,
and thus the application may not boot properly.

If you plan to create the XML file manually, you should review the rest of this chapter first, as it
describes the elements and properties in the XML file that define each Analog Functional Block’s
configuration.

8.3

Analog Functional Block SOAP Interface

You can use the SOAP interface to perform the following functions on an Analog Functional Block
application:

Function Description

List

Generate a list of the Analog Functional Blocks that you have added
to the SmartServer.

Get

Retrieve the configuration of any Analog Functional Block that you
have added to the SmartServer.

Set

Create a new Analog Functional Block, or overwrite the configuration
of an existing Analog Functional Block.

Delete

Delete an Analog Functional Block.

8.3.1

Using the List Function on an Analog Functional Block

Use the List function to retrieve a list of the Analog Functional Blocks that you have added to the
SmartServer. The List function takes an <iLonItem> element that includes an xSelect statement

Advertising