Campbell-scientific CR3000 Micrologger Manuel d'utilisateur Page 370

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 590
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 369
Section 8. Operation
370
Table 90. DNP3 Implementation — Data Types Required to Store
Data in Public Tables for Object Groups
Data Type Group Description
Boolean 1 Binary input
2 Binary input change
10 Binary output
12 Control block
Long 30 Analog input
32 Analog change event
40 Analog output status
41 Analog output block
50 Time and date
51 Time and date CTO
8.6.1.2.2 CRBasic Instructions
Complete descriptions and options of commands are available in CRBasic Editor
Help.
DNP()
SetstheCR3000asaDNPslave(outstation/server)withanaddressandDNP3
dedicatedCOMport.NormallyresidesbetweenBeginProgandScan(),soitis
executedonlyonce.ExampleatCRBasicexampleImplementationofDNP3
(p.371),
line20.
Syntax
DNP(ComPort, BaudRate, DNPSlaveAddr)
DNPVariable()
AssociatesaparticularvariablearraywithaDNPobjectgroup.Whenthemaster
pollstheCR3000,itreturnsallthevariablesspecifiedalongwiththeirspecific
groups.Alsousedtosetupeventdata,whichissenttothemasterwheneverthe
valueinthevariablechanges.ExampleatCRBasicexampleImplementationof
DNP3
(p.371),line24.
Syntax
DNPVariable(Source, Swath, DNPObject, DNPVariation, DNPClass,
DNPFlag, DNPEvent, DNPNumEvents)
DNPUpdate()
DetermineswhenDNPslave(outstation/server)willupdateitsarraysofDNP
elements.SpecifiestheaddressoftheDNPmastertowhicharesentunsolicited
responses(eventdata).MustbeincludedoncewithinaScan()/NextScanforthe
DNPslavetoupdateitsarrays.Typicallyplacedinaprogramafterth
eelements
inthearrayareupdated.TheCR3000willrespondtoanyDNPmasterregardless
ofitsaddress.
Syntax
DNPUpdate (DNPSlaveAddr,DNPMasterAddr)
Vue de la page 369
1 2 ... 365 366 367 368 369 370 371 372 373 374 375 ... 589 590

Commentaires sur ces manuels

Pas de commentaire