B1: Continuouspath Mode, Exact Stop, LookAhead
3.7 Tolerance and compression of G0 blocks
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
207
Compressing G0 blocks
The compression of G0 blocks is set for specific channels using the hundreds position in the machine data:
MD20482 $MC_COMPRESSOR_MODE (mode of compression)
A more detailed description of MD20482 can be found in:
References:
Function Manual Special Functions; Multi-Axis Transformations (F2),
Chapter: "Compression of the orientation"
Programming
The tolerance factor set using MD20560 $MC_G0_TOLERANCE_FACTOR can be temporarily overwritten by
programming STOLF in the part program:
Example:
The value in MD20560 is not changed by programming the tolerance factor. After a reset or end of part program,
the value set using MD20560 is effective again.
Value Meaning
0xx Circular blocks and G0 blocks are not compressed.
1xx Circular blocks are compressed. Only COMPCAD.
2xx G0 blocks are compressed.
See also MD20560 $MC_G0_TOLERANCE_FACTOR or NC command STOLF
3xx Circular blocks and G0 blocks are compressed.
Syntax:
STOLF=<…>
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.