Campbell-scientific CR800 and CR850 Measurement and Control Systems Manual de usuario Pagina 348

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 566
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 347
Section 8. Operation
348
Table 83. 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()
SetstheCR800asaDNPslave(outstation/server)withanaddressandDNP3
dedicatedCOMport.NormallyresidesbetweenBeginProgandScan(),soitis
executedonlyonce.ExampleatCRBasicexampleImplementationofDNP3
(p.349),
line20.
Syntax
DNP(ComPort, BaudRate, DNPSlaveAddr)
DNPVariable()
AssociatesaparticularvariablearraywithaDNPobjectgroup.Whenthemaster
pollstheCR800,itreturnsallthevariablesspecifiedalongwiththeirspecific
groups.Alsousedtosetupeventdata,whichissenttothemasterwheneverthe
valueinthevariablechanges.ExampleatCRBasicexampleImplementationof
DNP3
(p.349),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.TheCR800willrespondtoanyDNPmasterregardless
ofitsaddress.
Vista de pagina 347
1 2 ... 343 344 345 346 347 348 349 350 351 352 353 ... 565 566

Comentarios a estos manuales

Sin comentarios