beautypg.com

Reading general nc information, 31 pr ogr amming v a ri ables – HEIDENHAIN SW 54843x-02 DIN Programming User Manual

Page 393

background image

HEIDENHAIN MANUALplus 620, CNC PILOT 640

393

4.31 Pr

ogr

amming v

a

ri

ables

Reading general NC information

Use the following syntax to read general NC information.

Active operating mode

#i1

Active operating mode:

2: Machine

3: Simulation

5: TSF menu

Active unit of measure

#i2

Active unit of measure:

0: Metric [mm]

1: Inches [in]

Languages

#i8

Available languages:

0: ENGLISH

1: GERMAN

2: CZECH

3: FRENCH

4: ITALIAN

5: SPANISH

6: PORTUGUESE

7: SWEDISH

8: DANISH

9: FINNISH

10: DUTCH

11: POLISH

12: HUNGARIAN

14: RUSSIAN

15: CHINESE

16: CHINESE_TRAD

17: SLOVENIAN

18: ESTONIAN

19: KOREAN

20: LATVIAN

21: NORWEGIAN

22: ROMANIAN

23: SLOVAK

24: TURKISH

25: LITHUANIAN

Identification codes for tool information

#i1

Active operating mode (see table at right)

#i2

Active unit of measure (inches/metric)

#i3

Main spindle = 0

Counterspindle with mirroring Z = 1

Tool mirroring in Z = 2

Tool + path mirroring in Z = 3

#i4

G16 active = 1 (currently not used)

#i5

Last programmed T number

#i6

Start block search active = 1

#i7

System is DataPilot = 1

#i8

Selected language

#i9

If Y axis is configured = 1

#i10

If B axis is configured = 1

#i11

If the tool pocket in X is mirrored to the machine
system = 1

#i12

If U axis is programmable = 1

#i13

If V axis is programmable = 1

#i14

If W axis is programmable = 1

#i15

If U axis is configured = 1

#i16

If V axis is configured = 1

#i17

If W axis is configured = 1

#i18

Datum shift of the Z axis

#i19

Datum shift of the X axis

#i20

Last programmed path function (G0, G1, G2...)

#i21

Current quantity (workpiece counter)

#i99

Return code of subprograms

This manual is related to the following products: