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

13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63324EN/03
- 312 -
Example
M3 S500 ; Cause the spindle to start rotating.
G90 G87 X300. Y-250. Position, bore hole 1.
Z-150. R-120. Q5. Orient at the initial level, then shift by 5 mm.
P1000 F120. ; Stop at point Z for 1 s.
Y-550. ; Position, drill hole 2.
Y-750. ; Position, drill hole 3.
X1000. ; Position, drill hole 4.
Y-550. ; Position, drill hole 5.
Y-750. ; Position, drill hole 6
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position return
M5 ; Cause the spindle to stop rotating.

Leave a Reply

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