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.
Related topics
- Setting and activating presets
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.
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. 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 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 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 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 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 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.
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
Activating write protection
Protecting table rows without a password
To protect a table row without a password: | ||
| ||
| ||
| ||
|
Protecting table rows with a password
- Protecting table rows without a password is recommended
- Note down your passwords
To protect a table row with a password: | ||
| ||
| ||
| ||
|
Removing write protection
Unlocking table rows that are protected without a password
To unlock a table row that is 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
To unlock a table row that is protected with a password: | ||
| ||
| ||
|
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: | ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
Notes
- Before activating a preset, check whether all columns contain values.
- For undefined columns, enter values (e.g., 0)
- 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.
- 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.
- 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
- In the optional machine parameter initial (no. 105603), the machine manufacturer defines a default value for every 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 of the Tables operating mode.
- The machine manufacturer uses the optional machine parameter presetToAlignAxis (no. 300203) to define for each axis how the control is to interpret offsets in the following NC functions:
- FUNCTION PARAXCOMP
Defining behavior when positioning parallel axes with FUNCTION PARAXCOMP
- POLARKIN (#8 / #1-01-1)
- FUNCTION TCPM or M128 (#9 / #4-01-1)
Compensating the tool angle of inclination with FUNCTION TCPM (#9 / #4-01-1)