EasyManua.ls Logo

HEIDENHAIN TNC 430 User Manual

HEIDENHAIN TNC 430
502 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #369 background imageLoading...
Page #369 background image
HEIDENHAIN TNC 426, TNC 430 343
9.2 Subprograms
9.2 Subprograms
Operating sequence
1 The TNC executes the part program up to the block in which a
subprogram is called with CALL LBL.
2 The subprogram is then executed from beginning to end. The
subprogram end is marked LBL 0.
3 The TNC then resumes the part program from the block after the
subprogram call.
Programming notes
n A main program can contain up to 254 subprograms.
n You can call subprograms in any sequence and as often as desired.
n A subprogram cannot call itself.
n Write subprograms at the end of the main program (behind the block
with M2 or M30).
n If subprograms are located before the block with M02 or M30, they
will be executed at least once even if they are not called.
Programming a subprogram
U To mark the beginning, press the LBL SET key and
enter a label number.
U Enter the subprogram number.
U To mark the end, press the LBL SET key and enter the
label number “0”.
Calling a subprogram
U To call a subprogram, press the LBL CALL key.
U Label number: Enter the label number of the
subprogram you wish to call.
U Repeat REP: Ignore the dialog question with the NO
ENT key. Repeat REP is used only for program section
repeats.
0 BEGIN PGM ...
CALL LBL1
L Z+100 M2
LBL1
LBL0
END PGM ...
CALL LBL 0 is not permitted (label 0 is only used to mark
the end of a subprogram).

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the HEIDENHAIN TNC 430 and is the answer not in the manual?

HEIDENHAIN TNC 430 Specifications

General IconGeneral
Control TypeCNC
DisplayColor LCD
Number of AxesUp to 5
Input Voltage24 V DC
DNC OperationYes
InterfacesRS-232, Ethernet
Axis ControlDigital
Spindle ControlDigital
Operating ModesManual, Automatic
Supported G-CodeDIN/ISO

Summary

Modes of Operation

Programming and Editing

Details writing part programs, using FK feature, cycles, and Q parameters with graphics.

Accessories: HEIDENHAIN 3-D Touch Probes and Electronic Handwheels

Manual Operation and Setup

Switch-on, Switch-off

Describes the procedure for switching the TNC on and off safely.

Datum Setting(Without a 3-D Touch Probe)

Explains setting the datum by manually positioning the tool on known workpiece points.

Programming: Fundamentals of NC, File Management, Programming Aids, Pallet Management

Creating and Writing Programs

Creating a new part program

Guides through entering a part program, selecting units, and defining the BLK-FORM.

Pallet Management

Executing the pallet file

Explains how to execute a pallet file using PGM MGT and the NC Start button.

Pallet Operation with Tool-Oriented Machining

Setting up the pallet file with the entry form

Explains setting up pallet files by defining planes: PAL, FIX, PGM, and their details.

Programming: Tools

Entering Tool-Related Data

Covers entering feed rate F and spindle speed S in TOOL CALL blocks.

Programming: Programming Contours

Path Contours — Cartesian Coordinates

Provides an overview of path functions like line, chamfer, circle, and corner rounding.

Path Contours—FK Free Contour Programming

Covers fundamentals, graphics, and free programming of straight lines and circular arcs.

Programming: Miscellaneous functions

Entering Miscellaneous Functions M and STOP

Explains using M functions for program control, spindle, coolant, and entering STOP blocks.

Miscellaneous Functions for Coordinate Data

Details machine-referenced coordinates (M91/M92) and datum handling.

Miscellaneous Functions for Contouring Behavior

Covers functions like smoothing corners (M90), rounding arcs (M112), and small contour steps (M97).

Miscellaneous Functions for Rotary Axes

Explains feed rate for rotary axes (M116), shorter path traverse (M126), and axis reduction (M94).

Programming: Cycles

Working with Cycles

Explains defining cycles using soft keys or the GOTO function.

Cycles for Drilling, Tapping and Thread Milling

Details cycles for pecking, drilling, reaming, boring, tapping, and thread milling.

Cycles for milling pockets, studs and slots

Covers cycles for pocket milling, stud finishing, slot milling, and circular patterns.

Cycles for Machining Hole Patterns

Explains cycles for circular and linear hole patterns.

SL cycles

Enables forming complex contours by combining subcontours.

Coordinate Transformation Cycles

Covers datum shift, mirror image, rotation, scaling, and working plane.

Programming: Q Parameters

Principle and Overview

Introduces Q parameters for programming variables, contours, and logical conditions.

Part Families – Q Parameters in Place of Numerical Values

Explains using Q parameters for programming families of parts with characteristic dimensions.

Describing Contours through Mathematical Operations

Details basic mathematical functions like ASSIGN, ADDITION, SUBTRACTION, MULTIPLICATION, DIVISION.

If-Then Decisions with Q Parameters

Explains making logical decisions by comparing Q parameters or numerical values.

Entering Formulas Directly

Explains entering mathematical formulas with multiple operations directly via soft keys.

Preassigned Q Parameters

Lists Q parameters assigned by the TNC, including PLC values, tool/spindle data, and status.

Test run and Program Run

Test run

Covers simulating programs to prevent errors and available functions like blockwise test.

Program run

Explains continuous or single-block program execution and related functions.

Interrupting machining

Describes programmed interruptions, machine STOP button, and switching to single block mode.

Resuming program run after an interruption

Covers resuming programs after interruption or errors using START or system restart.

Mid-program startup (block scan)

Details starting a part program at any block using RESTORE POS AT N.

MOD Functions

MOD functions

Provides additional displays and input possibilities depending on the selected operating mode.

Setting the Data Interfaces

Covers setting up RS-232, RS-422 interfaces, operating mode, and BAUD rate.

Ethernet Interface

Describes connecting the TNC to a network via Ethernet card and its configuration.

Configuring the TNC

Details general network settings like ADDRESS, MASK, ROUTER, PROT, HW, HOST.

Tables and Overviews

Showing the workpiece in the working space

Enables graphical check of workpiece blank position and work space monitoring.

Enter the axis traverse limits, datum display

Allows setting axis traverse limits and viewing datum display.

Related product manuals