Siemens SINUMERIK 840D sl Programming Manual page 695

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

See " Activating/deactivating NC block compression (COMPON, COMPCURV, COMPCAD,
COMPSURF, COMPOF) (Page 604) ".
Note
Orientation motion is only compressed when large radius circular interpolation is active (i.e. tool
orientation is changed in the plane, which is determined by start and end orientation).
Large-radius circular interpolation is performed under the following conditions:
● MD21104 $MC_ORI_IPO_WITH_G_CODE = 0,
ORIWKS is active and
the orientation is programmed as a vector (with A3, B3, C3 or A2, B2, C2).
● MD21104 $MC_ORI_IPO_WITH_G_CODE = 1 and
ORIVECT or ORIPLANE is active.
The tool orientation can be programmed either as a direction vector or with rotary axis
positions. No large radius circle interpolation is performed, if one of the G commands
ORICONxx or ORICURVE is active, or if polynomials for orientation angle (PO[PHI] and
PO[PSI]) are programmed.
Example
In the example program below, a circle approximated by a polygon definition is compressed.
The tool orientation moves on the outside of the taper at the same time. Although the
programmed orientation changes are executed one after the other, but discontinuously, the
compressor function generates smooth orientation motion.
Programming
DEF INT NUMBER=60
DEF REAL RADIUS=20
DEF INT COUNTER
DEF REAL ANGLE
N10 G1 X0 Y0 F5000 G64 //sort match
rate lower first
$SC_COMPRESS_CONTUR_TOL=0.05
$SC_COMPRESS_ORI_TOL=5
TRAORI
COMPCURV
N100 X0 Y0 A3=0 B3=-1 C3=1
N110 FOR COUNTER=0 TO NUMBER
N120 ANGLE=360*COUNTER/NUMBER
N130 X=RADIUS*cos(angle) Y=RADIUS*sin(angle)
A3=sin(angle) B3=-cos(angle) C3=1
N140 ENDFOR
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Comment
; Maximum deviation of the contour = 0.05 mm
; Maximum deviation of the orientation
= 5 degrees
; The movement describes a circle generated
from polygons. The orientation moves on a
taper around the Z axis with an opening an-
gle of 45 degrees.
Work preparation
3.9 Transformations
695

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents