beautypg.com

Key simulation, Tnc keyboard, 8 key simulation – HEIDENHAIN TNC 335 Technical Manual User Manual

Page 238: 1 tnc keyboard

background image


8/95

TNC 360

8 Key Simulation

4-141

8 Key Simulation

The HEIDENHAIN contouring control is operated through the keys on the TNC keyboard (TE 355)
and the manufacturer's own machine control panel. The two control panels are joined to connectors
X23 and X27 on the logic unit by a connecting cable (see Chapter "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 . 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.

All keys on the TNC keyboard can be inhibited by the PLC with M2855 to M2923. If an inhibited key
is pressed, the NC sets the marker M2182 and stores the corresponding key code in Word W274.
The PLC must reset the marker M2182 after evaluating this information.

The keys on the TNC keyboard 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. For a key simulation the operating mode can
be taken from W272.

Set

Reset

W272

Operating mode
0 = Programming and editing
1 = Manual operation
2 = Electronic handwheel
3 = Positioning with manual entry
4 = Program run/single block
5 = Program run/full sequence
6 = Test run
7 = Pass over reference point

NC

NC

W274

Key code for the operated, inhibited key,
Signal via M2182

NC

NC

W516

Word with multiple function
Key code for simulation of TNC keys
Activate with M2813

PLC

PLC

S

R

M2182

Inhibited key was operated

NC

PLC

M2813

Activate the key from W516

PLC

NC