The majority of G and M commands and other words are self-holding, remain active until overwritten or deactivated/deselected.
Aimed to simplify and to reduce programming tasks. Example: G41 can be deactivated by issuing G40 command .
Self-holding Functions (2) Take-over of G00 commands in block N0110 In block N0120 G00 is deactivated by G01. G01 is active. N0050 M03 N0060 … … N0120 M04 Example 1: Example 2: M03 activated at N0050 and effective from N0050 through N120. M03 deactivated at N0120 by M04 command N0100 G00 X50. Z+10. N0110 X36. Z+2. N0120 G01 X40. Z-10. F…
Reference Points M = Machine zero point. (unchangeable ref. Point determined by machine manufacturer) N = Tool mounting reference point W = Work piece zero point. (can be freely determined by the programmer and can be moved within program
G & M Commands G00: Rapid traverse G01: Linear interpolation G02: Circular interpolation clockwise G03: Circular interpolation counter clockwise G70: Measuring in Inch (USA) G71: Measuring in mm (Other countries) M03: Spindle ON clockwise M04: Spindle ON counter clockwise M20: Tailstock back M21: Tailstock forward
G 00, Rapid Traverse Absolute dimensions of the target point coordinates: N030 G90 N040 G00 X48 Z-26 An absolute X coordinate related to the diameter. Incremental dimensions of the target point coordinates: N030 G91 N040 G00 X-10,5 Z-31 Tool position X69 Z5