Campbell CS100 Instruction Manual Page 15

  • Download
  • Add to my manuals
  • Print
  • Page
    / 20
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 14
Instruction Manual
7
5.3 Program Examples
The CS100 wiring instructions for the example programs are shown in
Table 4 below.
Table 4. Wiring for Example Programs
Wire Colour Description CR10(X) CR1000
Blue VOUT – Pressure Signal Out SE6 SE15
Red SUPPLY – 12 Vdc Power In 12V 12V
Black GND – Power Ground G G
Yellow AGND – Signal Ground AG
Green ETX. TRIG. – External Trigger C8 C4
Clear Shield G G
Example 1. Sample Program for CR1000 (CRBasic) Datalogger
'CR1000 Datalogger
Public CS100_temp
Public pressure
Units pressure = mbar
DataTable (met_data,True,-1)
DataInterval (0,60,min,10)
Sample (1,pressure,IEEE4)
EndTable
BeginProg
Scan (1,sec,3,0)
‘Measurement is made every scan outside the “If” statement
VoltSe (CS100_temp,1,mV2500,15,False,200,250,0.2,600)
‘Turn on CS100 one minute before the hour
If (IfTime (59,60,min)) Then WriteIO (&b1000,&b1000)
‘Copy the correct value to a current variable called “pressure” at the top of the hour
‘Turn off CS100 after measurement
If (IfTime (0,60,min)) Then
pressure = CS100_temp
WriteIO (&b1000,&b0)
EndIf
CallTable met_data
NextScan
EndProg
Page view 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20

Comments to this Manuals

No comments