Axis APPINT Uživatelský manuál Strana 14

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 60
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 13
LNC-M8000
Expression
190 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
7.4 FOR
A. Not use INC variables
Method
FOR variables=loop’s initial value or calculating formula TO loop ending value or calculating formula
Data Process;
END_FOR
DescriptionFOR loop.
Example
G0 X0.
FOR #1=11 TO 23
G0 X#1;
END_FOR
M0; /* X axis final movement position 23mm#1 final is 24 */
M30
B. Use INC variables
Method
FOR variables= loop’s initial value or calculating formula TO loop ending value or calculating formula
STEP loop acccumulated value or calculating formula
Data Process;
END_FOR
DescriptionFOR loop.
Example
G0 X0.
FOR #1=11 TO 23 STEP 2
G0 X#1;
END_FOR
M0; /* X axis final movement position 23mm#1 final is 25 */
M30
Zobrazit stránku 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 59 60

Komentáře k této Příručce

Žádné komentáře