
13. Program Support Functions
13.23 3-dimensional Coordinate Conversion; G68.1/G69.1
465
Example of program 2
This is a sample program only to explain about the operations. (To actually proceed with the
machining by using this program, the dedicated tools and the tool change functions are required.)
(1) Example of machining program using arc cutting
In the following program example, the arc cutting (N3 block) carried out on the top of the
workpiece is also carried out on the side of the workpiece. By using 3-dimensional coordinate
conversion, the side can be cut with the same process (N8 block).
N01 G17 G90 G00 X0 Y0 Z0;
Position to the workpiece zero point P.
N02 G00 X100. Y200. Z200.;
Move to (100, 200, 200) with rapid traverse.
N03 G02 X100. Y400. J100.
F1000;
Carry out arc cutting on workpiece top.
N04 G00 Z300.;
Escape in +Z direction at +100 rapid traverse.
N05 G68.1 X0 Y0 Z200. I0 J1 K0
R90.;
After shifting program coordinate system to (0, 0, 200), rotate
coordinate axis +90° in Y axis direction.
Set the program coordinate system (X' Y' Z') which has been
r90°in the Y axis direction around the (0,0,200).
N06 G17 G90 G00 X0 Y0 Z0;
Position to the new program zero point P'.
N07 G00 X100. Y200. Z200.;
Move to G68.1 program coordinate system (100, 200, 200)
and workpiece coordinate system (200, 200, 100) with rapid
traverse.
N08 G02 X100. Y400. J100.
F1000;
Carry out arc cutting on workpiece side.
N09 G00 Z300.;
Move +100 in G68.1 program coordinate Z' direction
with rapid traverse.
N10 G69.1;
N11 M02;
+X'
+X
N1
P (0,0,0)
N2
N3
N4
N6
P' (0,0,200)
+Z
+Z'
N7
N9
+Y'
+Y
N8