
Apprv.Desig
FANUC Series 16i/18i/21i-MA
Embedded macro for milling
Drawing No.
Title
Page
5 / 59
2.1.2 Line (G201)
This is a menu for specifying the pattern of hole positions at same or different spaces on
arbitrary line.
Create ISO code program in the following form.
G201 W X Y A N T Q (R B C • • • •);
W : Space
1. Same space
2. Different space
In the case of Same space :
X : Start point X
X coordinate of the position of first hole.
Y : Start point Y
Y coordinate of the position of first hole.
A : Line angle
The angle between the X axis and the straight line. If there in no input, 0 is regarded.
N : Holes number
The total number of holes, including the number of the points to be omitted.
T : Pitch space
The space in the hole position.
Q : Pattern continue
Selection whether to continue entering another hole pattern.
1: End
2: Continue
R : Line length
The length of the straight. If T(Pitch space) is inputted, this address don’t have to be
inputted.
Line : different space
`
Y