Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 633 -
Sample program (bolt hole circle)
A macro is created which drills H holes at intervals of B degrees after a
start angle of A degrees along the periphery of a circle with radius I.
The center of the circle is (X,Y). Commands can be specified in either
the absolute or incremental mode. To drill in the clockwise direction,
specify a negative value for B.
- Calling format
G65 P9100 Xx Yy Zz Rr Ff Ii Aa Bb Hh ;
X : X coordinate of the center of the circle
(absolute or incremental specification)..................................(#24)
Y : Y coordinate of the center of the circle
(absolute or incremental specification)..................................(#25)
Z : Hole depth..............................................................................(#26)
R : Coordinates of an approach point..........................................(#18)
F : Cutting feedrate .......................................................................(#9)
I : Radius of the circle ..................................................................(#4)
A : Drilling start angle...................................................................(#1)
B : Incremental angle (clockwise when a negative value is specified)(#2)
H : Number of holes.....................................................................(#11)
H=3
H=4
H=2
H=1
A
B
B
Center (X,Y)
Radius I

Leave a Reply

Your email address will not be published. Required fields are marked *