DIN/ISO programming | Data input and data output
4
458
HEIDENHAIN | User's Manual smart.Turn and DIN Programming | 12/2017
Input of INPUT variables
Use INPUT to program the input of variables.
Syntax: INPUT (text, variable)
You define the input text and the number of the variable. The control
stops the interpretation at INPUT, outputs the text and waits for input
of the variable value. Instead of an input text, you can also program a
string variable, such as #x1.
The control displays the input after having completed the INPUT
command.
Output of PRINT # variables
PRINT can be used to output texts and variable values during
program run. You can program a succession of several texts and
variables.
Syntax: PRINT (text, variable, text, variable, ...)
Example: Output of # variables PRINT
N 4 PRINT("result: ",#l1,"*17 = ",#l2)