4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 260

260
2 Installation and Specifications
2.4 F
o
rm
ulas
Each time the value of the reference channel increases or decreases
by the specified increment (inc), another scan of all input channels is
collected and stored in the temporary buffer. Input channel scanning
continues in this manner at each new increment until the specified
depth of scans (dp) is collected.
Reference channel values between increments are irrelevant to the
process as long as the values pass through increments in one
direction.
The scan function is aborted if the timeout interval (to) elapses before
the specified depth of scans is collected.
When the specified depth of scans has been collected, the channel
data are immediately played back and displayed on the DRO in the
order they were scanned. A playback event is generated each time a
record is played back. This playback event is used in conjunction with
the OnEvent function to enter the scanned data into the ND 2100G
database, include the data in the formulas or send the data to a
computer. A RsetDyn function must be performed to clear the buffer
before the Scan function can be used again.
Scanning input channels
The scan function is generally included in another function as an
operation to be performed in response to a condition or an event.
Number of
Input channel
scans (depth)
Reference
Channel
Value
Increment (sp) #5
Increment (sp) #4
Increment (sp) #3
Increment (sp) #2
Increment (sp) #1
Starting value (st)
All channel values stored
All channel values stored
All channel values stored
All channel values stored
All channel values stored
All channel values stored and scan depth
reached. Scanning ends and playback begins
Scan function syntax within another function
H1 = Function(Scan(ch, st, inc, dp, to))