Axis APPINT Instrukcja Użytkownika Strona 56

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 60
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 55
LNC-M8000
Variables
232 寶元數控精密股份有限公司
LNC Technology Co., Ltd.
50006 whether booting or pressing RESET.
@6000 ~ @6999System global variables range, suitable for all path system MACRO, value clear will be
determined by pressing RESET.
9.3 Local variables and global variables BIT Function Usage Description
You may need to have a lot of tags to help MACRO procedure judge, this tag will use a lot of local
variables,therefore we provide local/global variable BIT to help you solve this problem, example as below
BIT usage format =#i.j, also in the i=variables number rangej=2 digitsValue range=00~31
#1.00 =>Means#1 Bit0
#1.03 => Means #1 Bit3
#1.3or #1.30=> Means #1 Bit30
#1.32=>Bit uses over 32 apponts, system will show alarmMACRO variables numbers is over range.
#(1+0.31)=># Parentheses do not support Bit, left side means #1
#1=123 => Left side means #1 appointed value 123
#1.00=123 =>Bit operation, right side is bigger than 0=True. Left side means #1 appointed value 1
#1.02=456=> Bit operation, right side is bigger than 0=True. Left side means #1 appointed value 4
#3 = #1.02 =>#3 appointed =#1 Bit2. Left side means #3 appointed value 1
#3.04 = #1.02 =>#3 Bit4 appointed =#1 Bit 2. Left side means#3 appointed value 16
#1= R_REG(5) =>If R[5]=123. Left side means#1appointed value 123
#1.00= R_REG(5) => If R[5]=123. Left side means #1 appointed value 1
#1.02= R_REG(5) => If R[5]=123. Left side means #1 appointed value 4
#3 = R_REG_BIT(5,2) => If R[5]=5, #3 appointed=R[5] Bit2. Left side means #3 appointed value1
#3.04 = R_REG_BIT(5,2) => If R[5]=5, #3 Bit4 appointed =R[5] Bit2. Left side means #3 appointed value
16
9.4 Note
Betweem "/*" and "*/" , those input will be canceled.
Example
/* test1 */;
G00 X10. /* test 2 */;
/* test3 */ G01 Y20.;
G01 X10. Y20.; /* test
Przeglądanie stron 55
1 2 ... 51 52 53 54 55 56 57 58 59 60

Komentarze do niniejszej Instrukcji

Brak uwag