Echelon LNS Manuel d'utilisateur Page 96

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 368
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 95
LNS Programmer's Guide
82
Open the network and system to be commissioned:
Set MyNetworks=ObjectServer.Networks
Set MyNetwork=MyNetworks.Item(“MyNetwork”)
MyNetwork.Open()
Specify a network interface, open the system, and set the system
management mode to lcaMgmtModePropagateConfigUpdates :
Set MySystems = MyNetwork.Systems
Set MySystem = MySystems.Item(1)
Set MyNSD.NetworkInterface = MyNetworkInterface
MySystem.Open()
MySystem.MgmtMode = lcaMgmtModePropagateConfigUpdates
Acquire the AppDevices collection for the subsystem
containing the AppDevice objects you have defined.
Perform the following steps for each device, until all devices
have been commissioned:
Bring the device online by setting the State property
of each AppDevice object to
lcaStateCnfgOnline.
MyDevice.State = lcaStateCnfgOnline
Make sure the device has
been asssigned a Neuron ID,
and then optionally load the
device’s application:
MyDevice.LoadEx()
More devices to be
commissioned?
Yes
Synchronize the device configuration properties, and commission the
device. Perform these operations within the same transaction:
MySystem.StartTransaction()
MyDevice.DownloadConfigProperties()
MyDevice.CommissionEx()
MySystem.EndTransaction()
Figure 5.3 Engineered Mode Installation Tasks - Commissioning Phase
The following section describes the steps depicted in figure 5.3 in more detail:
1. If the database was defined on a different PC, copy the database and import it into
the PC being used for the commissioning phase. For details on how you can perform
these tasks, see Chapter 10, LNS Database Management.
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 367 368

Commentaires sur ces manuels

Pas de commentaire