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

B-63324EN/03 PROGRAMMING 13.FUNCTIONS TO SIMPLIFY PROGRAMMING
- 347 -
- Block end position
The coordinates of a figure moved rotationally or linearly (block end
position) can be read from #5001 and subsequent system variables of
the custom macro of rotational or linear copy.
- Disagreement between end point and start point
If the end point of the figure made by the n-th copy does not agree with
the start point of the figure to be made by the next (n + 1) copy, the
figure is moved from the end point to the start point, then copying is
started. (Generally, this disagreement occurs if an incorrect angular
displacement or shift is specified.)
Main program
O1000 ;
N10 G92 X-20.0 Y0 ;
N20 G00 G90 X0 Y0 ;
N30 G01 G17 G41 X20.0 Y0 D01 F100 ; (P0)
N40 Y20.0 ; (P1)
N50 X30.0 ; (P2)
N60 G72.2 P2000 L3
I90.0 J0 ;
c
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
O2000 G90 G01 X40.0 ; (P3)
N100 Y40.0 ; (P4)
N200 G01 X80.0 ; (P5)
N300 G01 Y20.0 ; (P6)
N400 X100.0 ; (P7)
N500 M99 ;
P0
P1
P2
P3
P4 P5
P6
Start point
Y
X
P7
70
90
End point of the first copy
Start point of the second
Fig.13.7 (a) Disagreement between end point and start point

Leave a Reply

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