Table of Contents
10
7.7.3.5 Declared Sequences
...........................................................
125
7.7.3.5.1 Data Tables
...............................................................
125
7.7.3.5.2 Subroutines
...............................................................
131
7.7.3.5.3 Incidental Sequences
................................................
132
7.7.3.6 Execution and Task Priority
...............................................
132
7.7.3.6.1 Pipeline Mode
...........................................................
133
7.7.3.6.2 Sequential Mode
.......................................................
134
7.7.3.7 Execution Timing
...............................................................
135
7.7.3.7.1 Scan() / NextScan
.....................................................
135
7.7.3.7.2 SlowSequence / EndSequence
..................................
136
7.7.3.7.3 SubScan() / NextSubScan
.........................................
137
7.7.3.7.4 Scan Priorities in Sequential Mode
...........................
137
7.7.3.8 Instructions
.........................................................................
139
7.7.3.8.1 Measurement and Data-Storage Processing
..............
139
7.7.3.8.2 Argument Types
.......................................................
140
7.7.3.8.3 Names in Arguments
................................................
140
7.7.3.8.4 Expressions in Arguments
........................................
141
7.7.3.8.5 Arrays of Multipliers and Offsets
.............................
141
7.7.3.9 Expressions
........................................................................
142
7.7.3.9.1 Floating-Point Arithmetic
.........................................
143
7.7.3.9.2 Mathematical Operations
..........................................
143
7.7.3.9.3 Expressions with Numeric Data Types
.....................
143
7.7.3.9.4 Logical Expressions
..................................................
145
7.7.3.9.5 String Expressions
....................................................
147
7.7.3.10 Program Access to Data Tables
.......................................
148
7.7.3.11 System Signatures
............................................................
150
7.7.4 Tips
..............................................................................................
150
7.7.4.1 Use of Variable Arrays to Conserve Code Space
...............
150
7.7.4.2 Use of Move() to Conserve Code Space
............................
151
7.8 Programming Resource Library
............................................................
151
7.8.1 Calibration Using FieldCal() and FieldCalStrain()
......................
151
7.8.1.1 CAL Files
...........................................................................
151
7.8.1.2 CRBasic Programming
.......................................................
152
7.8.1.3 Calibration Wizard Overview
............................................
152
7.8.1.4 Manual Calibration Overview
............................................
152
7.8.1.4.1 Single-Point Calibrations (zero, offset, or zero
basis)
................................................................................
153
7.8.1.4.2 Two-point Calibrations (multiplier / gain)
................
153
7.8.1.5 FieldCal() Demonstration Programs
..................................
154
7.8.1.5.1 Zero or Tare (Option 0)
............................................
154
7.8.1.5.2 Offset (Option 1)
......................................................
156
7.8.1.5.3 Zero Basis (Option 4)
...............................................
157
7.8.1.5.4 Two-Point Slope and Offset (Option 2)
....................
159
7.8.1.5.5 Two-Point Slope Only (Option 3)
............................
161
7.8.1.6 FieldCalStrain() Demonstration Program
..........................
162
7.8.1.6.1 Quarter-Bridge Shunt (Option 13)
............................
165
7.8.1.6.2 Quarter-Bridge Zero (Option 10)
..............................
166
7.8.2 Information Services
....................................................................
167
7.8.2.1 PakBus Over TCP/IP and Callback
....................................
168
7.8.2.2 Default HTTP Web Server
.................................................
168
7.8.2.3 Custom HTTP Web Server
................................................
169
7.8.2.4 FTP Server
.........................................................................
172
7.8.2.5 FTP Client
..........................................................................
172
7.8.2.6 Telnet
.................................................................................
172
7.8.2.7 SNMP
.................................................................................
172
7.8.2.8 Ping
....................................................................................
172