HEIDENHAIN SHB Data Interfaces for HEIDENHAIN User Manual
Page 40

April 2010
6 – 41
Program end and program start
The control characters for "program end" and "program start" are defined in MP 71 (5010.0).
MP 71 (5010.0)LSB: Bit 0 - 7 = character for program end
MSB: Bit 8 - 15 = character for program start
In the example, the standard values "ETX" and "STX" are used, i.e. MP 71 = 515.
For serial data transfer only the character for program end is transmitted (in our example
"MP 71 = 3" would be sufficient for "ETX").
Both characters - program start and program end - are only sent with blockwise transfer.
(In our example "MP 17 = 515" would be required for "STX" and for "ETX".)
To select the characters for program start and program end via MP 71, the RS-232-C interface
must be set to "EXT" mode.
In the "FE" and "ME" modes the control characters "ETX" and "STX" are automatically set,
i.e. MP 71 must be 515.
In old control models (TNC 150; TNC 151 A/P; TNC 155 A/P) the machine parameter MP 71
is always active.
Machine parameters of TNC 145 C and TNC 150
MP 70:
Decimal point or comma
ON
= decimal point
OFF
= decimal comma
If numerical values in programs are to be output with decimal points, the parameter MP 70 must
be programmed ON; if output with decimal comma is required, it must be programmed OFF.
MP 71:
Character for end of program 1 - 126
MP 76:
By means of the parameter 71 (TNC 159) or 76 (TNC 145 C) an additional ASCII character for
"program end" can be selected for remote programming. The input depends on the significance
of the character and is derived from the pattern on the punched tape (without parity bit).
MP 92:
Decimal point or comma
0 = decimal comma
1 = decimal point
If numerical values in programs are to be output with decimal points, the parameter MP 70 must
be programmed ON; if output with decimal comma is required, it must be programmed OFF.
Operating mode of the data interface
The operating mode of the data interface is defined in the machine parameter MP 223 (5030).
MP 223 (5030)
0 = blockwise transfer inactive
1 = blockwise transfer active