Tilted Working Plane Function
TWP
Example & Usage for Makino D500
Tilted Work Plane Operation outline
By shifting and rotating work coordinate, you can create programs easily
on transformed coordinate system.
This function requires input angle using EULERs ANGLE definition.
Proper rotation : - View point looking at positive axis.
- CCW rotation is positive angle.
- sequence of rotation: 1st is Z, 2nd is X, 3rd is Z axis.
Euler Angle Definition
Z
Z Z
Y
X
X
Z Rotation
1st
Z Y Y
X
X
X Rotation
2nd
Z Rotation Again
3rd
Work piece overview
Makino recommends using TWP in conjunction with TCP for
hole feature machining when canned cycle output is preferred.
For rigid tapping, G84 canned cycle must be utilized, so must use TWP
Best/easiest approach is to define the TWP coordinate system
at the center & top of the hole to be machined
Orient Z axis positive vector with hole centerline
Transformed
coordinate system
G68.2 to center/top
of hole
Original
coordinate
system G54
Work piece overview
TWP example definition
G68.2 X0 Y3.5705 Z3.511 I90. J-90. K0
Step #1 All TWP definitions
come from part zero coordinate
system location and orientation
Example definition for this hole
G68.2 X0 Y3.5705 Z3.511 I90. J-90. K0
Z
Y
Part zero coordinate system
location/orientation G54
Work piece overview
TWP example definition
G68.2 X0 Y3.5705 Z3.511 I90.J-90.K0
Step #2 Move coordinate
system to hole center & top
plane, but do not rotate. This
defines XYZ location from part
zero to hole center see red
values above
Part zero coordinate system
location/orientation G54
Work piece overview
TWP example definition
G68.2 X0 Y3.5705 Z3.511 I90.J-90.K0
Step #3 Rotate around Z for 1st
orientation per Eulers angle
definition see red value above
Looking at Z+ vector, CCW
rotation is positive direction,
therefore value is positive
Work piece overview
TWP example definition
G68.2 X0 Y3.5705 Z3.511 I90.J-90.K0
Step #4 Rotate around X for 2nd
orientation per Eulers angle
definition see red value above
Looking at X+ vector, CCW
rotation is positive direction, but
rotation required is negative to
bring Z+ parallel to hole
centerlinetherefore value is
negative
TWP definition is complete for this hole
Work piece overview
Sample part, definitions and hole locations
1
2
3
4
Work piece overview
Sample part, definitions and hole locations
Please note - Typically there are
multiple combinations for angular
rotations, which all are valid. We
selected these for the example.
Drilling program example D500
Move to G54 X0 Y0
Must force proper A-axis rotation prior to TWP
Defines TWP location and plane orientation
Performs physical rotary axis rotation to TWP
**IMPORTANT** Moves tool over top of hole
Activate tool length compensation with G43
Canned cycle to drill hole going 1 deep from top surface
Must be in this order cancel cycle, cancel tool length, cancel TWP
Send Z axis to machine home location to clear for next rotary motion
Next hole sequence for TWP
Rigid tapping program example D500
ALL FORMAT AND TWP DEFINITIONS ARE THE
SAME AS DRILLING FOR RIGID TAPPING,
EXCEPT AS NOTED BELOW
Makino M-code for rigid tap followed by spindle speed
Rigid tap canned cycle G84
Makino M-code for rigid tap followed by spindle speed
Rigid tap canned cycle G84