Example: Determining a basic rotation from two holes
- Q268 = Center of the 1st hole: X coordinate
- Q269 = Center of the 1st hole: Y coordinate
- Q270 = Center of the 2nd hole: X coordinate
- Q271 = Center of the 2nd hole: Y coordinate
- Q261 = Coordinate in the touch probe axis in which the measurement is performed
- Q307 = Angle of the reference line
- Q402 = Compensation of workpiece misalignment by rotating the table
- Q337 = Set the display to zero after the alignment
NC programs contained in this User's Manual are suggestions for solutions. The NC programs or individual NC blocks must be adapted before being used on a machine.
Change the following contents as needed:
- Tools
- Cutting parameters
- Feed rates
- Clearance height or safe position
- Machine-specific positions (e.g., with M91)
- Paths of program calls
Some NC programs depend on the machine kinematics. Adapt these NC programs to your machine kinematics before the first test run.
In addition, test the NC programs using the simulation before the actual program run.
With a program test you determine whether the NC program can be used with the available software options, the active machine kinematics and the current machine configuration.
0 BEGIN PGM TOUCHPROBE MM | |||
1 TOOL CALL 600 Z | |||
2 TCH PROBE 401 ROT OF 2 HOLES ~ | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
3 CALL PGM 35 | ; Call the part program | ||
4 END PGM TOUCHPROBE MM |