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

Page 319

Advertising
background image

HEIDENHAIN CNC PILOT 4290

319

4.34 Pr

ogr

amming with V

a

ri

ables

Interrogating sequential events:

Syntax:

V{Ex[1]}

„

x = event: 20 to 59, 90

„

20: Life of this tool has expired (global information)

„

21 to 59: Tool life of this tool has expired

„

90: Start block search (0=not active; 1=active)

Interrogate external events:

Syntax:

V{Ex[y]}

„

x = slide 1 to 6

„

y = bit: 1 to 16

Interrogates bit of the event for 0 or 1. The meaning of
the external event is determined by the machine
manufacturer.

Read from/write to tool diagnosis bits:

Syntax:

V{Tx[y]}

„

x = T number

„

y = bit: 1 to 16 (bit=0: no; bit=: yes)

„

Bit 1: Tool worn out (reason for replacing a tool: see
bits 2 to 8)

„

Bit 2: Specified tool life/piece number has been
reached

„

Bit 3: Tool wear determined by in-process
measuring of tool.

„

Bit 4: Tool wear determined by in-process
measuring of workpiece.

„

Bit 5: Tool wear determined by post-process
measuring of workpiece.

„

Bit 6: Tool breakage identified by the load
monitoring function.

„

Bit 7: Tool wear identified by the load monitoring
function.

„

Bit 8: A neighboring edge of the multipoint tool is
worn-out

„

Bit 9: Cutting edge new?

„

Bit 12: The remaining tool life of the cutting edge is
<6% or the remaining piece number is 1

Bits 9 to 16 contain general information.

„

Take into account the advance interpretation of the NC
blocks when working with V variables and, if necessary,
program an interpreter stop (see “Interpreter stop
G909” on page 307).

„

The content of the variables is retained even if the
control has been switched off. If required, initialize the
variables at the beginning of the program in order to
prevent undefined variable contents.

Requests and assignments

Advertising