NC functions for preset management

Overview

  • The control provides the following functions for modifying a preset directly in the NC program after it has been defined in the preset table:
  • Activate the preset
  • Copy the preset
  • Correct the preset

Activating the preset with PRESET SELECT

Application

The PRESET SELECT function allows you to use a preset defined in the preset table and activate it as a new preset.

Requirement

Description of function

To activate the preset, use the preset number or the entry in the Doc column. If the entry in the Doc column is not unique, the control will activate the preset with the smallest preset number.

  • The KEEP TRANS syntax element allows defining that the control retains the transformations below:
  • the TRANS DATUM function
  • Cycle 8 MIRRORING and the TRANS MIRROR function
  • Cycle 10 ROTATION and the TRANS ROTATION function
  • Cycle 11 SCALING FACTOR and the TRANS SCALE function
  • Cycle 26 AXIS-SPECIFIC SCALING

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

  • Change the following contents as needed:
  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions, e.g. with M91
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

11 PRESET SELECT #3 KEEP TRANS WP

; Activate row 3 of the table as the workpiece preset and maintain transformations

The NC function includes the following syntax elements:

Syntax element

Meaning

PRESET SELECT

Syntax initiator for activating a preset

#, " " or QS

Select the row of the preset table

Fixed or variable number or name

The row can be selected from a selection menu. For names the control only displays the rows in the preset table where the Doc column is defined.

KEEP TRANS

Retain simple transformations

Optional syntax element

WP or PAL

Activate the preset for the workpiece or pallet

Optional syntax element

Note

If you program PRESET SELECT without optional parameters, then the behavior is identical to Cycle 247 PRESETTING.

Cycle 247 PRESETTING

Copying the preset with PRESET COPY

Application

The function PRESET COPY allows you to copy a preset defined in the preset table and activate the preset copied.

Requirement

Description of function

To select the preset to be copied, use the preset number or the entry in the Doc column. If the entry in the Doc column is not unique, the control will select the preset with the smallest preset number.

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

  • Change the following contents as needed:
  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions, e.g. with M91
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

11 PRESET COPY #1 TO #3 SELECT TARGET KEEP TRANS

; Copy row 1 of the preset table to row 3, activate row 3 as the workpiece preset and maintain transformations

The NC function includes the following syntax elements:

Syntax element

Meaning

PRESET COPY

Syntax initiator for copying and activating a workpiece preset

#, " " or QS

Select the row of the preset table to be copied

Fixed or variable number or name

The row can be chosen from a selection menu. With names, the control displays in the selection menu only the rows of the preset table for which the Doc column is defined.

TO #, " " or QS

Select the new row of the preset table

Fixed or variable number or name

The row can be chosen from a selection menu. With names, the control displays in the selection menu only the rows of the preset table for which the Doc column is defined.

SELECT TARGET

Activate the copied row of the preset table as the workpiece preset

Optional syntax element

KEEP TRANS

Optional syntax element

Correcting the preset with PRESET CORR

Application

The function PRESET CORR allows you to correct the active preset.

Requirement

Description of function

If both the basic rotation and a translation are corrected in an NC block, the control will first correct the translation and then the basic rotation.

The compensation values are given with respect to the active coordinate system. When correcting the OFFS values, the values are referenced to the machine coordinate system M-CS.

Reference systems

Input

NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.

  • Change the following contents as needed:
  • Tools
  • Cutting parameters
  • Feed rates
  • Clearance height or safe position
  • Machine-specific positions, e.g. with M91
  • Paths of program calls

Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.

In addition, test the NC programs using the simulation before the actual program run.

 
Tip

With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.

11 PRESET CORR X+10 SPC+45

; Correct the workpiece preset in X by +10 mm and in SPC by +45°

The NC function includes the following syntax elements:

Syntax element

Meaning

PRESET CORR

Syntax initiator for correcting the workpiece preset

X, Y, Z

Compensation values in the principal axes

Optional syntax element

SPA, SPB, SPC

Compensation values for the spatial angle

Optional syntax element

X_OFFS, Y_OFFS, Z_OFFS, A_OFFS, B_OFFS, C_OFFS, U_OFFS, V_OFFS, W_OFFS

Compensation value for the offsets, referenced to the machine datum

Optional syntax element