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:
•
Without preprocessing stop in the part program via system variable:
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
COMPCAD G645 G1 F10000
X... Y... Z...
X... Y... Z...
X... Y... Z...
G0
G0
CTOL=0.02
STOLF=4
G1 X... Y... Z...
X... Y... Z...
X... Y... Z...
G0 X... Y... Z...
X... Y... Z...
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
$AC_STOLF
Active G0 tolerance factor
G0 tolerance factor, which was effective when processing the
actual main run block.
$P_STOLF
Programmed G0 tolerance factor
X... Y... Z...
X... Y... Z...
8.9 Tolerance for G0 motion (STOLF)
Comment
; Compressor function COMPCAD
; The machine and setting data apply here.
; 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.
; A contour tolerance of 0.02mm is applied starting from
here.
; From here, a G0 tolerance factor of 4 applies, i.e. a
contour tolerance of 0.08mm.
Path traversing behavior
505