Axis APPINT Instrukcja Użytkownika Strona 42

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 60
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 41
LNC-M8000
Function
218 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
TYPE =>Type, value range****, unitN/A.
0: Compare1, unit=mm
1: Compare2, unit=mm
VALUE =>Write info, value range0 ~ 2147483647, unitN/A
Reply
N/A
Example
BKCMP(0,1,0.123); /* Appoint SBK compare2=0.123mm */
8.11 MACRO variables stack function
PUSH(VALUE)
Push to MACRO Variable Stack
W
Description
Maximum stack amount=50
VALUE =>Write info, value rangedouble, unitN/A
Reply
N/A
Example
#1=1.234
#2=5.678
STKCLR(); /* clear stacking info */
PUSH(#1); /* push #1 variables to MACRO variables to stack, amount=1 */
PUSH(#2); /* push #2 variables to MACRO variables to stack, amount=2*/
#11=STKTOP(0); /* check 1 MACRO variables stack info, #11=5.678, amount=2*/
#12=STKTOP(1); /* check 2 MACRO variables stack info, #12=1.234, amount=2*/
#13=STKTOP(2); /* check 3 MACRO variables stack info,alarm #13=VACANT, amount=2*/
#21=POP(); /* withdraw MACRO variables stack last data, #21=5.678, amount=1*/
#22=POP(); /* withdraw MACRO variables stack last data, #22=1.234, amount =0*/
#23=POP(); /* MACRO variables stack has no data, #23=VACANT, amount =0*/
POP( )
Pop info from MACRO variables stack
R
Description
N/A
Reply
Withdraw MACRO variables stack last data, this data will be deleted from the stack, unitN/A
VACANT => MACRO variables stack has no data.
Example
Refer to PUSH function example
STKTOP(0)=>5.67
8
STKTOP(1)=>1.23
4
Stack
Head
Stack Tail
PUSH()
POP()
Przeglądanie stron 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 59 60

Komentarze do niniejszej Instrukcji

Brak uwag