11.1 Terms ................................................................................................. 507
11.2 Concepts ............................................................................................. 533
11.2.1 Accuracy, Precision, and Resolution ........................................ 533
12. Attributions ............................................................. 535
Appendices
A. CRBasic Programming Instructions ...................... 537
A.1 Program Declarations .......................................................................... 537
A.1.1 Variable Declarations & Modifiers ............................................ 538
A.1.2 Constant Declarations ................................................................ 539
A.2 Data-Table Declarations ...................................................................... 540
A.2.1 Data-Table Modifiers ................................................................. 540
A.2.2 Data Destinations ....................................................................... 541
A.2.3 Processing for Output to Final-Data Memory ............................ 542
A.2.3.1 Single-Source ................................................................... 542
A.2.3.2 Multiple-Source ................................................................ 544
A.3 Single Execution at Compile ............................................................... 544
A.4 Program Control Instructions .............................................................. 545
A.4.1 Common Program Controls ....................................................... 545
A.4.2 Advanced Program Controls ...................................................... 548
A.5 Measurement Instructions ................................................................... 550
A.5.1 Diagnostics ................................................................................ 550
A.5.2 Voltage ....................................................................................... 551
A.5.3 Thermocouples........................................................................... 551
A.5.4 Resistive-Bridge Measurements ................................................ 551
A.5.5 Excitation ................................................................................... 552
A.5.6 Pulse and Frequency .................................................................. 553
A.5.7 Digital I/O .................................................................................. 554
A.5.7.1 Control.............................................................................. 554
A.5.7.2 Measurement .................................................................... 555
A.5.8 SDI-12 Sensor Suppport — Instructions ................................... 555
A.5.9 Specific Sensors ......................................................................... 556
A.5.9.1 Wireless Sensor Network ................................................. 558
A.5.10 Peripheral Device Support ....................................................... 559
A.6 PLC Control — Instructions ................................................................ 562
A.7 Processing and Math Instructions ........................................................ 563
A.7.1 Mathematical Operators ............................................................. 563
A.7.2 Arithmetic Operators ................................................................. 563
A.7.3 Bitwise Operations ..................................................................... 564
A.7.4 Compound-Assignment Operators ............................................. 565
A.7.5 Logical Operators ...................................................................... 565
A.7.6 Trigonometric Functions ............................................................ 566
A.7.6.1 Intrinsic Trigonometric Functions .................................... 566
A.7.6.2 Derived Trigonometric Functions .................................... 568
A.7.7 Arithmetic Functions ................................................................. 568
A.7.8 Integrated Processing ................................................................. 570
A.7.9 Spatial Processing ...................................................................... 571
A.7.10 Other Functions ........................................................................ 572
20