Table of Contents
A.5.1
Common Program Controls
....................................................
523
A.5.2
Advanced Program Controls
...................................................
526
A.6 Measurement Instructions
....................................................................
528
A.6.1
Diagnostics
.............................................................................
528
A.6.2
Voltage
...................................................................................
528
A.6.3
Thermocouples
.......................................................................
529
A.6.4
Resistive-Bridge Measurements
.............................................
529
A.6.5
Excitation
................................................................................
530
A.6.6
Pulse and Frequency
...............................................................
531
A.6.7
Digital I/O
...............................................................................
531
A.6.7.1 Control
.............................................................................
532
A.6.7.2 Measurement
....................................................................
532
A.6.8
SDI-12
....................................................................................
533
A.6.9
Specific Sensors
......................................................................
533
A.6.9.1 Wireless Sensor Network
.................................................
535
A.6.10 Peripheral Device Support
......................................................
536
A.7 Processing and Math Instructions
........................................................
539
A.7.1
Mathematical Operators
..........................................................
539
A.7.2
Arithmetic Operators
..............................................................
540
A.7.3
Bitwise Operators
...................................................................
540
A.7.4
Compound-Assignment Operators
.........................................
542
A.7.5
Logical Operators
...................................................................
542
A.7.6
Trigonometric Functions
........................................................
543
A.7.6.1 Derived Functions
............................................................
543
A.7.6.2 Intrinsic Functions
...........................................................
544
A.7.7
Arithmetic Functions
..............................................................
545
A.7.8
Integrated Processing
..............................................................
547
A.7.9
Spatial Processing
...................................................................
548
A.7.10 Other Functions
......................................................................
549
A.7.10.1 Histograms
.......................................................................
550
A.8 String Functions
...................................................................................
551
A.8.1
String Operations
....................................................................
551
A.8.2
String Commands
...................................................................
551
A.9 Time Keeping — Instructions
..............................................................
554
A.10
Voice-Modem Instructions
............................................................
556
A.11
Custom Keyboard and Display Menus
..........................................
558
A.12
Serial Input / Output
......................................................................
559
A.13
Peer-to-Peer PakBus® Communications
.......................................
561
A.14
Variable Management
...................................................................
565
A.15
File Management
...........................................................................
566
A.16
Data-Table Access and Management
............................................
568
A.17
TCP/IP
...........................................................................................
570
A.18
Modem Control
.............................................................................
573
A.19
SCADA
.........................................................................................
574
A.20
Calibration Functions
....................................................................
575
A.21
Satellite Systems
............................................................................
576
A.21.1 Argos
......................................................................................
576
A.21.2 GOES
......................................................................................
577
A.21.3 OMNISAT
..............................................................................
577
A.21.4 INMARSAT-C
.......................................................................
578
A.22
User-Defined Functions
.................................................................
578
18