Echelon i.LON SmartServer 2.0 User Manual
Page 4
iv
Preface
Using Include Directives ................................................................... 59
Example Model Files ........................................................................ 59
Saving your Model File ..................................................................... 62
Generating a Device Interface (XIF) File ................................................ 63
Using Long and Short Command Switch Forms .............................. 64
Other Command Switches................................................................ 64
Creating FPMs ................................................................................. 65
Creating New FPM Projects.................................................................... 67
Viewing the Resource Files on a SmartServer................................. 67
Creating an FPM .............................................................................. 68
Updating Data Point Declarations .................................................... 72
Using UFPT Local Variables................................................................... 75
Writing an FPM Application..................................................................... 76
The Writing the FPM Application Initialize() Routine ........................ 76
Writing the FPM Application Work() Routine.................................... 78
Writing the FPM Application OnTimer() Routine .............................. 84
Writing the FPM Application Shutdown() Routine ............................ 85
Writing the FPM Driver Initialize() Routine ....................................... 86
Writing the FPM Driver Work() Routine............................................ 87
Writing the FPM Driver OnTimer() Routine ...................................... 87
Writing the FPM Driver Shutdown() Routine .................................... 88
Checking Compile and Warning Errors ............................................ 89
Using Non-Latin Characters ............................................................. 90
Using Wind River Workbench .......................................................... 92
Using FPM Development Guidelines ............................................. 101
Using SNMP Support ............................................................................ 102
Example FPM Applications and Drivers................................................ 102
Deploying FPMs on a SmartServer.............................................. 105
FPM Deployment Overview......................................................................... 106
Uploading FPM Applications and Drivers ............................................. 107
Deploying FPM Applications........................................................... 111
Deploying FPM Drivers................................................................... 111
Selecting a Network Management Service ........................................... 112
Using LNS Network Management Services ................................... 112
Using Standalone Network Management....................................... 113
Adding FPM Devices to the SmartServer ............................................. 114
Using a Static Device Interface ...................................................... 114
Using a Dynamic Device Interface ................................................. 117
Commissioning FPM Devices ............................................................... 120
Commissioning FPM Devices with the SmartServer...................... 120
Commissioning FPM Devices with the LonMaker Tool.................. 120
Recommissioning FPM Devices..................................................... 121
Testing FPM Applications ..................................................................... 122
Connecting FPM Data Points................................................................ 122
Connections .................................................. 123
Creating Web Connections............................................................. 127
Creating Custom FPM Configuration Web Pages ................................ 133
Updating Data Point Declarations .................................................. 138
Updating FPM Applications and Drivers......................................... 139