FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
B–62764EN/01
14. FUNCTIONS TO SIMPLIFY
PROGRAMMING
237
Y
90
P0
P1
P2
P3
P4 P5
P6
P7
X
End point of the first copy
Start point of the second copy
Start point
D
D
DD
D
D
D
DD
O1000 ;
N10 G92 X–20.0 Y0 ;
N20 G00 G90 X0 Y0 ;
N30 G01 G17 G41 X20. Y0 D01 F10 ; (P0)
N40 Y20. ; (P1)
N50 X30. ; (P2)
N60 G72.2 P2000 L3 I90. J0 ;
O2000 G90 G01 X40. ; (P3)
N100 Y40. ; (P4)
N200 G01 X80. ; (P5)
N300 G01 Y20. ; (P6)
N400 X100. ; (P7)
N500 M99;
Main program
Although a shift of 70 mm was required, I90.0 was
specified instead of I70.0. Since an incorrect shift
was specified, the end point of the figure made by
the n–th copy disagrees with the start point of the
figure to be made by the next (n + 1) copy.
Subprogram
G72.1 cannot be specified more than once in a subprogram for making a
rotational copy (If this is attempted, P/S alarm No.160 will occur). G72.2
cannot be specified more than once in a subprogram for making a linear
copy (If this is attempted, P/S alarm No. 161 will occur).
Within a program that performs a rotational or linear copy, the following
must not be specified:
Command for changing the selected plane (G17 to G19)
Command for specifying polar coordinates
Reference position return command
Coordinate system rotation, scaling, programmable mirror image
The command for rotational or linear copying can be specified after a
command for coordinate system rotation, scaling, or programmable
mirror image is executed.
Limitations
D Specifying two or more
commands to copy a
figure
D Commands that must not
be specified

Leave a Reply

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