1 0 p a ra metr i str ing a – HEIDENHAIN iTNC 530 (340 49x-04) Manuale d'uso

Pagina 643

Advertising
background image

HEIDENHAIN iTNC 530

643

1

1

.1

0 P

a

ra

metr

i str

ing

a

Per la formattazione della data si possono impiegare i seguenti
formati:

„

0: gg.mm.aaaa hh:mm:ss

„

1: g.mm.aaaa h:mm:ss

„

2: g.mm.aaaa h:mm

„

3: g.mm.aa h:mm

„

4: aaaa-mm-gg- hh:mm:ss

„

5: aaaa-mm-gg hh:mm

„

6: aaaa-mm-gg h:mm

„

7: aa-mm-gg h:mm

„

8: gg.mm.aaaa

„

9: g.mm.aaaa

„

10: g.mm.aa

„

11: aaaa-mm-gg

„

12: aa-mm--gg

„

13: hh:mm:ss

„

14: h:mm:ss

„

15: h:mm

Esempio: Leggere l'ora di sistema attuale nel formato
gg.mm.aaaa hh:mm:ss e memorizzarla nel parametro QS13.

Esempio: Memorizzare l'ora di sistema attuale con FN18 nel
parametro Q5, poi convertire il contenuto del parametro Q5 nel
formato data gg.mm.aaaa hh:mm:ss.

37 QS13 = SYSSTR ( ID321 NR0 LEN4 )

37 Q5 = FN18 ( ID321 NR0 LEN4 )

38 QS13 = SYSSTR ( ID321 NR0 LEN4 )

Advertising