beautypg.com

14 data input and data output, 14 d ata input, d ata output – HEIDENHAIN CNC Pilot 4290 User Manual

Page 185

background image

HEIDENHAIN CNC PILOT 4290

173

4.14 Data Input and Data

Output

Data are also entered and output during simulation.
”V variables” are included during simulation. The V
variables can be assigned values. Thus all branches of
your NC program can be tested.

4.14.1 Input/Output of # Variables

INPUT

With INPUT you program the input of # variables that
are evaluated during program interpretation.

You define the input text and the variable number. The
CNC PILOT stops the interpretation at INPUT and
waits for input of the variable value.

The CNC PILOT displays the input after having
completed the INPUT command.

Syntax:

INPUT (”text,” variable)

PRINT

PRINT can be used to output texts and variable
values during program interpretation.You can program
a succession of several texts and # variables.

Syntax:

PRINT (”text1,”variable,”text1,”variable, ..)

WINDOW

WINDOW (x) opens an output window with ”x” lines.
The window is opened as a result of the first input/
output. WINDOW (0) closes the window.

The ”standard window” comprises 3 lines – you do
not need to program it.

Syntax:

WINDOW (number of lines) – 0 <= number or lines <= 10

4.14 D

ata Input,

D

ata Output

Examples:

. . .

N.. WINDOW(8)

. . .

N.. INPUT(”input diameter: ”,#1)

. . .

N.. PRINT(”input diameter: ”,#1)

. . .