
2/97 TNC 406/TNC 306 8 Key simulation 4-101
8 Key simulation
Data entry on the HEIDENHAIN contouring controls are made with the TNC keyboard and the
manufacturer's own machine control panel. The two control panels are joined to connectors X23 and
X27 (LE 306) or X45 and X46 (LE406) on the logic unit by a connecting cable (see "Mounting and
Electrical Installation").
The key-code from the TNC-keyboard is directly evaluated by the NC. PLC inputs and outputs for the
machine-control panel are available on connector X27 or X46. These PLC inputs and outputs must be
evaluated by the PLC and the appropriate information passed to the NC.
8.1 TNC-keyboard
The key-code from the TNC-keyboard is directly evaluated by the NC.
The keys on the TNC-keyboard and the soft keys on the BC 110 B can be inhibited by the PLC. With
M2876 the entire alphabetic keyboard can be inhibited. M2877 inhibits the soft-key row and M2878
inhibits the changeover keys to the right of the screen. All other keys can be inhibited selectively
with M2854 to M2923. If an inhibited key is pressed, the NC sets the marker M2182 and deposits
the key-code for the key which was operated in word W274. If a not inhibited key is pressed, the NC
sets the marker M2181 and deposits the key-code for the key which was operated in word W274.
The PLC must reset the markers M2182 or M2181 after evaluating this information.
The keys on the TNC-keyboard and the soft keys on screen can also be simulated by the PLC. To
achieve this the appropriate key-code is entered in Word W516 and activated by the strobe-marker
M2813. After execution of the key-code the NC resets the strobe-marker M2813.
A fixed code has been introduced for certain soft key functions. As with key simulation, this function
is executed by entering the required code in W516 and activating with M2813. The appropriate soft
key function must be displayed in the foreground or background mode for this. With the trailing edge
of M2813 the PLC is told whether the function was properly executed.
Address Function Set Reset
W272 Operating mode
1 = Manual operation
2 = Electronic handwheel
3 = Positioning with manual entry
4 = Program run/single block
5 = Program run/full sequence
7 = Pass over reference point
NC NC
W274 Key-code for the operated, inhibited key or
not inhibited key
NC NC
W516 Word with multiple-function
Key-code for simulating TNC-key
activated by M2813
PLC PLC
M2181 not inhibited key was operated NC PLC
M2182 Inhibited key was operated NC PLC
M2187 Soft key function not executed NC NC
M2813 Activate the key from W516 PLC NC
M2876 Inhibit the alpha keyboard PLC PLC
M2877 Inhibit the soft-key row below the screen PLC PLC
M2878 Inhibit the changeover keys at right of screen PLC PLC
Comentários a estes Manuais