Ask function, 4 f o rm ulas – HEIDENHAIN ND 2100G User Manual
Page 222

222
2 Installation and Specifications
2.4 F
o
rm
ulas
Ask function
The ask function displays messages that prompt the user for data or
display instructions on the LCD. Messages can contain a mixture of up
to 80 upper or lower case alphanumeric characters, and can be
displayed ONCE when the part is loaded, ALWAYS when a data record
is entered, immediately (NOW) upon formula execution or for a TIMED
interval specified by the user. The NOW selection should only be used
as the result of a OnEvent function to prevent continuous prompting.
Numeric data entered by the user in response to a prompt can be
interpreted as linear (LIN), angular (ANG), dimensionless (NONE) or a
yes or no answer (NO/YES).
The prompt message is displayed to the user in a pop-up box that
provides a space for entering the requested data. Data is entered into
the pop-up box from the numeric keypad, and stored by the system
when the ENTER key is pressed.
To insert the Ask function:
U
Press the OTHER... soft key
U
Press the XTRA dimension key
U
Use the arrow cursor keys to highlight Ask
U
Press the ENTER key
U
Press the ONCE, ALWAYS, NOW or TIMED soft key to specify how
often the user is prompted
U
Press the LIN, ANG, NONE or NO/YES soft key to specify the units
the response will be in
U
Use the Alpha Entry screen to create the prompt message
U
Press the FINISH key
Ask function.
Ask function syntax
A = askWhen(user prompt)
Using the Ask function to get data.
A = Formula;askDisplayTime(user prompt)
Using the ask function to display a message without user data-
entry.
Example 1:
A = ask1"Temperature"
Example 2:
A = C3;askT5"Part 11"