7 – 180 HEIDENHAIN Technical Manual TNC 426, TNC 430 
7.15.2 Number Conversion
Module 9050 Conversion of binary numbers → ASCII
Module 9050 converts a binary numerical value consisting of a mantissa and 
exponent to the base of 10 into a decimal number and saves it as a string in 
the specified addressed. The exponent refers to the least significant place of 
the number. The TNC detects a negative number when the mantissa 
corresponds to a negative number in the notation as a two’s complement. The 
TNC sets an algebraic sign only before negative numbers. The control does 
not convert trailing zeros after the decimal point or leading zeros before the 
decimal point. The TNC writes the string left-aligned in the string address that 
you specify.
Constraints:
The decimal character is defined by machine parameter MP7280 as a comma 
(MP7280 = 0) or a period (MP7280 = 1).
Call:
PS B/W/D/K <Mantissa of the number to be converted>
PS B/W/D/K <Exponent to the base of 10 of the value>
PS B/W/D/K <String address in which the TNC saves the ASCII-coded
decimal number>
CM 9050
Error recognition:
Marker Value Meaning
M4203 0 Number was converted
1 For error see W1022
W1022 2 Invalid string address or invalid exponent