Siemens sinumerik 840D sl Function Manual page 121

Hide thumbs Also See for sinumerik 840D sl:
Table of Contents

Advertisement

4.7
Example: Compressor for Orientation
Exercise
In the example program below, a circle approached 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 in an unsteady way,
the compressor generates a smooth motion of the orientation.
DEF INT NUMBER = 60
DEF REAL RADIUS = 20
DEF INT COUNTER
DEF REAL ANGLE
N10 G1 X0 Y0 F5000 G64
$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
Special functions: 3-Axis to 5-Axis Transformation (F2)
Function Manual, 11/2006, 6FC5397-2BP10-2BA0
4.7 Example: Compressor for Orientation
; Maximum deviation
; of the contour 0.05 mm
; Maximum deviation
; of orientation 5 degrees
; The movement describes a circle,
; generated from polygons.
; The orientation moves
; on a cone around the
; Z-axis with an opening angle
; of 45 degrees.
Examples
115

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents