1 analogue output of the spindle speed, 1 direction of spindle rotation – HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 220
![background image](https://www.manualsdir.com/files/815340/content/doc220.png)
4-95
4.1 Analogue output of the spindle speed
For analogue output of the spindle speed (S-analogue) spindle speeds can be programmed from 0 to
99 999.999 rpm. The programmed spindle speed is available as an analogue DC-voltage of 0 to 10 V
on connector X8 of the logic unit. In addition, gear change signals can be assigned to any PLC-
outputs by the PLC program.
For S-analogue the value 991 must be entered in the machine parameter MP3020!
If the control is operating with S-analogue, marker M2042 is set. The programmed spindle speed is
stored in D356 in 1/1 000 [rpm]. The nominal spindle speed is stored in Word W320 in rpm. The
actual spindle speed is stored in Word W322 in rpm.
Marker
Function
Set
Reset
M2042
Analogue output of the spindle speed
NC
NC
D356
Programmed spindle speed
NC
NC
W320
Nominal spindle speed
NC
NC
W322
Actual spindle speed
NC
NC
4.1.1 Direction of spindle rotation
The polarity of the S-analogue voltage is defined by machine parameter MP3130. The count direction
of the measuring system signals for the spindle is defined in MP3140. The direction of spindle
rotation can be reversed by setting marker M2489, i.e. polarity is inverted. This can become
necessary, for example, when shifting spindle transmission between horizontal and vertical.
The S-analogue voltage appears at the output as soon as the marker M2485 for M03 or M2486 for
M04 is set. At the same time the miscellaneous function is displayed in the status window of the
control (see section "Display and operation"). Marker M2487 turns off the analogue voltage and
displays M05.
If more than one of the markers M2485 to M2487 is set at the same time, this will release the
flashing error message
"Error in PLC-program 1Q"
Marker M2608 can be used to remove the spindle-enable, at the same time M03, M04 or M05 is
displayed inversely. The S-analogue voltage will then go to 0 V.
MP3130
Polarity of the S-analogue voltage
Entry: 0 to 3
0 =M03 positive voltage
M04 negative voltage
1 =M03 negative voltage
M04 positive voltage
2 =M03 and M04 positive voltage
3 =M03 and M04 negative voltage