Preset table

Application

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.

Presets in the machine

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.

 
Machine

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

ActivePresetIcon

Active row

locked

Write-protected row

When you define a preset, the control opens a window with the following input options:

Icon or button

Function

QsKeyboardActPos

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.

actual position capture in the preset table

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.

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
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
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
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.
Basic coordinate system B-CS

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.
Basic coordinate system B-CS

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.
Basic coordinate system B-CS

Input: –99999.9999999...+99999.9999999

X_OFFS

Position of the X axis for the preset

Offset relating to the machine coordinate system M-CS
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
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
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
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
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
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
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
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
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

 
Machine

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

 
Tip

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

AS_5_29_19_Drehung-ROT_Grunddrehung
Results of the Rotation (ROT) probing functionRotation (ROT)

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.

 
Tip

If the control displays the value OEM in the LOCKED column, this column has been locked by the machine manufacturer.

 
Notice
Caution: Data may be lost!
Rows protected by a password can be unlocked by entering the selected password exclusively. Forgotten passwords cannot be reset. This locks the protected rows permanently.
  1. Protecting table rows without a password is recommended
  2. Note down your passwords

actual position capture in the preset table

  1. To load the actual position of an axis into the preset table:
SF_3_Editieren

  1. Activate the Edit toggle switch

  1. Double-tap or double-click the table row to be changed (e.g., in the X column)
  2. The control opens a window with input options.
QsKeyboardActPos

  1. Select actual position capture
  2. The control opens the position display of the status overview.
  3. Select the desired value
  4. The control loads the value into the window and activates the Enter new button.
SF_4_24_11_GO_TO_OK

  1. Select OK
  2. The control calculates the table value that is needed and enters the value in the table.
  3. If required, close the position display of the status overview

Activating write protection

Protecting table rows without a password

  1. To protect a table row without a password:
SF_3_Editieren

  1. Activate the Edit toggle switch

  1. Select the desired row
SF_3_Zeile_sperren

  1. Activate the Lock record toggle switch
  2. The control enters the value L in the LOCKED column.
locked

  1. The control activates write-protection and displays an icon ahead of the row.

Protecting table rows with a password

 
Notice
Caution: Data may be lost!
Rows protected by a password can be unlocked by entering the selected password exclusively. Forgotten passwords cannot be reset. This locks the protected rows permanently.
  1. Protecting table rows without a password is recommended
  2. Note down your passwords
  1. To protect a table row with a password:
SF_3_Editieren

  1. Activate the Edit toggle switch

  1. Double-tap or double-click the LOCKED column of the desired row
  2. Enter the password

  1. Confirm your input
  2. The control enters the value ### in the LOCKED column.
locked

  1. The control activates write-protection and displays an icon ahead of the row.

Removing write protection

Unlocking table rows that are protected without a password

  1. To unlock a table row that is protected without a password:
SF_3_Editieren

  1. Activate the Edit toggle switch
SF_3_Zeile_sperren_aktiv

  1. Deactivate the Lock record toggle switch
  2. The control removes the value L from the LOCKED column.
  3. The control deactivates the write protection and removes the icon ahead of the row.

Unlocking table rows that are protected with a password

 
Notice
Caution: Data may be lost!
Rows protected by a password can be unlocked by entering the selected password exclusively. Forgotten passwords cannot be reset. This locks the protected rows permanently.
  1. Protecting table rows without a password is recommended
  2. Note down your passwords
  1. To unlock a table row that is protected with a password:
SF_3_Editieren

  1. Activate the Edit toggle switch

  1. Double-tap or double-click the LOCKED column of the desired row
  2. Delete ###
  3. Enter the password

  1. Confirm your input
  2. The control deactivates write-protection and removes the icon ahead of the row.

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.

  1. To create a preset table in inches:
FileManagerMainIcon

  1. Select the Files operating mode

  1. Open the TNC:\table folder
  2. Rename the preset.pr file (e.g., as preset_mm.pr)
TablesMainIcon

  1. Select the Tables operating mode
NewTabIcon-active

  1. Select Add
tableNew

  1. Select Create new table
  2. The control opens the Create new table window.
  3. Select the pr folder
fileInsertIconBig

  1. Select the desired prototype
SF_3_Neue_Tabelle_Pfad_waehlen

  1. Select Select a path
  2. The control opens the Save as window.
  3. Select the table folder
  4. Enter the name preset.pr
SF_3_Neue_Tabelle_Speichern_Unter_Erstellen

  1. Select Create
  2. The control opens the Presets tab in Tables operating mode.

  1. Restart the control
TablesMainIcon

  1. Select the Presets tab in Tables operating mode
  2. The control uses the newly created table as a preset table.

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.
  1. 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.
  • Activating presets

  • 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.
  • Pallet preset table

Notes about machine parameters