Path traversing behavior
8.9 Tolerance for G0 motion (STOLF)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
495
System variables
The G0 tolerance factor, effective in the part program or in the actual IPO block, can be read
using system variables.
● In synchronized actions or with preprocessing stop in the part program via system
variable:
$AC_STOLF Active G0 tolerance factor
G0 tolerance factor, which was effective when processing the
actual main run block.
● Without preprocessing stop in the part program via system variable:
$P_STOLF Programmed G0 tolerance factor
If no value with
STOLF is programmed in the active part program, then these two system
variables supply the value set using MD20560 $MC_G0_TOLERANCE_FACTOR.
If no rapid traverse (G0) is active in a block, then these system variables always supply a
value of 1.
Example
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
effective 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.02mm 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.08mm.