Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 341

Advertising
background image

Chapter 11
Coordinate Control

11-25

Example 11.10

Rotating the Current Work Coordinate System

These program blocks cause the rotation of the active work coordinate
system as shown in Figure 11.15.

ABSOLUTE PROGRAM

INCREMENTAL PROGRAM

N1 G54 G17 G00;

N1 G54 G17 G90;

N2 G90 Z0. X0. F500;

N2 G00 Z0. X0.;

/N3 G68 Z10 X10 R45;

/N3 G68 Z10 X10 R45;

N4 G90 G00 Z5. X5.;

N4 G91 G00 Z5. X5.;

N5 G01 Z15. F100;

N5 G01 Z10 F100;

N6 X15.;

N6 X10;

N7 Z5.;

N7 Z-10;

N8 X5.;

N8 X-10;

N9 M30;

N9 G69;

N10 M30;G54 G00;

If optional block delete 1 is set to “ON,” the control follows the path
shown with a dashed line in Figure 11.15. If optional block 1 is set to
“OFF,” the control follows the path shown with a solid line in
Figure 11.15.

Figure 11.15

Results of Example 11.10

Initial G54 Z-axis

unrotated G54 coordinate system
rotated G54 coordinate system

Initial G54 Z-axis

Initial G54 X-axis

Initial G54 X-axis

Absolute Program

Incremental Program

15

10

5

5

15

Rotated
G54 Z-axis

Rotated
G54 Z-axis

5

15

10

15

10

5

45

°

45

°

15

10

5

15

10

5

Rotated G54 X-axis

12018-I

Advertising