Example: Presetting on top surface of workpiece and at center of a bolt hole circle

The control is to write the measured bolt-hole circle center to the preset table so that it may be used at a later time.

  • Q291 = Polar coordinate angle for 1st hole center 1
  • Q292 = Polar coordinate angle for 2nd hole center 2
  • Q293 = Polar coordinate angle for 3rd hole center 3
  • Q305 = Write center of bolt hole circle (X and Y) to row 1
  • Q303 = In the preset table PRESET.PR, save the calculated preset referenced to the machine-based coordinate system (REF system)

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.

 
Tip

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 416 MM

1 TOOL CALL "TOUCH_PROBE" Z

2 TCH PROBE 416 PRESET CIRCLE CENTER ~

Q273=+35

;CENTER IN 1ST AXIS ~

Q274=+35

;CENTER IN 2ND AXIS ~

Q262=+50

;NOMINAL DIAMETER ~

Q291=+90

;ANGLE OF 1ST HOLE ~

Q292=+180

;ANGLE OF 2ND HOLE ~

Q293=+270

;ANGLE OF 3RD HOLE ~

Q261=+15

;MEASURING HEIGHT ~

Q260=+10

;CLEARANCE HEIGHT ~

Q305=+1

;NUMBER IN TABLE ~

Q331=+0

;PRESET ~

Q332=+0

;PRESET ~

Q303=+1

;MEAS. VALUE TRANSFER ~

Q381=+1

;PROBE IN TS AXIS ~

Q382=+7.5

;1ST CO. FOR TS AXIS ~

Q383=+7.5

;2ND CO. FOR TS AXIS ~

Q384=+20

;3RD CO. FOR TS AXIS ~

Q333=+0

;PRESET ~

Q320=+0

;SET-UP CLEARANCE.

3 CYCL DEF 247 PRESETTING ~

Q339=+1

;PRESET NUMBER

4 END PGM 416 MM