Examples
Example 1: Adaptation of the relative G0 tolerance
Program code Comment
COMPCAD G645 G1 F10000 ; Compressor function COMPCAD
X... Y... Z... ; The machine and setting data apply here.
X... Y... Z...
X... Y... Z...
G0 X... Y... Z...
G0 X... Y... Z... ; Machine data $MC_G0_TOLERANCE_FACTOR (e.g. =3) is ef-
fective here, i.e. a smoothing tolerance of:
$MC_G0_TOLERANCE_FACTOR * $MA_COMPRESS_POS_TOL
CTOL=0.02
STOLF=4
G1 X... Y... Z... ; A contour tolerance of 0.02 mm is applied starting
from here.
X... Y... Z...
X... Y... Z...
G0 X... Y... Z...
X... Y... Z... ; From here, a G0 tolerance factor of 4 applies, i.e. a
contour tolerance of 0.08 mm.
...
Example 2: Adaptation of the absolute G0 tolerances
The following absolute G0 tolerances should be preset in the machine data:
● G0 contour tolerance: 0.1
● G0 orientation tolerance: 1.0
These tolerances should be temporarily adapted in the part program:
Program code Comment
COMPCAD G645 G1 F10000 ; Compressor function COMPCAD
X... Y... Z... ; The configured workpiece machining tolerances apply
from here.
X... Y... Z...
X... Y... Z...
G0 X... Y... Z...
G0 X... Y... Z... ; The configured absolute G0 tolerances apply here.
CTOLG0=0.2 OTOLG0=2.0 ; Programming the absolute G0 tolerances.
G1 X... Y... Z...
X... Y... Z...
X... Y... Z...
G0 X... Y... Z...
X... Y... Z... ; The programmed G0 tolerances apply from here.
...
Fundamentals
2.9 Motion commands
NC programming
184 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0