The preset.pr preset table allows you to manage presets, such as the position and misalignment of a workpiece in the machine. The active row in the preset table is used as a workpiece preset in the NC program and as the coordinate origin of the workpiece coordinate system W-CS.
Description of function
The preset table is stored in the TNC:\table directory by default and is named preset.pr. In the Tables operating mode, the preset table is open by default.
Refer to your machine manual.
The machine manufacturer can define a different path for the preset table.
In the optional machine parameter basisTrans (no. 123903), the machine manufacturer defines a specific preset table for each range of traverse.
Icons and buttons of the preset table
The preset table contains the following icons:
Icon | Meaning |
---|---|
Active row | |
Write-protected row |
When you define a preset, the control opens a window with the following input options:
Icon or button | Function |
---|---|
actual position capture The control opens or closes the position display of the status overview. When you select an axis, the control applies the selected value at Enter new. | |
Enter new | The control interprets the entered value as desired display value for the actual position. The control calculates the required table value from this. The entered value is active in the basic coordinate system B-CS. When you activate the edited preset, the control displays the entered value as actual position in the position display. |
Correct | The control offsets the entered value against the actual table value. You can enter either a positive or a negative value. The entered value is active incrementally in the basic coordinate system B-CS. |
Edit | The control accepts the entered value unchanged as table value. The entered value refers to the coordinate origin of the basic coordinate system B-CS. |
Parameters of the preset table
The preset table contains the following parameters:
Parameter | Meaning |
---|---|
NO | Number of preset table row Input: 0...99999999 |
DOC | Comment Entry: Text width 16 |
X | X coordinate of preset Basic transformation relating to the basic coordinate system B-CS Input: -99999.99999...+99999.99999 |
Y | Y coordinate of preset Basic transformation relating to the basic coordinate system B-CS Input: -99999.99999...+99999.99999 |
Z | Z coordinate of preset Basic transformation relating to the basic coordinate system B-CS Input: -99999.99999...+99999.99999 |
SPA | Spatial angle of preset in the A axis Basic transformation relating to the basic coordinate system B-CS, the preset contains a 3D basic rotation in tool axis Z. Input: –99999.9999999...+99999.9999999 |
SPB | Spatial angle of preset in the B axis Basic transformation relating to the basic coordinate system B-CS, the preset contains a 3D basic rotation in tool axis Z. Input: –99999.9999999...+99999.9999999 |
SPC | Spatial angle of preset in the C axis Basic transformation relating to the basic coordinate system B-CS, the preset contains a basic rotation in tool axis Z. Input: –99999.9999999...+99999.9999999 |
X_OFFS | Position of the X axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
Y_OFFS | Position of the Y axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
Z_OFFS | Position of the Z axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
A_OFFS | Axis angle of the A axis for the preset Offset relating to the machine coordinate system M-CS Input: –99999.9999999...+99999.9999999 |
B_OFFS | Axis angle of the B axis for the preset Offset relating to the machine coordinate system M-CS Input: –99999.9999999...+99999.9999999 |
C_OFFS | Axis angle of the C axis for the preset Offset relating to the machine coordinate system M-CS Input: –99999.9999999...+99999.9999999 |
U_OFFS | Position of the U axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
V_OFFS | Position of the V axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
W_OFFS | Position of the W axis for the preset Offset relating to the machine coordinate system M-CS Input: -99999.99999...+99999.99999 |
ACTNO | Active workpiece preset The control automatically enters 1 in the active row. Input: 0, 1 |
LOCKED | Write-protection of the table row Entry: Text width 16 |
Refer to your machine manual.
In the optional machine parameter CfgPresetSettings (no. 204600), the machine manufacturer can block the setting of a preset in individual axes.
Basic transformation and offset
The control interprets the basic transformations SPA, SPB and SPC as basic rotation or 3D basic rotation in the workpiece coordinate system W-CS. During program execution, the control moves the linear axes in accordance with the basic rotation without any change in the workpiece position.
Basic rotation and 3D basic rotation
The control interprets all offsets for each respective axis as a shift in the machine coordinate system M-CS. The effect that offsets have is contingent on the kinematics.
Machine coordinate system M-CS
HEIDENHAIN recommends using 3D basic rotation because of its greater flexibility.
Application example
Use the Rotation (ROT) probing function to determine the misalignment of a workpiece. You can transfer the result to the preset table either as a basic transformation or as an offset.
Determining and compensating the rotation of a workpiece

If you activate the Basic rotation toggle switch, the control interprets the misalignment as a basic transformation. When using the Compensate the active preset button, the control saves the result in the columns SPA, SPB and SPC of the preset table. The Align rotary table button has no function in this case.
If you activate the Table rotation toggle switch, the control interprets the misalignment as an offset. When using the Compensate the active preset button, the control saves the result in the columns A_OFFS, B_OFFS and C_OFFS of the preset table. To move the rotary axes to the position of the offset, use the Align rotary table button.
Write-protection for table rows
The Lock record button allows protecting any rows of the preset table against overwriting. The control enters the value L into the LOCKED column.
Protecting table rows without a password
Alternatively, the row can be protected with a password. The control enters the value ### into the LOCKED column.
Protecting table rows with a password
The control displays an icon ahead of write-protected rows.
If the control displays the value OEM in the LOCKED column, this column has been locked by the machine manufacturer.
- Protecting table rows without a password is recommended
- Note down your passwords
actual position capture in the preset table
| ||
![]() |
| |
| ||
| ||
![]() |
|
Activating write protection
Protecting table rows without a password
| ||
![]() |
| |
| ||
![]() |
| |
|
Protecting table rows with a password
- Protecting table rows without a password is recommended
- Note down your passwords
| ||
![]() |
| |
| ||
| ||
|
Removing write protection
Unlocking table rows that are protected without a password
| ||
![]() |
| |
![]() |
|
Unlocking table rows that are protected with a password
- Protecting table rows without a password is recommended
- Note down your passwords
| ||
![]() |
| |
| ||
|
Creating a preset table in inches
If you define inches as the unit of measure in the machine parameter unitOfMeasure (no. 101101), the unit of measure of the preset table will not be adjusted automatically.
| ||
| ||
| ||
| ||
| ||
| ||
| ||
![]() |
| |
![]() |
| |
| ||
|
Notes
- Before activating a preset, check whether all columns contain values.
- To optimize the file size and the processing speed, keep the preset table as short as possible.
- New rows can be inserted only at the end of the preset table.
- If you edit the value of the DOC column, you must reactivate the preset. Only then will the control accept the new value.
- The control may feature a pallet preset table, depending on the machine. When a pallet preset is active, the presets in the preset table are referenced to this pallet preset.
Notes about machine parameters
- The machine manufacturer uses the optional machine parameter initial (no. 105603) to define a default value for each column of a new row.
- If the unit of measure of the preset table does not match the unit of measure defined in the machine parameter unitOfMeasure (no. 101101), the control displays a message in the dialog bar in Tables operating mode.
- In the optional machine parameter presetToAlignAxis (no. 300203), the machine manufacturer defines for each axis how the control interprets offsets for the following NC functions:
- FUNCTION PARAXCOMP
- FUNCTION POLARKIN (option 8)
- FUNCTION TCPM or M128 (option 9)
- FACING HEAD POS (option 50)
Defining behavior when positioning parallel axes with FUNCTION PARAXCOMP
Machining with polar kinematics with FUNCTION POLARKIN
Compensating for the tool angle of inclination with FUNCTION TCPM (option 9)