ADVRATEL <
clocks
>
0204
16
Sets the interval between successive samples for all scan lists in the
“ List-of-Lists” . The sample rate is 2 MHz / (
<
clocks
>
+ 1). The minimum
value for
<
clocks
>
is 19 (decimal), corresponding 10
µ
S advance interval.
For values smaller than 19, 19 will be used.
APPEND
n
<
channel
> <
range
> <
data_flags
>
0110
16
- 0113
16
Adds an item to scan list n where n is 0 - 3 and is determined by the last
op-code digit.
<
channel
>
is the channel on which to make the
measurement.
<
range
>
is an integer from -1 to 4, where 4 indicates the
highest range. A value of 0FFFFh is also allowed, and indicates autorange.
Unless you choose autorange, you must set the range so the A/D can
accommodate the expected SCP output from the specified channel. The
<
data_flags
>
parameter has the format ddc, where dd are destination bits
and c is the conversion flag bit. The destination bits control the disposition
of the measurement data, and the conversion flag determines whether the
measurement is converted as specified in the ASSIGN statement for that
channel, or reported in raw volts. Unless the A/D is overloaded (wrong A/D
range for the SCP gain and input) or the input to the SCP is overloaded
(generally greater than
±
16 VDC) the measurement value returned always
reflects the signal value at the input to the channel’s SCP. The module’s
Control Processor accounts for the A/D range and SCP gain settings. The
following table summarizes the data flag choices:
Data Flags
(Bits 2 - 0)
Meaning
00x
2
No data destination (reference temperature can be updated).
01x
2
Data destination is the Current Value Table (CVT).
10x
2
Data destination is First-In-First-Out Buffer (FIFO).
11x
2
Data destination is both the CVT and the FIFO.
xx1
2
Measurement is reported in Engineering Units (EU).
xx0
2
Measurement is reported in voltage (with reference junction
compensation where appropriate).
x = do not care
Example values of
<
data_flags
>
:
0007
16
= Convert to Engineering Units and store in FIFO and CVT.
0005
16
= Convert and store in FIFO only.
0002
16
= No conversion (leave as voltage) and store in CVT only.
APPENDL <
list
>
0114
16
Adds a scan list to the “ List of Scan Lists” .
<
list
>
is the scan list to add and
can take on the value 0 through 3.
368 Register-Based Programming
Appendix D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com