
B.LIST OF FUNCTIONS AND PROGRAM FORMAT APPENDIX B-63942EN/02
- 410 -
(4/10)
Functions Illustration Program format
Reference position return
(G28)
2nd Reference position return
(G30)
Start point
Reference position (G28)
Intermediate point
2nd reference
osition
G30
IP
G28 IP_ ;
G30 IP_ ;
Movement from reference
position
(G29)
Reference position
IP
Intermediate point
G29 IP_ ;
Floating reference position
return
(G30.1)
Start
point
Floating reference position
Intermediate point
IP
G30.1 IP_ ;
Skip function
(G31)
Start
oint
Ski
si
nal
IP
G31 IP_ F_ ;
Threading
(G33)
• For machining center
G33 IP_ F_ ;
F : Lead
Threading
(G32)
F
• For lathe
Equal lead threading
G32 P_ F_ ;
Cutter or tool nose radius
compensation, three-
dimensional cutter
compensation
(G38, G39, G40 to G42)
G41
G42
G40
• For machining center
G17
G18
G19
G41
G42
D_ ;
D : Tool compensation number
G40 : Cancel
Cutter or tool nose radius
compensation
(G40 to G42)
(G38, G39)
• For lathe only
G41
G42
G40 : Cancel
IP ;
Cutter compensation for 5-axis
machining
(G41.2, G42.2)
(G41.3)
Compensatio
n plane
Y
Z
X
Too l v e c to r
Cutter compensation
amount
Tool center path
(path after
compensation)
Programmed path
(path before compensation)
Cutter compensation vector
Tool side offset
Tool used
Reference
tool
Cutter
compensatio
n vector
Χυττερ χοµπενσατιο
ν α
ουντ
Tool center path
(path after
compensation)
Programmed
path
Tool vector
Leading edge offset
G41.2
G42.2
IP
D_ ;
Tool side offset
G40 IP_ ; Cancellation of cutter compensation
G41.3 D_ ; Leading edge offset
G40 ; Canceling the leading edge offset