<Table> Sample <Tr> <Th> Block </Th> <Th> Code </Th> <Th> Description </Th> </Tr> <Tr> <Td>% </Td> <Td> </Td> <Td> Signals start of data during file transfer . Originally used to stop tape rewind, not necessarily start of program . For some controls (FANUC) the first LF (EOB) is start of program . ISO uses%, EIA uses ER (0x0B). </Td> </Tr> <Tr> <Td> </Td> <Td> O4968 (OPTIONAL PROGRAM DESCRIPTION OR COMMENT) </Td> <Td> Sample face and turn program . Comments are enclosed in parentheses . </Td> </Tr> <Tr> <Td> N01 </Td> <Td> M216 </Td> <Td> Turn on load monitor </Td> </Tr> <Tr> <Td> N02 </Td> <Td> G20 G90 G54 D200 G40 </Td> <Td> Inch units . Absolute mode . Activate work offset . Activate tool offset . Deactivate tool nose radius compensation . </Td> </Tr> <Tr> <Td> N03 </Td> <Td> G50 S2000 </Td> <Td> Set maximum spindle speed in rev / min--This setting affects Constant Surface Speed mode </Td> </Tr> <Tr> <Td> N04 </Td> <Td> T0300 </Td> <Td> Index turret to tool 3 . Clear wear offset (00). </Td> </Tr> <Tr> <Td> N05 </Td> <Td> G96 S854 M03 </Td> <Td> Constant surface speed (automatically varies the spindle speed), 854 sfm, start spindle CW rotation </Td> </Tr> <Tr> <Td> N06 </Td> <Td> G41 G00 X1. 1 Z1. 1 T0303 M08 </Td> <Td> Enable cutter radius compensation mode, rapid position to 0.55" above axial centerline (1.1" in diameter) and 1.1 inches positive from the work offset in Z, activate flood coolant </Td> </Tr> <Tr> <Td> N07 </Td> <Td> G01 Z1. 0 F. 05 </Td> <Td> Feed in horizontally at rate of 0.050" per revolution of the spindle until the tool is positioned 1" positive from the work offset </Td> </Tr> <Tr> <Td> N08 </Td> <Td> X-0.016 </Td> <Td> Feed the tool slightly past center--the tool must travel by at least its nose radius past the center of the part to prevent a leftover scallop of material . </Td> </Tr> <Tr> <Td> N09 </Td> <Td> G00 Z1. 1 </Td> <Td> Rapid positioning; retract to start position </Td> </Tr> <Tr> <Td> N10 </Td> <Td> X1. 0 </Td> <Td> Rapid positioning; next pass </Td> </Tr> <Tr> <Td> N11 </Td> <Td> G01 Z0. 0 F. 05 </Td> <Td> Feed in horizontally cutting the bar to 1" diameter all the way to the datum, 0.05 in / rev </Td> </Tr> <Tr> <Td> N12 </Td> <Td> G00 X1. 1 M05 M09 </Td> <Td> Clear the part, stop the spindle, turn off the coolant </Td> </Tr> <Tr> <Td> N13 </Td> <Td> G91 G28 X0 </Td> <Td> Home X axis--return the machine's home position for the X axis </Td> </Tr> <Tr> <Td> N14 </Td> <Td> G91 G28 Z0 </Td> <Td> Home Z axis--return to machine's home position for the Z axis </Td> </Tr> <Tr> <Td> N15 </Td> <Td> G90 </Td> <Td> Return to absolute mode . Turn off load monitor </Td> </Tr> <Tr> <Td> N16 </Td> <Td> M30 </Td> <Td> Program stop, rewind to top of program, wait for cycle start </Td> </Tr> <Tr> <Td>% </Td> <Td> </Td> <Td> Signal end of data during file transfer . Originally used to mark end of tape, not necessarily end of program . ISO uses%, EIA uses ER (0x0B). </Td> </Tr> </Table> <Tr> <Th> Block </Th> <Th> Code </Th> <Th> Description </Th> </Tr> <Tr> <Td>% </Td> <Td> </Td> <Td> Signals start of data during file transfer . Originally used to stop tape rewind, not necessarily start of program . For some controls (FANUC) the first LF (EOB) is start of program . ISO uses%, EIA uses ER (0x0B). </Td> </Tr> <Tr> <Td> </Td> <Td> O4968 (OPTIONAL PROGRAM DESCRIPTION OR COMMENT) </Td> <Td> Sample face and turn program . Comments are enclosed in parentheses . </Td> </Tr>

What is g code and mcode in cnc machine