Siemens SINUMERIK 828D Programming Manual page 93

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

Advertisement

Example
S1 is the master spindle, S2 is the second spindle. The part is to be machined from two
sides. To do this, it is necessary to divide the operations into steps. After the cut-off point,
the synchronizing device (S2) takes over machining of the workpiece after the cut off. To do
this, this spindle S2 is defined as the master spindle to which G95 then applies.
Program code
N10 S300 M3
...
N100 SETMS(2)
N110 S400 G95 F...
...
N160 SETMS
Further information
Interpretation of the S-value for the master spindle
If function G331 or G332 is active in G function group 1 (modally valid motion commands),
the programmed S-value will always be interpreted as the speed in rpm. Otherwise, the
interpretation of the S-value will depend upon G function group 15 (feedrate type): If G96,
G961 or G962 is active, the S-value is interpreted as a constant cutting rate in m/min;
otherwise, it is interpreted as a speed in rpm.
Changing from G96/G961/G962 to G331/G332 sets the value of the constant cutting rate to
zero; changing from G331/G332 to a function within the G function group other than
G331/G332 sets the speed value to zero. The corresponding S-values have to be
reprogrammed if required.
Preset M commands M3, M4, M5
In a block with axis commands, functions M3, M4, M5 are activated before the axis
movements commence (basic setting on the control).
Fundamentals
Programming Manual, 07/2010, 6FC5398-1BP40-0BA0
6.1 Spindle speed (S), direction of spindle rotation (M3, M4, M5)
Comment
; Speed and direction of rotation for drive spindle =
preset master spindle
; Machining of the right-hand workpiece side
; S2 is now the master spindle
; Speed for new master spindle
; Machining of the left-hand workpiece side
; Switching back to master spindle S1
Spindle motion
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents