13.FUNCTIONS TO SIMPLIFY PROGRAMMING NC FUNCTIONS B-63322EN/03
- 160 -
13.7.1 Rotation Copy
Machining can be repeated after rotating the figure using a subprogram.
Xp-Yp plane (specified by G17) :
G72.1 P_ L_ Xp_ Yp_ R_ ;
Zp-Xp plane (specified by G18) :
G72.1 P_ L_ Zp_ Xp_ R_ ;
Yp-Zp plane (specified by G19) :
G72.1 P_ L_ Yp_ Zp_ R ;_
P : Subprogram number
L : Number of times the operation is repeated
Xp : Center of rotation on the Xp axis (Xp : X-axis or an
axis parallel to the X-axis)
Yp : Center of rotation on the Yp axis (Yp: Y-axis or an
axis parallel to the Y-axis)
Zp : Center of rotation on the Zp axis (Zp: Z-axis or an
axis parallel to the Z-axis)
R : Angular displacement (A positive value indicates a
counterclockwise angular displacement. Specify an
incremental value.)
Specify a plane selection command (G17, G18, or G19) to select the
plane on which the rotational copy is made.
Example
Main program
O1000 ;
N10 G90 G00 X80. Y100. ;
N20 Y50. ; (P0)
N30 G01 G17 G42 X43.301 Y25. D01 F100 ; (P1)
N40 G72.1 P1100 L3 X0 Y0 R120. ;
N50 G90 G40 G01 X80. Y50. ; (P0)
N60 G00 X80. Y100. ;
N70 M30 ;
Sub program
O1100 G91 G03 X-18.301 Y18.301 R50. ;
(P2)
N100 G01 X-5. Y50. ; (P3)
N200 G03 X-40. I-20. ; (P4)
N300 G01 X-5. Y-50. ;
(P5)
N400 G03 X-18.301 Y-18.301 R50. ; (P6)
N500 M99 ;