Campbell-scientific CR1000 Measurement and Control System Uživatelský manuál Strana 365

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 588
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 364
Section 8. Operation
365
Table 87. 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()
SetstheCR1000asaDNPslave(outstation/server)withanaddressandDNP3
dedicatedCOMport.NormallyresidesbetweenBeginProgandScan(),soitis
executedonlyonce.ExampleatCRBasicexampleImplementationofDNP3
(p.366),
line20.
Syntax
DNP(ComPort, BaudRate, DNPSlaveAddr)
DNPVariable()
AssociatesaparticularvariablearraywithaDNPobjectgroup.Whenthemaster
pollstheCR1000,itreturnsallthevariablesspecifiedalongwiththeirspecific
groups.Alsousedtosetupeventdata,whichissenttothemasterwheneverthe
valueinthevariablechanges.ExampleatCRBasicexampleImplementationof
DNP3
(p.366),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.TheCR1000willrespondtoanyDNPmasterregardless
ofitsaddress.
Zobrazit stránku 364
1 2 ... 360 361 362 363 364 365 366 367 368 369 370 ... 587 588

Komentáře k této Příručce

Žádné komentáře