Function Manual
156 01/2017
Brief description
Spindle functions
Depending on the machine type the following functions are possible for a spindle controlled by the NC:
● Input of a direction of rotation for the spindle (M3, M4)
● Input of a spindle speed (S)
● Spindle stop, without orientation (M5)
● Spindle positioning (SPOS=)
(position-controlled spindle required)
● Gear change (M40 to M45)
● Thread cutting/tapping (G33, G34, G35, G331, G332, G63)
● Revolutional feedrate (G95)
● Constant cutting rate (G96)
● Position encoder assembly on the spindle or on the spindle motor
● Spindle monitoring for min. and max. speed.
● Dwell time in spindle revolutions (G4 S)
An "enabled" spindle can be used instead of a controlled spindle. However, a spindle speed (S) is then
entered via the
program but, for example, manually (gearbox) at the machine. This does not permit programming of speed limits. The
following is possible via the program:
● Input of a direction of rotation for the spindle (M3, M4)
● Spindle stop, without orientation (M5)
● Tapping (G63)
If the spindle has a position encoder, the following functions are also available:
● Thread cutting/tapping (G33, G34, G35)
● Revolutional feedrate (G95)
If the spindle is enabled, the setpoint output for the spindle via MD30130 CTRLOUT_TYPE = 0 must be suppressed.
Definition of the spindle
A machine axis is declared a spindle by setting the following machine data:
● MD30300 IS_ROT_AX
● MD30310 ROT_IS_MODULO
● MD30320 DISPLAY_IS_MODULO
● MD35000 SPIND_ASSIGN_TO_MACHAX.
The IS "Spindle/no axis" reports the spindle mode (DB390x.DBX0000.0).
Spindle modes
Spindle modes
The spindle can have the following modes:
● Control mode, see Section "Spindle control mode (Page 157)"
● Oscillation mode, see Section "Spindle oscillation mode (Page 158)"