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 row number or the content in the DOC column.

 
Notice
Danger of collision!
Depending on the machine parameter CfgColumnDescription (no. 105607), you can define the same content several times in the DOC column of the preset table. In this case, if you activate a preset using the DOC column, the control selects the preset with the lowest row number. If the control does not select the desired preset there is a risk of collision.
  1. Uniquely define the content of the DOC column
  2. Only activate the preset with the row 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

11 PRESET SELECT #3 KEEP TRANS WP

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

To navigate to this function:

Insert NC function All functions Special functions Program defaults PRESET PRESET SELECT

The NC function includes the following syntax elements:

Syntax element

Meaning

PRESET SELECT

Syntax initiator for activating a preset

#, Name or QS

Select the row of the preset table

Fixed or variable number or name

Selection by means of a selection window

With Name, the control displays in the selection window only the rows of the preset table for which 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

Notes

  •  
    Notice
    Caution: Significant property damage!
    Undefined fields in the preset table behave differently from fields defined with the value 0: Fields defined with the value 0 overwrite the previous value when activated, whereas with undefined fields the previous value is kept. If the previous value is kept, there is a danger of collision!
    1. Before activating a preset, check whether all columns contain values.
    2. For undefined columns, enter values (e.g., 0)
    3. As an alternative, have the machine manufacturer define 0 as the default value for the columns
  • If you program PRESET SELECT without optional parameters, then the behavior is identical to Cycle 247 PRESETTING.
  • Cycle 247 PRESETTING

  • If the pallet preset changes, you need to reset the workpiece preset.
  • Pallet preset table

  • With the optional machine parameter CfgColumnDescription (no. 105607), the machine manufacturer defines whether the contents of the DOC column of the preset table must be unique. If the machine parameter is defined with TRUE, you can enter content once only.

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 row number or the entry in the DOC column.

Input

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

To navigate to this function:

Insert NC function All functions Special functions Program defaults PRESET PRESET COPY

The NC function includes the following syntax elements:

Syntax element

Meaning

PRESET COPY

Syntax initiator for copying and activating a workpiece preset

#, Name 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 #, Name or QS

Select the new row of the preset table

Fixed or variable number or name

Selection by means of a selection window

With Name, the control displays in the selection window 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

Retain simple transformations

Optional syntax element

 
Notice
Danger of collision!
Depending on the machine parameter CfgColumnDescription (no. 105607), you can define the same content several times in the DOC column of the preset table. In this case, if you activate a preset using the DOC column, the control selects the preset with the lowest row number. If the control does not select the desired preset there is a risk of collision.
  1. Uniquely define the content of the DOC column
  2. Only activate the preset with the row number

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

11 PRESET CORR X+10 SPC+45

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

To navigate to this function:

Insert NC function All functions Special functions Program defaults PRESET PRESET CORR

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