Update information no. 13, New functions in the plc – HEIDENHAIN TNC 306 Technical Manual User Manual
Page 489

1/98
TNC406/TNC 306
1-1
Update Information No. 13
Software version 7 for the TNC 406 was released at the end of December 1998.
The new software version introduces the following new features:
1. New Functions in the PLC
1.1 Note! Changed key codes for the disabling, enabling and simulating of keys!
All PLC programs that use the previous key codes must be changed! The old key codes are no
longer available! The new key codes are the same as those of the TNC 426/TNC 430.
The markers for the disabling, enabling and simulating of keys have been eliminated and the
following modules have been introduced:
Module 9180 key simulation,
Module 9181/9183 disabling of individual keys/groups of keys,
Module 9182/9184 enabling of individual keys/groups of keys.
The module calls must be programmed as follows:
Key simulation
PS B/W/D/K
CM 9180
PL B/W/D
0: PLC key code was accepted and the key was simulated
1-16: PLC key(s) have not yet been simulated
-1: Key code > maximum value
-2: Key code invalid
-3: Key queue overrun
M3171 = 0 if module execution was successful, 1 if not
Disabling of individual NC keys by the PLC
PS B/W/D/K
CM 9181
PL B/W/D
0: NC key was disabled
-1: Key code > maximum value
-2: Key code invalid
M3171 = 0 if module execution was successful, 1 if not
Enabling of individual NC keys by the PLC
PS B/W/D/K
CM 9182
PL B/W/D
0: NC key was enabled
-1: Key code > maximum value
-2: Key code invalid
M3171 = 0 if module execution was successful, 1 if not