06.08.2013 Views

Benutzer-Handbuch iTNC 530 (340 49x-xx) de - heidenhain

Benutzer-Handbuch iTNC 530 (340 49x-xx) de - heidenhain

Benutzer-Handbuch iTNC 530 (340 49x-xx) de - heidenhain

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

11.9 Parametri stringa<br />

Conversione di un valore numerico in un<br />

parametro stringa<br />

Con la funzione TOCHAR il TNC converte un valore numerico in un<br />

parametro stringa. In questo modo si possono concatenare valori<br />

numerici con variabili stringa.<br />

8 Selezione <strong>de</strong>lle funzioni parametriche Q<br />

8 Selezionare la funzione STRING FORMEL<br />

8 Selezionare la funzione per convertire un valore<br />

numerico in un parametro stringa<br />

8 Inserire il numero o il parametro Q che il TNC <strong>de</strong>ve<br />

convertire, confermare con il tasto ENT<br />

8 Se si vuole, inserire il numero di cifre <strong>de</strong>cimali che il<br />

TNC <strong>de</strong>ve convertire, confermare con il tasto ENT<br />

8 Chiu<strong>de</strong>re l’espressione tra parentesi con il tasto ENT e<br />

terminare l’inserimento con il tasto END<br />

Esempio: Convertire il parametro Q50 nel parametro stringa<br />

QS11, impiegare 3 cifre <strong>de</strong>cimali<br />

N37 QS11 = TOCHAR ( DAT+Q50 DECIMALS3 )<br />

536 11 Programmazione: Parametri Q

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!