Campbell CS475 Specifiche Pagina 17

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 40
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 16
CS475, CS476, and CS477 Radar Water Level Sensor
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 (e.g., "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. See Table 6-1
shows the specific SDI-12 Command Codes and their
returned values.
TABLE 6-1. SDI-12 Command Codes
SDI12 Measurement Command Returned Values
M! 1) Stage in meters or feet
2) Distance in meters or feet
3) Error Code (see Section 7)
6.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
13
Vedere la pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 39 40

Commenti su questo manuale

Nessun commento