14.07.2013 Views

5.6 Mesure étendue MEASA, MEAWA, MEAC (à partir de SW 4

5.6 Mesure étendue MEASA, MEAWA, MEAC (à partir de SW 4

5.6 Mesure étendue MEASA, MEAWA, MEAC (à partir de SW 4

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

12.97 Frames<br />

<br />

840 D<br />

NCU 571<br />

840 D<br />

NCU 572<br />

NCU 573<br />

<br />

FM-NC 810D<br />

<br />

<br />

MEAFRAME calcul d'un frame <strong>à</strong> <strong>partir</strong> <strong>de</strong> 3 points mesurés dans l'espace<br />

IDEAL_POINT tableau Real <strong>à</strong> 2 dim. qui contient les 3 coordonnées <strong>de</strong>s points idéaux<br />

MEAS_POINT tableau Real <strong>à</strong> 2 dim. qui contient les 3 coordonnées <strong>de</strong>s points mesurés<br />

FIT_QUALITY variable Real qui fournit les informations suivantes :<br />

-1: Les points idéaux se trouvent approximativement sur une droite :<br />

Le frame n'a pas pu être calculé. La variable frame en retour<br />

contient un frame neutre.<br />

-2: Les points mesurés se trouvent approximativement sur une droite :<br />

Le frame n'a pas pu être calculé. La variable frame en retour<br />

contient un frame neutre.<br />

-4: Le calcul <strong>de</strong> la matrice <strong>de</strong> rotation est impossible pour une autre<br />

raison<br />

valeur positive :<br />

Somme <strong>de</strong>s distorsions (écarts entre les points)<br />

nécessaire pour passer du triangle mesuré <strong>à</strong> un triangle<br />

congruent au triangle idéal.<br />

<br />

Programme pièce 1<br />

;<br />

DEF FRAME CORR_FRAME<br />

;<br />

; Définition <strong>de</strong>s points<br />

DEF REAL IDEAL_POINT[3,3] = SET(10.0,0.0,0.0, 0.0,10.0,0.0, 0.0,0.0,10.0)<br />

DEF REAL MEAS_POINT[3,3] = SET(10.1,0.2,-0.2, -0.2,10.2,0.1, -0.2,0.2, 9.8); pour test<br />

DEF REAL FIT_QUALITY = 0<br />

;<br />

DEF REAL ROT_FRAME_LIMIT = 5; décalage angulaire maxi <strong>de</strong> la position <strong>de</strong> la pièce : 5 o<br />

DEF REAL FIT_QUALITY_LIMIT = 3; décalage maxi <strong>de</strong> 3 mm entre le triangle idéal ;<br />

et le triangle mesuré<br />

DEF REAL SHOW_MCS_POS1[3]<br />

DEF REAL SHOW_MCS_POS2[3]<br />

DEF REAL SHOW_MCS_POS3[3]<br />

; =======================================================<br />

© Siemens AG 1997 All rights reserved.<br />

SINUMERIK 840D/810D/FM-NC Manuel <strong>de</strong> programmation Notions complémentaires (PGA) - Edition 12.97 6-205

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

Saved successfully!

Ooh no, something went wrong!