15 v a riable pr ogr amming – HEIDENHAIN CNC Pilot 4290 User Manual
Page 188

4 DIN PLUS
176
Information contained in variables
The following variable information on tool data and your NC program
can be read out. The assignment of variables #518..#521 varies
depending on the type of tool.
Precondition: The variable is ”defined” as a result of a tool call or an
NC program call.
# variables
Information on tool data
#512
Tool type (3-digit number)
#513..#515
1., 2., 3. Tool type position
#516
Usable length (nl) for turning, drilling or boring tools
#517
Main machining direction (see table)
#518
Secondary machining direction of turning tools (see
table
#519
Tool type:
■
14*: 1 = right-hand model 2 = left-hand model (A)
■
5**, 6**: number of teeth
#520
Tool type:
■
1**, 2**: Cutting radius (rs)
■
3**, 4**: Drilling/boring diameter (d1)
■
51*, 52*: Milling diameter (front) (df)
■
56*, 6**: Milling diameter (d1)
#521
Tool type:
■
11*, 12*: Roughing/finishing diameter (sd)
■
14*, 15*, 16*, 2**: Cutting width (sb)
■
3**, 4**: Length of first cut (al)
■
5**, 6**: Milling width (fb)
#522
Tool orientation (reference: machining direction of tool)
0: On the contour
1:To the right of the contour
– 1: To the left of the contour
#523..#525
Set-up dimensions (ze, xe, ye)
#526..#527
Position of tool tip center I, K (see illustration)
# variables
NC information
#768..#770
Last programmed position X (radius value), Y, Z
#771
Last programmed position C [°]
#772
Active operating mode
2: Machine; 3: Simulation; 4: TURN PLUS
#774
Status TRC/MCRC
40: G40 active; 41: G41 active; 42: G42 active
#775
Number of the selected C axis
Continued
Positions and dimensions are always
indicated in metric form. This also applies
when an NC program is run in inches.
Primary and secondary machining direction:
0:
undefined
1:
+ Z
2:
+ X
3:
– Z
4:
–X
5:
+/– Z
6:
+/– X
4.15
V
a
riable Pr
ogr
amming