Table of Contents
iii
9.7
Declarations II - Declared Sequences ..................................................................77
9.7.1
Data Tables ............................................................................................. 77
9.7.2
Subroutines ............................................................................................. 83
9.8
Program Execution Timing.................................................................................. 83
9.9
Instructions........................................................................................................... 84
9.9.1
Measurement and Data Storage Processing ............................................ 84
9.9.2
Parameter Types ..................................................................................... 85
9.9.3
Names in Parameters ..............................................................................85
9.9.4
Expressions in Parameters ...................................................................... 86
9.9.5
Arrays of Multipliers and Offsets ........................................................... 86
9.10
Expressions ........................................................................................................ 87
9.10.1
Floating Point Arithmetic ....................................................................... 87
9.10.2
Mathematical Operations ........................................................................ 87
9.10.3
Logical Expressions................................................................................88
9.11
Program Access to Data Tables.......................................................................... 90
Section 10.
CRBASIC Programming Instructions .... 93
10.1
Program Declarations...........................................................................................93
10.1.1
Variable Declarations & Modifiers......................................................... 93
10.1.2
Constant Declarations ............................................................................. 93
10.2
Data Table Declarations .....................................................................................94
10.2.1
Data Table Modifiers .............................................................................. 94
10.2.2
Data Storage Output Processing ............................................................. 94
10.3
Single Execution at Compile.............................................................................. 95
10.4
Program Control Instructions ............................................................................. 96
10.4.1 Common
Controls................................................................................... 96
10.5
Measurement Instructions .................................................................................. 98
10.5.1
Diagnostics ............................................................................................. 98
10.5.2
Voltage....................................................................................................98
10.5.3
Pulse........................................................................................................98
10.5.4
Digital I/O............................................................................................... 99
10.5.5
SDI-12..................................................................................................... 99
10.6
Processing and Math Instructions..................................................................... 100
10.6.1
Mathematical Operators........................................................................ 100
10.6.2
Logical Operators ................................................................................. 100
10.6.3
Trigonometric Functions....................................................................... 101
10.6.4
Arithmetic Functions ............................................................................ 102
10.6.5
Spatial Processing ................................................................................. 103
10.6.6
Other Functions..................................................................................... 104
10.7
Clock Functions................................................................................................ 104
10.8
Serial Input / Output......................................................................................... 105
10.9
Peer-to-Peer PakBus Communications............................................................. 105
10.10
Data Table Access and Management............................................................. 106
10.11
SCADA ......................................................................................................... 107
10.12
Satellite Systems Programming..................................................................... 108
10.12.1
GOES.................................................................................................... 108
Section 11.
Programming Resource Library........... 109
11.1
Remote Sensor Interface .................................................................................... 109
11.2
Radio Power Minimization ................................................................................ 110
11.3
Multiple Switch Closure Measurements ............................................................ 112
11.4
SDI-12 Sensor Support ...................................................................................... 112
11.4.1
SDI-12 Command Basics...................................................................... 112
11.4.2
SDI-12 Communications ...................................................................... 116
Содержание CR200
Страница 32: ...Section 2 Quickstart Tutorial 22 ...
Страница 45: ...Section 3 Overview 35 3 3 Specifications ...
Страница 46: ...Section 3 Overview 36 ...
Страница 58: ...Section 4 Sensor Support 48 ...
Страница 62: ...Section 5 Measurement and Control Peripherals 52 ...
Страница 78: ...Section 8 CR200 X Configuration 68 ...
Страница 102: ...Section 9 Programming 92 ...
Страница 138: ...Section 11 Programming Resource Library 128 ...
Страница 156: ...Section 16 Support Software 146 ...
Страница 160: ...Section 17 Care and Maintenance 150 ...
Страница 166: ...Section 18 Troubleshooting 156 18 3 3 Diagnosis and Fix Procedures 18 3 3 1 Battery Voltage Test ...
Страница 167: ...Section 18 Troubleshooting 157 18 3 3 2 Charging Circuit Test Solar Panel ...
Страница 168: ...Section 18 Troubleshooting 158 18 3 3 3 Charging Circuit Test Transformer ...
Страница 169: ...Section 18 Troubleshooting 159 18 3 3 4 Adjusting Charging Circuit Voltage ...
Страница 170: ...Section 18 Troubleshooting 160 ...
Страница 184: ...Appendix A Glossary 14 ...
Страница 190: ...Appendix B Status Table and Settings 20 ...
Страница 192: ...Appendix C Serial Port Pin Outs 22 ...
Страница 211: ......