beautypg.com
LNS Programmer's Guide
ix
Installing Devices With Multiple Channels...............................................................................175
Channel Isolation Process.....................................................................................................176
Resolving Installation Failures ............................................................................................177
Moving Devices and Routers Between Channels ......................................................................177
Removing Routers........................................................................................................................178
Using Dynamic Device Interfaces .....................................................................................................179
Accessing a Device Interface .......................................................................................................179
Adding a Custom Interface to a Device................................................................................181
Adding LonMark Functional Blocks To a Custom Interface..............................................182
Adding Message Tags To a Custom Interface .....................................................................183
Creating Dynamic Network Variables.................................................................................184
Tracking Custom Interface Changes ...................................................................................185
Changeable Network Variable Types ...............................................................................................185
SCPTnvType Configuration Properties......................................................................................186
Chapter 9 - Monitor and Control
.................................................................................................... 189
Introduction to Monitor and Control.................................................................................................190
Temporary and Permanent Monitor Sets .........................................................................................192
Permanent Monitor Sets .............................................................................................................192
Temporary Monitor Sets..............................................................................................................193
Creating Monitor Sets........................................................................................................................194
Managing Monitor Sets......................................................................................................................195
Adding Network Variable Monitor Points to a Monitor Set .....................................................195
Adding Message Monitor Points to a Monitor Set.....................................................................197
Setting Monitoring Options.........................................................................................................200
Network Variable Monitor Point Options............................................................................201
Message Monitor Point Options ...........................................................................................208
Opening and Enabling Monitor Sets.................................................................................................213
Using the Enable Method .....................................................................................................213
Using Network Variable Monitor Points ..........................................................................................214
Explicitly Reading and Writing Network Variable Monitor Points .........................................215
Example of Explicitly Reading a Network Variable Monitor Point...................................216
Example of Explicitly Writing a Network Variable Monitor Point....................................216
Polled Network Variable Monitoring..........................................................................................217
Setting the Poll Interval .......................................................................................................218
Example of a Network Variable Event Handler .................................................................219
The Implicit Bound Network Variable Monitoring Scenario....................................................220
The Explicit Bound Network Variable Monitoring and Control Scenario...............................221
Fan-in Connections ...............................................................................................................221
Fan-out Connections .............................................................................................................222
Creating and Using Host Network Variables......................................................................223
Using Message Monitor Points..........................................................................................................224
Monitoring Message Monitor Points ..........................................................................................225
Receiving Message Monitor Point Updates .........................................................................226
Example Message Monitor Point Event Handler................................................................226
Controlling Message Points.........................................................................................................227
Developing Remote Monitor and Control Applications ...................................................................227
Tracking Monitor Point Updates.......................................................................................................228
System Management Mode Considerations .....................................................................................230
Directly Reading and Writing Network Variables...........................................................................231
Data Points and Enumerated Types...........................................................................................232
Using Configuration Properties In a Monitor and Control Application .........................................233
Device-Specific Configuration Properties...................................................................................234
Using the GetDataPoint Method ................................................................................................235