Fundamentals

Application

In the Program Run operating mode you produce workpieces by having the control execute NC programs either one block at a time or in full sequence.

You also execute pallet tables in this operating mode.

Related topics

 
Notice
Caution: Danger due to manipulated data!
If you execute NC programs directly from a network drive or a USB device, you have no control over whether the NC program has been changed or manipulated. In addition, the network speed can slow down the execution of the NC program. Undesirable machine movements or collisions may result.
  1. Copy the NC program and all called files to the TNC: drive

Description of function

 
Tip

The following information also applies to pallet tables and job lists.

When you select a new NC program or when an NC program has been completely executed, the cursor is at the beginning of the program.

If you want to start machining at a different NC block, you first need to select the desired NC block by using the Block scan function.

Block scan for mid-program startup

By default, the control runs NC programs in Full Sequence mode after the NC Start key has been pressed. In this mode, the control runs an NC program continuously up to its end, or up to a manual or programmed interruption.

In the Single Block mode, you execute each NC block separately by pressing the NC Start key.

The control shows the status of the machining process with the Control-in-operation icon in the status overview.

Status overview on the TNC bar

When you open a pallet table, the control will display the Job list workspace. You cannot modify this workspace.

Job list workspace

Icons and buttons

The Program Run operating mode contains the following icons and buttons:

Icon or button

Meaning

SwapTabIcon-active

Open file

With Open file you can open a file, for example an NC program.

If you open a file, the control closes the file that was already open.

AutomaticMainIcon

Execution cursor

The execution cursor shows which NC block is currently being run or is marked for running.

Single Block

If this toggle switch is active, then you run each NC block separately with the NC Start key.

If Single Block mode is selected, then the operating mode's icon in the control bar changes.

Q info

The control opens the Q parameter list window, where you can see and edit the current values and descriptions of the variables.

Q parameter list window

Compensation tables

  • The control opens a selection menu with the following tables:
  • D
  • T-CS
  • WPL-CS

Compensation during program run

GOTO Cursor

The control marks the currently selected table row for execution.

Active only if a pallet table is open (option 22)

Job list workspace

F limited

You activate or deactivate the feed-rate limitation for functional safety (FS).

Only on machines with functional safety (FS).

Feed-rate limiting with functional safety (FS)

AFC

You activate or deactivate Adaptive Feed Control (AFC, option 45).

AFC toggle switch in Program Run operating mode

AFC settings

  • The control opens a selection menu with the following tables for AFC (option 45):
  • AFC.TAB for AFC basic settings
  • AFC.DEP settings file for teach-in cuts of the active NC program
  • AFC2.DEP log file of the active NC program

Adaptive Feed Control (AFC, option 45)

ACC

If this toggle switch is active, the control activates Active Chatter Control (ACC, option 145).

Active Chatter Control (ACC, option 145)

FMAX

You activate a feed-rate limitation and define the value.

Feed rate limit FMAX

Breakpoints

  • When you select this button, the control opens the Breakpoints window with the following selection possibilities:
  • Feed FMAX
  • You activate a feed-rate limitation and define the value.

    Feed rate limit FMAX

  • Skip block
  • If this toggle switch is active, the control ignores NC blocks hidden with a / character.

    Hiding NC blocks

    If the toggle switch is active, the control grays out the NC blocks to be skipped.

    Appearance of the NC program

  • Pause at M1
  • If this toggle switch is active, the control pauses the program run at each NC block with M1.

    Overview of miscellaneous functions

    If this toggle switch is inactive, the control grays out the M1 syntax element.

    Appearance of the NC program

Skip block

If this toggle switch is active, the control ignores NC blocks hidden with a / character.

Hiding NC blocks

If the toggle switch is active, the control grays out the NC blocks to be skipped.

Appearance of the NC program

Pause at M1

If this toggle switch is active, the control pauses the program run at each NC block with M1.

Overview of miscellaneous functions

If this toggle switch is inactive, the control grays out the M1 syntax element.

Appearance of the NC program

GOTO block number

Mark an NC block to be run without considering any previous NC blocks

GOTO function

Manual traverse

During a program run interruption you can move the axes manually.

If Manual traverse is active, then the operating mode's icon in the control bar changes.

Manual traverse during an interruption

Edit

If this toggle switch is active, then you can edit the pallet table.

Active only if a pallet table is open

Job list workspace

3D ROT

During a program run interruption you can move the axes manually in the tilted working plane (option 8).

Manual traverse during an interruption

Approach position

Return to contour after manual traverse of the machine axes during an interruption

Returning to the contour

Block scan

The Block scan function allows you to start program run at any desired NC block.

The control takes the preceding parts of the NC program up to this NC block into account mathematically; for example, whether the spindle was switched on with M3.

Block scan for mid-program startup

Open in the editor

The control opens the active NC program and also called NC programs in the Editor operating mode.

