Siemens SINUMERIK 828D Programming Manual page 94

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Spindle motion
6.1 Spindle speed (S), direction of spindle rotation (M3, M4, M5)
Example:
Program code
N10 G1 F500 X70 Y20 S270 M3
N100 G0 Z150 M5
Note
Machine data can be used to set when axis movements should be executed; either once the
spindle has powered up to the setpoint speed, or immediately after the programmed
switching operations have been traversed.
Working with multiple spindles
5 spindles (master spindle plus 4 additional spindles) can be available in one channel at the
same time.
One of the spindles is defined in machine data as the master spindle. Special functions such
as thread cutting, tapping, revolutional feedrate, and dwell time apply to this spindle. For the
remaining spindles (e.g. a second spindle and an actuated tool) the numbers corresponding
to the speed and the direction of rotation/spindle stop must be specified.
Example:
Program code
N10 S300 M3 S2=780 M2=4
Programmable switchover of master spindle
The
master spindle.
Example:
Program code
N10 SETMS (2)
Note
The speed specified with
apply to the newly declared master spindle.
If
SETMS
machine data is used instead.
94
command can be used in the NC program to define any spindle as the
SETMS(<n>)
must be in a separate block.
SETMS
Comment
; Spindle 2 is now the master spindle.
S...
is programmed without a spindle name, the master spindle programmed in the
Comment
; The spindle ramps up to 270 rpm, then the
movements are executed in X and Y.
; Spindle stop before the retraction movement
in Z.
Comment
; Master spindle: 300 rpm, CW rotation
2nd spindle: 780 rpm, CCW rotation
, along with the functions programmed with
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
,
,
, now
M3
M4
M5
Fundamentals

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents