Example: Application Of The Second Gear-Stage Data Block; Example: Speed Is Not Programmed, The Gearbox Stage Is Monitored; Example: Gearbox Stage Cannot Be Changed, Gearbox Stage Monitoring - Siemens SINUMERIK 840D Function Manual

Mc axes and spindles
Hide thumbs Also See for SINUMERIK 840D:
Table of Contents

Advertisement

S1: Spindles
18.2 Operating modes
18.2.8.5

Example: Application of the second gear-stage data block

The switching thresholds of the second gear-stage data block for the maximum and minimum
speed are evaluated for G331/G332 and when programming an S value for the active master
spindle. Automatic M40 gear-stage change must be active. The gear stage as determined in the
manner described above is compared with the active gear stage. If they are found to be
different, then the gearbox stage is changed.
Program code
N05 M40 S500
...
N50 G331 S800
N55 SPOS=0
N60 G331 Z-10 K5
18.2.8.6

Example: Speed is not programmed, the gearbox stage is monitored

If no speed is programmed when using the second gearbox stage data block with G331, then
the last speed programmed will be used to produce the thread. The gear stage does not
change. However, monitoring is performed in this case to check that the last speed
programmed is within the preset speed range (defined by the maximum and minimum speed
thresholds) for the active gear stage. Otherwise, alarm 16748 is output.
Program code
N05 M40 S800
...
N55 SPOS=0
N60 G331 Z-10 K5
18.2.8.7

Example: Gearbox stage cannot be changed, gearbox stage monitoring

If the spindle speed is programmed in addition to the geometry in the G331 block when using
the second gear-stage data block, if the speed is not within the preset speed range (defined by
the maximum and minimum speed thresholds) of the active gear stage, it will not be possible
to change gear stages, because the path motion of the spindle and the infeed axis (axes) would
not be retained.
As in the example above, the speed and gearbox stage are monitored in the G331 block and
alarm 16748 is signaled if necessary.
Program code
N05 M40 S500
...
N55 SPOS=0
766
Comment
; Programmed spindle speed: 500 rpm
; Master spindle: Gearbox stage 2 is selected
; Position the spindle
; Tapping
; Spindle acceleration from second gearbox stage data block 2
Comment
; Programmed spindle speed: 800 rpm
; Position the spindle
; Tapping
; Monitoring the spindle speed, 800 rpm
; Gearbox stage 1 is active
; Gearbox stage 2 should be active => Alarm 16748
Comment
; Programmed spindle speed: 500 rpm =>
; Gearbox stage 1
; Position the spindle
Axes and spindles
Function Manual, 06/2019, A5E47437747B AA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents