beautypg.com

Echelon i.LON SmartServer 2.0 User Manual

Page 228

background image

i.LON SmartServer 2.0 Programmer’s Reference

14-28

LonFormat="UCPTstatus">STATUS_REQUEST





ImageDownload

You can use the ImageDownload command to download an application image file (.apb extension)
stored on the SmartServer flash disk to the device. When using the ImageDownload command, you
must specify the desired of the application image file to be downloaded to the
device. If the device interface of the device being loaded has changed, you can include the

property

and set it to the full path of the external interface file (.XIF extension)

or device template (.XML extension) on the SmartServer flash disk, and then use the GetTemplate
command to activate the new device interface on the SmartServer. The following example
demonstrates how to download an application to a device and activate a new device interface file on
the SmartServer.



xsi:type="LON_Device_Cfg">

Net/LON/AI-1
3
000256654500
80000105188a0403

LonFormat="UCPTapplicationStatus">APP_RUNNING

LonFormat="UCPTcommissionStatus">COMMISSIONED

/root/lonWorks/import/Echelon/LonPoint/Version3/ai-10v3.apb

/root/lonWorks/Import/Echelon/LonPoint/Version3/ai-10v3.xif>


ImageDownload

LonFormat="UCPTstatus">STATUS_REQUESTUCPTstatus>



GetTemplate

LonFormat="UCPTstatus">STATUS_REQUEST




GetTemplate

You can use the GetTemplate command to activate a new device interface on the SmartServer. When
using the GetTemplate command, you must specify the device’s

property

and set

it to the full path of the external interface file (.XIF extension) or device template (.XML extension) on
the SmartServer flash disk. The following example demonstrates how to activate a new device
interface file on the SmartServer.



xsi:type="LON_Device_Cfg">

Net/LON/AI-1
3
000256654500
80000105188a0403

LonFormat="UCPTapplicationStatus">APP_RUNNING

LonFormat="UCPTcommissionStatus">COMMISSIONED

/root/lonWorks/Import/Echelon/LonPoint/Version3/ai-10v3.xif>


GetTemplate

LonFormat="UCPTstatus">STATUS_REQUEST