
CS511-L Dissolved Oxygen Probe
7.2.1.2 Example CR200(X) Program
The CR200(X)-series must use the
VoltSE()
instruction since these dataloggers
do not make differential measurements. If the other CRBasic dataloggers use
the
VoltSE()
instruction instead of the
VoltDiff()
instruction, their
programming will be similar to this example. TABLE 7-3 shows the wiring for
the example.
TABLE 7-3. Wiring for CR200(X) Example
CR200(X) Connection
Sensor Wire
SE1 White
Ground Black
Ground Clear
'CR200(X) Series
'Declare Variables and Units
Public Batt_Volt
Public DOmV
Public DOppm
Units Batt_Volt=Volts
Units DOmV=mV
Units DOppm=ppm
'Define Data Tables
DataTable(Table1,True,-1)
DataInterval(0,60,Min)
Sample(1,DOmV)
EndTable
DataTable(Table2,True,-1)
DataInterval(0,1440,Min)
Minimum(1,Batt_Volt,False,False)
EndTable
'Main Program
BeginProg
Scan(10,Sec)
'Default Datalogger Battery Voltage measurement Batt_Volt:
Battery(Batt_Volt)
'CS511 Dissolved Oxygen Probe measurements DOmV and DOppm:
VoltSE(DOmV,1,1,1,0)
DOppm=DOmV*0.34
'Call Data Tables and Store Data
CallTable(Table1)
CallTable(Table2)
NextScan
EndProg
13
Содержание CS511-L
Страница 2: ......
Страница 28: ...CS511 L Dissolved Oxygen Probe 22...
Страница 29: ...Appendix A Dissolved Oxygen Tables A 1...
Страница 30: ...Appendix A Dissolved Oxygen Tables A 2...
Страница 37: ......