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.

Programmation CN flexible 12.97<br />

<br />

840 D<br />

NCU 571<br />

840 D<br />

NCU 572<br />

NCU 573<br />

FM-NC 810D<br />

<br />

DEF INT TABLEAU1[4,5] Programmation directe<br />

DEFINE DIM1 AS 4<br />

DEFINE DIM2 AS 5<br />

DEF INT TABLEAU[DIM1,DIM2]<br />

TABLEAU[DIM1-1,DIM2-1]=5 Programmation indirecte :<br />

Les dimensions <strong>de</strong> tableau sont <strong>à</strong> indiquer<br />

comme valeurs fixes.<br />

<br />

X1=100 X2=200 Programmation directe<br />

DEF AXIS AXVAR1 AXVAR2<br />

AXVAR1=(X1) AXVAR2=(X2)<br />

AX[AXVAR1]=100 AX[AXVAR2]=200<br />

Programmation indirecte :<br />

Définition <strong>de</strong>s variables<br />

Affectation <strong>de</strong>s noms d'axes. Déplacement<br />

<strong>de</strong>s axes consignés dans les variables aux<br />

positions 100, voire 200.<br />

<br />

G2 X100 I20 Programmation directe<br />

DEF AXIS AXVAR1=X<br />

G2 X100 IP[AXVAR1]=20<br />

<br />

Les paramètres R aussi peuvent être compris<br />

comme <strong>de</strong>s tableaux unidimensionnels en notation<br />

abrégée (R10 correspond <strong>à</strong> R[10]).<br />

Programmation indirecte :<br />

Définition et affectation du nom d'axe<br />

Programmation indirecte du centre<br />

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

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

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

Saved successfully!

Ooh no, something went wrong!