13 ex emples de pr ogr a mmation – HEIDENHAIN TNC 640 (34059x-01) Manuel d'utilisation

Page 330

Advertising
background image

330

Programmation: Paramètres Q

8.13 Ex

emples de pr

ogr

a

mmation

39 LBL 2

40 LP PR+Q6 PA+Q24 FQ12

Aborder l'„arc” vers le haut

41 FN 2: Q24 = +Q24 - +Q14

Actualiser l’angle dans l'espace

42 FN 11: IF +Q24 GT +Q5 GOTO LBL 2

Question: arc terminé ?. Si non, saut au LBL 2

43 LP PR+Q6 PA+Q5

Aborder l'angle final dans l’espace

44 L Z+Q23 R0 F1000

Dégager l'outil dans l’axe de broche

45 L X+Q26 R0 FMAX

Prépositionnement pour l’arc suivant

46 FN 1: Q28 = +Q28 + +Q18

Actualiser la position angulaire dans le plan

47 FN 0: Q24 = +Q4

Annuler l'angle dans l'espace

48 CYCL DEF 10.0 ROTATION

Activer nouvelle position angulaire

49 CYCL DEF 10.0 ROT+Q28

50 FN 12: IF +Q28 LT +Q9 GOTO LBL 1

51 FN 9: IF +Q28 EQU +Q9 GOTO LBL 1

Question: continuer usinage ?. Si oui, saut au LBL 1

52 CYCL DEF 10.0 ROTATION

Annuler la rotation

53 CYCL DEF 10.1 ROT+0

54 CYCL DEF 7.0 POINT ZÉRO

Annuler le décalage du point zéro

55 CYCL DEF 7.1 X+0

56 CYCL DEF 7.2 Y+0

57 CYCL DEF 7.3 Z+0

58 LBL 0

Fin du sous-programme

59 END PGM SPHÈRE MM

Advertising