Converting A Numerical Value To A String Parameter - HEIDENHAIN TNC 640 User Manual

Hide thumbs Also See for TNC 640:
Table of Contents

Advertisement

10

Converting a numerical value to a string parameter

With the TOCHAR function, the control converts a numerical value
into a string parameter. This enables you to chain numerical values
with string variables.
Show the soft-key row with special functions
Open the function menu
Press the String functions soft key
Press the STRING FORMULA soft key
Select the function for converting a numerical
value to a string parameter
Enter the number or the desired Q parameter to
be converted by the control, and confirm with
the ENT key
If desired, enter the number of digits after the
decimal point that the control should convert,
and confirm with the ENT key
Close the parenthetical expression with the ENT
key and confirm your entry with the END key
Example: Convert parameter Q50 to string parameter QS11, use
3 decimal places
N37 QS11 = TOCHAR ( DAT+Q50 DECIMALS3 )
436
Programming Q Parameters | String parameters
HEIDENHAIN | TNC 640 | ISO Programming User's Manual | 10/2017

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 640 5e

Table of Contents