beautypg.com

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

Page 186

background image

4 DIN PLUS

174

4.14 D

ata Input,

D

ata Output

4.14.2 Input/Output of V Variables

INPUTA

“INPUTA“ can be used to program the input of V
variables evaluated during program run (run time).

You define the input text and the number of the
variable. The CNC PILOT requests the input of the
variable value during the execution of the
command. The input is assigned to the variable and
the program run continues.

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

Syntax:

INPUTA(“Text“,variable)

PRINTA

“PRINTA“ can be used to display text and V-variable
values in an output window. You can program in
succession up to two texts and up to two variables
The input must not exceed 80 characters.

To output texts and variable values on a printer,
activate printer output in control parameter 1
(printer output ON).

Syntax:
PRINTA(“Text1“,Variable,“Text1“,Variable“, ..)

WINDOWA

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

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

Syntax:
WINDOWA (line number) – 0 <= line number <= 10

Examples:

. . .

MACHINING

. . .

N100 WINDOWA(8)

. . .

N110 INPUTA(”Input Meas.-value: ",V1)

. . .

N120 PRINTA(”Output Meas.-value: ",V1)

. . .