
Apprv.Desig
FANUC Series 16i/18i/21i-MA
Embedded macro for milling
Drawing No.
Title
Page
3 / 59
2. Details
The following descriptions show how to program each canned cycle.
2.1 Hole pattern
The following menus are used for definition of hole’s position for the machining cycle of
hole.
Therefore these are used just behind the program of the machining cycle of hole. For
creating a program of the machining cycle of hole, refer to “OPERATOR’S MANUAL(M
series)”.
#Example of a Hole pattern program
O0001(HOLE PATTERN)
G90G81Z-10.0R3.0F200.K0---------------------- Machining cycle of hole
G200X4.0Y4.0A-4.0B4.0C-4.0D-4.0Q1.0------ Hole pattern
G80G28G91X0Y0Z0
M30
2.1.1 Points (G200)
This is a menu for specifying the arbitrary hole positions.
Create ISO code program in the following form.
G200 X Y Q (A B C D E F • • • •);
X : Point X
X coordinate of the position of each hole.
Y : Point Y
Y coordinate of the position of each hole.
A maximum of 8 points can be specified. The following table shows addresses, which are
used in arguments for X and Y coordinate of the position of each hole.