07.01.2015 Views

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - Campbell Scientific

CR200/CR200X Series Dataloggers - Campbell Scientific

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table of Contents<br />

9.7 Declarations II - Declared Sequences .................................................................. 77<br />

9.7.1 Data Tables ............................................................................................. 77<br />

9.7.2 Subroutines ............................................................................................. 83<br />

9.8 Program Execution Timing .................................................................................. 83<br />

9.9 Instructions ........................................................................................................... 84<br />

9.9.1 Measurement and Data Storage Processing ............................................ 84<br />

9.9.2 Parameter Types ..................................................................................... 85<br />

9.9.3 Names in Parameters .............................................................................. 85<br />

9.9.4 Expressions in Parameters ...................................................................... 86<br />

9.9.5 Arrays of Multipliers and Offsets ........................................................... 86<br />

9.10 Expressions ........................................................................................................ 87<br />

9.10.1 Floating Point Arithmetic ....................................................................... 87<br />

9.10.2 Mathematical Operations ........................................................................ 87<br />

9.10.3 Logical Expressions ................................................................................ 88<br />

9.11 Program Access to Data Tables .......................................................................... 90<br />

Section 10. CRBASIC Programming Instructions .... 93<br />

10.1 Program Declarations ........................................................................................... 93<br />

10.1.1 Variable Declarations & Modifiers ......................................................... 93<br />

10.1.2 Constant Declarations ............................................................................. 93<br />

10.2 Data Table Declarations ..................................................................................... 94<br />

10.2.1 Data Table Modifiers .............................................................................. 94<br />

10.2.2 Data Storage Output Processing ............................................................. 94<br />

10.3 Single Execution at Compile .............................................................................. 95<br />

10.4 Program Control Instructions ............................................................................. 96<br />

10.4.1 Common Controls ................................................................................... 96<br />

10.5 Measurement Instructions .................................................................................. 98<br />

10.5.1 Diagnostics ............................................................................................. 98<br />

10.5.2 Voltage .................................................................................................... 98<br />

10.5.3 Pulse ........................................................................................................ 98<br />

10.5.4 Digital I/O ............................................................................................... 99<br />

10.5.5 SDI-12..................................................................................................... 99<br />

10.6 Processing and Math Instructions ..................................................................... 100<br />

10.6.1 Mathematical Operators ........................................................................ 100<br />

10.6.2 Logical Operators ................................................................................. 100<br />

10.6.3 Trigonometric Functions ....................................................................... 101<br />

10.6.4 Arithmetic Functions ............................................................................ 102<br />

10.6.5 Spatial Processing ................................................................................. 103<br />

10.6.6 Other Functions..................................................................................... 104<br />

10.7 Clock Functions................................................................................................ 104<br />

10.8 Serial Input / Output ......................................................................................... 105<br />

10.9 Peer-to-Peer PakBus Communications ............................................................. 105<br />

10.10 Data Table Access and Management ............................................................. 106<br />

10.11 SCADA ......................................................................................................... 107<br />

10.12 Satellite Systems Programming ..................................................................... 108<br />

10.12.1 GOES .................................................................................................... 108<br />

Section 11. Programming Resource Library ........... 109<br />

11.1 Remote Sensor Interface .................................................................................... 109<br />

11.2 Radio Power Minimization ................................................................................ 110<br />

11.3 Multiple Switch Closure Measurements ............................................................ 112<br />

11.4 SDI-12 Sensor Support ...................................................................................... 112<br />

11.4.1 SDI-12 Command Basics ...................................................................... 112<br />

11.4.2 SDI-12 Communications ...................................................................... 116<br />

iii

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!