4.15.5 Example of Polar Coordinate System: G16
- SAMPL16A.CNC
;Hexagon
;Absolute radius and absolute angle examples
G92 X0 Y0 Z0
G16 ;Polar coordinate system
G90 G0 X200. Y60. ;r=200,angle=60°
G1 Y120. F1500. ;Then give the absolute angle
Y180.
Y240.
Y300.
Y360.
Y60.
G15 ;Cancel polar coordinate system
G90 G00 X0 Y0
M30
Example of Polar Coordinate System: G16 (A)
- SAMPL16B.CNC
;Octagon
;Absolute radius and incremental angle example
G92 X0 Y0 Z0
G16 ;Polar coordinate system
G90 G0 X200.Y45. ;r=200,angle=45°
G91 G1 Y45.F1500. ;Then give the incremental angle
N10 Y45.
M95 P10 L6
G15 ;Cancel polar coordinate system
G90 G00 X0 Y0
M30
Example of Polar Coordinate System: G16 (B)
- SAMPL16C.CNC
;Hexagon 六角形
;Incremental radius and incremental angle examples
G92 X0 Y0 Z0
G16 ;Polar coordinate system
G91 G0 X200. Y60.
G1 X200. Y120. F1500.;
N10 Y60.
M95 P10 L4
G15
G90 G00 X0 Y0
M30
Example of Polar Coordinate System: G16 (C)
- SAMPL16D.CNC
;Lotus flower
;Incremental radius and incremental angle examples
G92 X0 Y0 Z0
G91
G16 G0 X100. Y0. F1500.
N10 G2 X250. Y160. R200.
M95 P10 L8
G15
G90 G0 X0 Y0 Z0
M30
Example of Polar Coordinate System: G16 (D)
- SAMPL16E.CNC
;Star fish
;Absolute radius and incremental angle example
G92 X0 Y0 Z0
G90 G16 G0 X200. Y0
G91 G2 Y144. R200. F1500.
N10 Y144. R200.
M95 P10 L4
;
N20 Y72. R200.
M95 P20 L4
G15
G90 G0 X0 Y0
M30
Example of Polar Coordinate System: G16 (E)
- SAMPL16F.CNC
;Magic crystal
;Examples of absolute radius and incremental angle
G92 X0 Y0 Z0
G90 G16 G0 X100. Y45.
G91 G1 X200. Y162. F1500.
N10 Y162.
M95 P10 L18
G15
M30
Example of Polar Coordinate System: G16 (F)