Chapter 22 G-Code Editor and E-CAM Editor G00/G01/G02/G03 supports inheritance function (meaning the next row of codes without G code can inherit the previous G codes) while some G codes do not possess this function. The speed parameter (F) of G01/G02/G03 can be extended. Equivalent to G00 X-40 Y-50 Equivalent to G00 X-40 Y-50 Equivalent to G03 X-40 Y-50 R10 F20 Input type of constant operand parameter: Arabic numerals and floating points E.g. N0 G0 X100.0 Y100.0 Quick positioning (G0) does not need to set speed E.g.
N0 G0 X100.2 Y500.0 At least one of the position unit of axis parameters X/Y/Z is saved in G00, G01, while other omitted axis parameters can refer to the closest parameter values from the previous rows of codes. There are two ways to execute comments : Use “and” to wrap comments, but nested comments are not allowed. E.g. (Comment) Add words after “%”, e.g. %comment The operand parameters X, Y, Z, I, J, K, R can be written in any order and not a particular order to fulfill the needs of writing G codes. E.g: N0 G1 X100 Z300 Y200.45 F400 => N0 G1 X100 Y200.45 Z300 F400 The G code formats are listed in the following table.
22-3 G code Function Format G0 Quick Positioning N G0 X Y Z A B C _ _ _ _ _ _ G1 Linear interpolation N G1 X Y Z A B C F _ _ _ _ _ _ _ _ G2 Clockwise circular arc/helical interpolation N G2 X Y Z I J F _ _ _ __ _ _ N G2 X Y Z I K F _ _ _ __ _ _ N G2 X Y Z J K F _ _ _ _ _ _ _ N G2 X Y Z R F _ _ _ _ _ _