Home Documentation
Documentation
Article Index
Documentation
G-codes samples: Surface Measure
G-codes samples: Tool Length Measure
G-codes samples: Homing
G-codes samples: Helical interpolation
Polar coordinates G16 G15
Plane selection G17 G18 G19
G68 G69 Coordinate system rotation
G65 Simple macro call
All Pages

 

Plane Selection

Codes G17 G18 G19 are used to select the planes for circular interpolation, cutter compensation, and
drilling by G–code.

  • G17 - XY plane;
  • G18 - XZ plane;
  • G19 - YZ plane;
The nc code sample, which uses Plane selsction is shown on a picture below:

G17 G18 G19 plane selection in myCNC

(Plane selection command sample)
G90G0X0Y0Z0                                                                                                             
G17.                                                                                                                    
G2 X400 R200                                                                                                            
X0 R200                                                                                                                 
G18                                                                                                                     
X400 R200                                                                                                               
X0 R200                                                                                                                 
X200 Z200 R200                                                                                                          
G19                                                                                                                     
Z-200 R200                                                                                                              
Z200 R200                                                                                                               
M2