
4. PROGRAM FORMAT
93
Function Explanation
Tool nose radius
compensation
(G40, G41, G42)
G41
G42
G40
G40 ; Programmed path
G41 ; Left of programmed path
G42 ; Right of programmed path
Cutter compensation B
(G39 to G42)
Cutter compensation C
(G40 to G42)
G41
G42
G40
G40 ; Programmed path
G41 ; Left of programmed path
G42 ; Right of programmed path
Three–dimensional tool
compensation
(G40, G41)
Programmed path
Path after three–dimensional tool
compensation
Three–dimensional tool com-
pensation vector
G41
G40
Vx =
p
i ⋅ r
Vy =
p
j ⋅ r
Vz =
p
k ⋅ r
p=
i
2
+ j
2
+ k
2
The three–dimensional tool compensation vector is
obtained from the following expressions:
(Vector component along the
Xp–axis)
(Vector component along the
Yp–axis)
(Vector component along the
Zp–axis)
In the above expressions, i, j, and k are the values
specified in addresses I, J, and K in the block. r is
the offset value corresponding to the specified offset
number. p is the value obtained from the following
expression:
Normal direction control
(G40.1, G41.1 G42.1)
Normal direction
(proceeding direction)
Programmed
path
C axis
Tool
C axis
Tool