Active only if an NC program is open

Editor operating mode

Internal stop

If an NC program is interrupted due to an error or a stop, the control activates this button.

Use this button to abort program run.

Reset program

If you select Internal stop, the control activates this button.

The control places the cursor back to the beginning of the program and resets any modally effective program information as well as the program run-time.

Feed rate limit FMAX

The FMAX button allows you to reduce the feed rate for all operating modes. The reduction applies to all rapid traverse and feed rate movements. The value you have entered remains active across power cycles.

The FMAX button is available in the MDI application and in Editor operating mode.

When you select the FMAX button in the function bar, the control opens the Feed rate FMAX window.

If a feed rate limit is active, the control highlights the FMAX button in color and displays the defined value. In the Positions and Status workspaces, the control shows the feed rate in orange.

Statusanzeigen

You deactivate the feed rate limit by entering a value of 0 in the Feed rate FMAX window.

Interrupting, stopping or canceling program run

  • There are several ways to stop a program run:
  • Interrupt program run (e.g., with the miscellaneous function M0)
  • Stop program run (e.g., with the NC stop key)
  • Cancel the program run (e.g., with the NC Stop key in combination with the INTERNAL STOP button)
  • Terminate program run (e.g., with the miscellaneous functions M2 or M30)

Upon major errors, the control automatically aborts program run (e.g., during a cycle call with stationary spindle).

Message menu on the information bar

If you run your NC program in Single Block mode or in the MDI application, the control will switch to the interrupted state after the execution of each NC block.

The control shows the current program run status with the Control-in-operation icon.

Status overview on the TNC bar

  • Below are some of the functions you can execute in an interrupted or canceled state:
  • Selecting an operating mode
  • Manual traverse of axes
  • Checking Q parameters and changing these if necessary using the Q INFO function
  • Changing the setting for the optional programmed interruption with M1
  • Changing the setting for the programmed skipping of NC blocks with /
 
Notice
Danger of collision!
Certain manual interactions may lead to the control losing the modally effective program information (i.e., the contextual reference). Loss of this contextual reference may result in unexpected and undesirable movements. There is a risk of collision during the subsequent machining operation!
  1. Do not perform the following interactions:
    • Cursor movement to another NC block
    • The jump command GOTO to another NC block
    • Editing an NC block
    • Modifying the values of variables by using the window Q parameter list
    • Switching the operating modes
  2. Restore the contextual reference by repeating the required NC blocks

Programmed interruptions

  • You can set interruptions directly in the NC program. The control interrupts the program run in the NC block containing one of the following inputs:
  • Programmed stop STOP (with and without miscellaneous function)
  • Programmed stop M0
  • Conditional stop M1

Resuming program run

After stopping the program with the NC Stop key or a programmed interruption, you can resume program run by pressing the NC Start key.

After canceling the program run with an Internal stop, you must start the program run at the beginning of the NC program or use the Block scan function.

After an interruption of the program run within a subprogram or program section repeat, you need to use the Block scan function for mid-program startup.

Block scan for mid-program startup

Modally effective program information

  • The control saves the following data during a program interruption:
  • The last tool that was called
  • Current coordinate transformations (e.g., datum shift, rotation, mirroring)
  • The coordinates of the circle center that was last defined

The control uses the stored data for returning the tool to the contour (Approach position button).

Returning to the contour

 
Tip

The saved data remains active until it is reset (e.g., by selecting a program).

Notes

 
Notice
Danger of collision!
Program cancellation, manual intervention, or forgotten resetting of NC functions or transformations can lead to the control performing unexpected or undesirable movements. This can lead to workpiece damage or collision.
  1. Rescind all programmed NC functions and transformations within the NC program
  2. Run a simulation before executing an NC program
  3. Check both the general as well as the additional status display for NC functions and transformations, such as an active basic rotation, before executing an NC program
  4. Carefully verify the NC program in the Single Block mode
  • In the Program Run operating mode, the control marks active files with the status M, such as a selected NC program or tables. If you open such a file in another operating mode, the controls shows the status on the tab of the application bar.
  • When moving an axis, the control checks whether the defined rotational speed has been reached. The control does not check the rotational speed in positioning blocks with FMAX as feed rate.
  • You can adjust the feed rate and the spindle speed during program run with the potentiometers.
  • If you modify the workpiece reference point during a program run interruption, you must re-select the NC block to resume.
  • Block scan for mid-program startup

  • HEIDENHAIN recommends switching the spindle on with M3 or M4 after every tool call. That way you avoid problems during program run, such as when restarting after an interruption.
  • The settings in the GS workspace have an effect on program run, such as handwheel superimpositioning (option 44).
  • Global Program Settings (GPS, option 44)

Definitions

Abbreviation

Definition

GS (global program settings)

Global program settings

ACC (active chatter control)

Active Chatter Control