beautypg.com

Fn18: sys-datum read read system data, 10 .8 a d ditional f u nctions – HEIDENHAIN TNC 320 (340 551-01) User Manual

Page 331

background image

HEIDENHAIN TNC 320

331

1

0

.8 A

d

ditional F

u

nctions

FN18: SYS-DATUM READ Read system data

With the function FN 18: SYS-DATUM READ you can read system
data and store them in Q parameters. You select the system data
through a group number (ID number), and additionally through a
number and an index.

Group name, ID No.

Number

Index

Meaning

Program information, 10

3

-

Number of active fixed cycle

103

Q parameter
number

Relevant within NC cycles; for inquiry as to whether the Q
parameter given under IDX was explicitly stated in the
associated CYCLE DEF.

System jump addresses, 13

1

-

Label jumped to during M2/M30 instead of the value that
ends the current program = 0: M2/M30 has the normal
effect

2

-

Label jumped to if FN14: ERROR after the NC CANCEL
reaction instead of aborting the program with an error.
The error number programmed in the FN14 command can
be read under ID992 NR14.
Value = 0: FN14 has the normal effect.

3

-

Label jumped to in the event of an internal server error
(SQL, PLC, CFG) instead of aborting the program with an
error.
Value = 0: Server error has the normal effect.

Machine status, 20

1

-

Active tool number

2

-

Prepared tool number

3

-

Active tool axis
0=X, 1=Y, 2=Z, 6=U, 7=V, 8=W

4

-

Programmed spindle rpm

5

-

Active spindle status: –1=undefined, 0=M3 active,
1=M4 active, 2=M5 after M3, 3=M5 after M4

8

-

Coolant status: 0=off, 1=on

9

-

Active feed rate

10

-

Index of the prepared tool

11

-

Index of the active tool

Channel data, 25

1

-

Channel number

Cycle parameter, 30

1

-

Set-up clearance of active fixed cycle

2

-

Drilling depth / milling depth of active fixed cycle

3

-

Plunging depth of active fixed cycle

4

-

Feed rate for pecking in active fixed cycle