Campbell CS475 Bedienungsanleitung Seite 28

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 48
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 27
CS475, CS476, and CS477 Radar Water Level Sensor
18
The values returned from the SDI12Recorder() instruction are different depending
on the SDI-12 measurement command issued. The SDI12Recorder() instruction
sends the command specified by the SDI12Command parameter as
(address)SDI12Command!.
SDI12Recorder(Dest, SDIPort, SDIAddress, “SDICommand”, Multiplier, Offset)
The SDI12Recorder() instruction has the following parameters:
Dest The Dest parameter is a variable in which to store the results of
the measurement. Dest must have enough elements to store all
the data that is returned by the sensor or a ‘variable out of range’
error will result during the execution of the instruction.
SDIPort The SDIPort parameter is the port to which the SDI-12 sensor is
connected. A numeric value is entered:
Code
Description
1 Control Port 1
3 Control Port 3
5 Control Port 5
7 Control Port 7
SDIAddress The SDIAddress parameter is the address of the sensor that will
be affected by this instruction. Valid addresses are 0 through 9,
A through Z, and a through z. Alphabetical characters should be
enclosed in quotes (for example, “0”).
SDICommand The SDICommand parameter is used to specify the command
strings that will be sent to the sensor. The command should be
enclosed in quotes. Table 7-2 shows the specific SDI-12
Command Codes and their returned values.
Table 7-2. SDI-12 Command Codes
SDI12 Measurement Command Returned Values
M!
1) Stage in metres or feet
2) Distance in metres or feet
3) Error Code (see Section 8,
Diagnostics, Repair, and
Maintenance)
7.5.1.1 Example Program
'CR1000 Series Datalogger
'Declare the variable for the water level measurement
Public CS475(3)
'Rename the variable names
Alias CS475(1)=Stage
Alias CS475(2)=Distance
Alias CS475(3)=Error_Code
'Define a data table for 60 minute maximum and minimums
DataTable (Hourly,True,-1)
DataInterval(0,60,Min,10)
Maximum(1,Distance,FP2,0,0)
Seitenansicht 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 47 48

Kommentare zu diesen Handbüchern

Keine Kommentare