Move machine to programmed position with feed speed.
G01 is used to move the CNC machine in a straight line at a specified feed rate, which is set using the F command. The feed rate is the speed at which the cutting tool moves through the material being machined, and is typically measured in units of distance per time, such as millimeters per minute (mm/min) or inches per minute (ipm). The G01 command is used for controlled feed linear motion, as opposed to the rapid traverse motion of G00. This is useful when you need precision and control over the cutting process, such as when finishing a surface or performing detailed machining.
When distance and angle are used, position is calculated against zero position.
G01 <X..W @^>
G01 H E
Linear move to X100 and Y-30.
G01 X100 Y-30
Linear move axis 2 (Z) to -20.
G01 H2 E-20