This function allows you to quickly convert the format of G, M, and T addresses in a CNC program:
G0, M0, T1G00, M00, T01Depending on the selected conversion direction, the function either adds a leading zero to single-digit addresses (converting them to a two-digit format) or removes it for simplified notation.
When selecting G0/M0/T0 → G00/M00/T00:
G0 X100 M3 T1
is converted to:
G00 X100 M03 T01
When selecting G00/M00/T00 → G0/M0/T0:
G00 X100 M03 T01
is converted to:
G0 X100 M3 T1
This function is useful for standardizing code to meet the requirements of a specific CNC, CAM system, or company standards.