Preset table *.pr

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

By default, the preset table has the name preset.pr, and is saved in the TNC:\table directory. The preset table is open in the Tables operating mode 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

Active row

Write-protected row

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

Button

Function

Set a preset

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

Has the effect of a 3D basic rotation for tool axis Z

Basic rotation and 3D basic rotation

Input: –99999.9999999...+99999.9999999

SPB

Spatial angle of preset in the B axis

Basic transformation relating to the basic coordinate system B-CS
Basic coordinate system B-CS

Has the effect of a 3D basic rotation for tool axis Z

Basic rotation and 3D basic rotation

Input: –99999.9999999...+99999.9999999

SPC

Spatial angle of preset in the C axis

Basic transformation relating to the basic coordinate system B-CS
Basic coordinate system B-CS

Has the effect of a basic rotation for tool axis Z

Basic rotation and 3D basic rotation

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 basic rotation of a workpiece

Results of the Rotation (ROT) probing function

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 in 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 would lock the protected rows permanently.
  1. Protecting table rows without a password is recommended
  2. Note down your passwords

Activating write protection

Protecting table rows without a password

To protect a table row without a password:

    1. Activate the Edit toggle switch

    1. Select the desired row

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

    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 would lock the protected rows permanently.
    1. Protecting table rows without a password is recommended
    2. Note down your passwords

    To protect a table row with a password:

      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.

      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

      To unlock a table row that is protected without a password:

        1. Activate the Edit toggle switch

        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 would lock the protected rows permanently.
        1. Protecting table rows without a password is recommended
        2. Note down your passwords

        To unlock a table row that is protected with a password:

          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 Settings menu item, the unit of measure of the preset table will not be adjusted automatically.

          The Machine Settings menu item

          To create a preset table in inches:

            1. Restart the control
            2. Do not acknowledge Power interrupted

            1. Select the Files operating mode

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

            1. Select the Tables operating mode

            1. Select Create new table
            2. The control opens the Create new table window.
            3. Select the pr folder
            4. Select INCH as the unit of measure if necessary

            1. Select the desired prototype

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

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

            1. Restart the control

            1. Acknowledge Power interrupted with the CE key

            1. Select the Presets tab in Tables operating mode
            2. The control uses the newly created table as a preset table.
            3. The control shows INCH as the unit of measure in the dialog bar of the workspaces.

            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
            • 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, then the preset must be reactivated. Only then does the control apply 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

            • If a manual probing process or an NC program is interrupted or stopped, you cannot edit the preset table. When you double-tap or double-click a table cell the control shows the Editing not possible. Perform internal stop? window. If you select Yes, the control may lose touch points or modally active program information.

            Notes about machine parameters