beautypg.com

1 0 str ing p a ra met e rs – HEIDENHAIN iTNC 530 (340 49x-04) User Manual

Page 641

background image

HEIDENHAIN iTNC 530

641

1

1

.1

0 Str

ing P

a

ra

met

e

rs

You can use the following formats to display the date:

„

0: DD.MM.YYYY hh:mm:ss

„

1: D.MM.YYYY h:mm:ss

„

2: D.MM.YYYY h:mm

„

3: D.MM.YY h:mm

„

4: YYYY-MM-DD- hh:mm:ss

„

5: YYYY-MM-DD- hh:mm

„

6: YYYY-MM-DD h:mm

„

7: YY-MM-DD- h:mm

„

8: DD.MM.YYYY

„

9: D.MM.YYYY

„

10: D.MM.YY

„

11: YYYY-MM-DD

„

12: YY-MM-DD

„

13: hh:mm:ss

„

14: h:mm:ss

„

15: h:mm

Example: read out the current system time in the format
DD.MM.YYYY hh:mm:ss, and save it in parameter QS13.

Example: save the current system time with FN18 in parameter
Q5, and then convert the contents of parameter Q5 into the date
format DD.MM.YYYY hh:mm:ss.

37 QS13 = SYSSTR ( ID321 NR0 LEN4 )

37 Q5 = FN18 ( ID321 NR0 LEN4 )

38 QS13 = SYSSTR ( ID321 NR0 LEN4 )