Siemens SINUMERIK 840D sl Programming Manual page 352

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

Advertisement

Coordinate transformations (frames)
12.4 Programmable rotation (ROT, AROT, RPL)
Example 2: Spatial rotation
Program code
N10 G17 G54
N20 TRANS X10 Y10
N30 L10
N40 ATRANS X35
N50 AROT Y30
N60 ATRANS X5
N70 L10
N80 G0 X300 Y100 M30
Example 3: Multi-face machining
352
In this example, paraxial and inclined
workpiece surfaces are to be machined in a
clamping.
Condition:
The tool must be aligned perpendicular to
the inclined surface in the rotated Z
direction.
Comment
; Working plane X/Y, workpiece zero
; Absolute offset
; Subroutine call
; Additive offset
; Rotation around the Y axis
; Additive offset
; Subroutine call
; Retraction, end of program
In this example, identical shapes are
machined in two workpiece surfaces
perpendicular to one another via
subroutines. In the new coordinate system
on the right-hand workpiece surface, infeed
direction, working plane and the zero point
have been set up as on the top surface.
Therefore, the conditions required for the
subroutine execution still apply: working
plane G17, coordinate plane X/Y, infeed
direction Z.
Programming Manual, 09/2011, 6FC5398-1BP40-2BA0
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents