Campbell-scientific CR1000 Measurement and Control System Manual de usuario Pagina 512

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 588
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 511
Appendix A. CRBasic Programming Instructions
512
ClockReport
SendsthedataloggerclockvaluetoaremotedataloggerinthePakBusnetwork.
Syntax
ClockReport(ComPort, RouterAddr, PakBusAddr)
DataGram
InitializesaSerialServer/DataGram/PakBusapplicationinthedataloggerwhen
aprogramiscompiled.
Syntax
DataGram(ComPort, BaudRate, PakBusAddr, DestAppID, SrcAppID)
DialSequence/EndDialSequence
DefinesthecodenecessarytoroutepacketstoaPakBusdevice.
Syntax
DialSequence(PakBusAddr)
DialSuccess = DialModem(ComPort, DialString, ResponseString)
EndDialSequence(DialSuccess)
GetDataRecord
RetrievesthemostrecentrecordfromadatatableinaremotePakBus
dataloggerandstorestherecordintheCR1000.
Syntax
GetDataRecord(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, Timeout, Tries, TableNo, DestTableName)
Note CR200, CR510PB, CR10XPB, and CR23XPB dataloggers do not respond
to a GetDataRecord request from other PakBus dataloggers.
GetFile
GetsafilefromanotherPakBusdatalogger.
Syntax
GetFile(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "LocalFile", "RemoteFile")
GetVariables
RetrievesvaluesfromavariableorvariablearrayinadatatableofaPakBus
datalogger.
Syntax
GetVariables(ResultCode, ComPort, NeighborAddr, PakBusAddr,
Security, TimeOut, "TableName", "FieldName", Variable,
Swath)
Network
InconjunctionwithSendGetVariables,configuresdestinationdataloggersina
PakBusnetworktosendandreceivedatafromthehost.
Syntax
Network(ResultCode, Reps, BeginAddr, TimeIntoInterval,
Interval, Gap, GetSwath, GetVariable, SendSwath,
SendVariable)
PakBusClock
SetsthedataloggerclocktotheclockofthespecifiedPakBusdevice.
Syntax
PakBusClock(PakBusAddr)
Vista de pagina 511
1 2 ... 507 508 509 510 511 512 513 514 515 516 517 ... 587 588

Comentarios a estos manuales

Sin comentarios