Spindle-orientation, 3 spindle orientation – HEIDENHAIN TNC 335 Technical Manual User Manual
Page 190

8/95
TNC 360
4 Spindle
4-93
4.3 Spindle orientation
In order to use the TNC on machines with automatic tool changers an orientation of the spindle (S
axis) is necessary. The orientation is carried out by a miscellaneous function M19 or another M
function and must be initiated by the PLC program. MP3010 determines whether the control
operates with or without spindle orientation.
Spindle-orientation sequence
In normal operation the spindle is not in the position control loop. If the miscellaneous function M19
is activated, marker M2712 (Strobe - spindle orientation) must be set by the PLC program and the
spindle must be switched off. The spindle is driven down the ramp from MP3410.1 to the spindle
speed from MP3520.1. An orientation does not begin until marker M2499 has been reset. When
this spindle speed has been reached, the spindle is under the control of the position control loop and
oriented to the set position of D592, along the ramp of MP3410.1.
During a spindle orientation from a stop position the shortest path is followed, provided the start
position of the spindle is in the positioning window (MP3430). If the start position is outside the
positioning window, then the positioning is carried out according to markers M2656 and M03 or
M04.
If the spindle does not have to remain in the position control loop after reaching the set position,
then the marker M2499 must be set. The spindle is only freed when this marker has been set by the
PLC . If M2499 is set continuously the control loop will be opened immediately after every
orientation, when the positioning window has been reached.
MP3410.1
Ramp slope of the analog voltage for spindle orientation
Input value: 0 to 1.999 [V/ms]
MP3520.1
Spindle speed for spindle orientation
Input value: 0 to 99 999.999 [rpm]
Set
Reset
M2656
Spindle orientation from stop
PLC
PLC
0 = Orientation with M03
1 = Orientation with M04
M2499
Open spindle control loop
PLC
PLC
M2712
Activate PLC positioning
PLC
NC
for spindle orientation
D592
Position spindle orientation
(Strobe M2712)