34 pr ogr amming with v a ri ables – HEIDENHAIN CNC Pilot 4290 V7.1 User Manual

Page 321

Advertising
background image

HEIDENHAIN CNC PILOT 4290

321

4.34 Pr

ogr

amming with V

a

ri

ables

Example for V variables

V901
to
V920

G901, G902, G903, G912 and G916 write the positions into
the variables:

„

V901 to V903: Axis X, Z, Y of slide 1

„

V904 to V906: Axis X, Z, Y of slide 2

„

V907 to V909: Axis X, Z, Y of slide 3

„

V910 to V912: Axis X, Z, Y of slide 4

„

V913 to V915: Axis X, Z, Y of slide 5

„

V916 to V918: Axis X, Z, Y of slide 6

„

V919: C axis 1

„

V920: C axis 2

X values are saved as radius values.

The variables are overwritten, even is they have not yet
been evaluated.

V921

Measuring angular offset during G906, spindle
synchronization

V922/
V923

Event with G905 C-angle offset

V982

Error number with G912, actual value determination for in-
process measurement

V300

Result of G991, controlled parting

Information in V variables

. . .

N.. V{M1[Z]=300}

Sets machine dimension 1 Z to 300

N.. G0 Z{M1[Z]}

Moves to machine dimension 1 Z

N.. IF{E1[1]==0}

Interrogation of external event 1 – bit 1

N.. V{D5[X]=1.3}

Sets compensation X for tool 5

N.. V{V12=17.4}

N.. V{V12=V12+1}

N.. G1 X{V12}

. . .

Advertising