Scan function, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 258

258
2 Installation and Specifications
2.4 F
o
rm
ulas
Scan function
The scan function rapidly collects potentially large quantities of
measurement data from all input channels simultaneously. When the
scan function is initiated, all channel inputs are collected in a series of
data records that are stored in a temporary memory buffer. No data are
displayed on the DRO and no formulas are evaluated during the
scanning period. This process is explained in detail below and shown
by the flowchart on the next page.
Parameters specified for the scan function include:
ch (Reference channel): Scans of all channels are collected at
predetermined intervals that are measured by the reference channel
st (Starting value): Scans begin when the reference channel
measurement reaches this value
inc (Scanning increment): A new scan is performed each time the
reference channel value increases (or decreases) by this increment
value. The scans continue only when the increments progress in the
same direction (+ or -) over the scanning cycle.
dp (Depth of scans): Scans are accumulated in a temporary buffer
memory until the specified depth (number) of scans has been
collected, or until the timeout interval has elapsed
to (Timeout interval): Scanning is aborted if the timeout interval
expires before the specified depth of scans have been collected. A
RsetDyn function must be performed before the Scan function can
be used again.
When scanning begins, the reference channel value (ch) is compared
to the Starting value (st) parameter. When the reference channel value
reaches the starting value, all channel inputs are scanned once and
stored in a temporary memory buffer. The system then waits for the
reference channel value to cross the first increment above (or below)
the starting value.
Send function in OnEvent function.
Scan function syntax
Scan (ch, st, inc, dp, to)
Reference
Channel
Value
Number of
Input channel
scans (depth)
Increment (sp) #5
Increment (sp) #4
Increment (sp) #3
Increment (sp) #2
Increment (sp) #1
Starting value (st)
All channel values stored
and system waits for first incremental value.