HEIDENHAIN TNC 335 Technical Manual User Manual
Page 217

4-120
TNC 360
6 Display and Operation
8/95
MP7274
Expanded spindle display
Input values: 0 to 3
Bit 0
Display of current gear range
+0 = No display
+1 = Display
Bit 1
Display of spindle power
+0 = Acquisition via analog input
(Value range 0 to 4.999 [V])
+2 = Acquisition via PLC Word W600
(Value range 0 to 65.535)
MP7275
Reference value of displayed spindle power
for acquisition via analog input
Input range: 0 to 4.999 [V]
for acquisition via PLC Word W600
Input range: 0 to 43 690
MP7275
Value for spindle power display
Example 1: Acquisition via analog input
A voltage of 0 to 4.999 volts is acquired via analog input. The spindle power should be displayed
between 0 and 150 %.
0 [V]
3.333 [V]
4.999 [V]
_________________________________________________
_______________
0%
100 %
150 %
Example 2: Acquisition via PLC Word W600
The information needed to display the spindle power is acquired through the 8 PLC inputs I100 to
I107. Values between 0 and 127 can be acquired. You wish to display the spindle power between 0
and 150 %. The reference value at 100% results as follows:
127
150
x 100 = 84.66
The information is to be evaluated and displayed through the word W600:
Machine parameters:
MP7274 = 2
MP7275 = 85
PLC Program:
.
.
.
LW I100
;Read in the status of the PLC inputs I100 to I107.
A K+255
;Evaluate only the lower 8 bits (PLC inputs)
= W600
;and transfer for the spindle power display.